Re: Program Name From Handle
- From: "James Brown" <dont_bother>
- Date: Wed, 9 Nov 2005 21:24:04 -0000
from the Platform SDK:
GetModuleFileNameEx
defined in psapi.h, link with psapi.lib
James
--
www.catch22.net
Free win32 software, sourcecode and tutorials
"Charlie Parker" <CharlieParker@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EB7314AE-728F-4051-A12A-DB84824C0688@xxxxxxxxxxxxxxxx
> Given a Windows Handle, how do I find out the full path to the program
> name
> that was run?
>
> E.g. if the handle is for NotePad, then it should give me
> "c:\windows\system32\notepad.exe".
>
> Thanks.
>
> Charlie Parker
> cparker@xxxxxxxxxxxxxxxxxx
>
.
- Prev by Date: How do I find out about the "HEAP_SEGMENT" memory management algorithm in Vista
- Next by Date: Re: Program Name From Handle
- Previous by thread: WHQLing a USB mass storage filter driver
- Next by thread: Re: Program Name From Handle
- Index(es):
Relevant Pages
|
Loading