"Jay" <patelj27b...gmail.comwrote in message
news:1161878064.614969.80020...m73g2000cwd.googlegro ups.com...
Quote: Originally Posted by Hey There, Is it possible to get an unique identifier for a desktop that a particular app is running from, from a service? If there are two |
How are you identifying a "particular app"? By .exe name? By window title?
OpenInputDesktop, or else EnumDesktops and EnumDesktopWindows should let you
find a desktop handle for the desktop. Then
GetUserObjectInformation can get you the unique name.
Quote: Originally Posted by instances of the app running on different desktops (one desktop is locked, the other is in use) then the service should have different values for each one. > Thanks, Jay (patelj27b at gmail dot com) > |
benvoigt
| Thu, 03 Jan 2008 17:26:00 GMT |