Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 31-03-2009
Member
 
Join Date: Feb 2009
Posts: 117
"Stealth" functions of the Windows API

Hello,

I want to retrieve information displayed by an (other) Windows GUI application that runs on my PC.

I wonder about stealth functions provided by the Windows API, I do not want this external application to detect that I collect information about its objects windows!

It seems to me that the use of functions such as GetWindowInfo, GetWindowText will add messages to the external application of a human user would not have generated.

Do you have any ideas to avoid this problem? How do I know if a function of the API is "stealth" or not?
Reply With Quote
  #2  
Old 31-03-2009
Member
 
Join Date: Mar 2008
Posts: 258
Re: "Stealth" functions of the Windows API

Have you used GetWindowInfo () method to send a message to the window?
Reply With Quote
  #3  
Old 31-03-2009
Member
 
Join Date: Jan 2006
Posts: 211
Re: "Stealth" functions of the Windows API

There are many APIs that send some messages to windows (I think) but apart from abusing the window with SendMessage I do not think there have a means to differentiate between the user and another application (and Windows, which uses the Windows API to manage the windows ...).

But conversely, why you worry about that?
Reply With Quote
  #4  
Old 31-03-2009
Member
 
Join Date: Feb 2009
Posts: 117
Re: "Stealth" functions of the Windows API

Thank you for your interest.

I think you're right (GetWindowInfo () does not send a message).

But as regards GetWindowText (), I must replace it with a consignment of WM_GETTEXT message (see MSDN). I believe the overall performance of the functions of the windowing API add a message to the tail of the application will be handled by a callback function. This feature may well increment a counter to see if the application is requested by a non-human user!
Reply With Quote
  #5  
Old 31-03-2009
Member
 
Join Date: Mar 2008
Posts: 258
Re: "Stealth" functions of the Windows API

Accessibility software (such as speech) are the GetWindowText () also, you know ...

There are too many things that make calls GetWindowText () so that software can afford to count this as a problem.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: ""Stealth" functions of the Windows API"
Thread Thread Starter Forum Replies Last Post
Card reader error "Device can?t start code 10" "WPD file system volume driver" in windows 7 Musharat Operating Systems 4 12-02-2011 07:10 AM
Error code: 0x80070035 Windows cannot access \\"networkpath"\"foldername" WYNNn Networking & Security 5 16-01-2011 07:26 PM
<input type="button" value="Enregistrer" onclick="location.href=../asp/PRaces.asp"> Luz Software Development 6 18-05-2010 12:27 AM
Free Download "Vista Commands" Gadget offering shortcuts for 10 core functions of Vista EricTheRed Tips & Tweaks 0 09-12-2008 06:10 PM
Windows Media Player "sync" problem -- files with status "stopped" Theodore Long Media Player 1 15-11-2007 02:13 PM


All times are GMT +5.5. The time now is 12:00 AM.