Re: GetWinFileName
- From: Geoffrey Summerhayes <sumrnot@xxxxxxxxx>
- Date: Wed, 7 May 2008 13:35:40 -0700 (PDT)
On May 6, 5:30 pm, battles <batt...@xxxxxxxxxxxxxx> wrote:
Thanks. I tried using this also without enuming through every
process, but I couldn't figure out how to setup the GetModuleFileName
statement with the handle that has been passed.
Given a window handle you should be able to get to the
filename with just:
GetWindowThreadProcessId
OpenProcess
GetModuleFileNameExA
CloseHandle
---
Geoff
.
- Follow-Ups:
- Re: GetWinFileName
- From: battles
- Re: GetWinFileName
- References:
- GetWinFileName
- From: battles
- Re: GetWinFileName
- From: Geoffrey Summerhayes
- Re: GetWinFileName
- From: battles
- GetWinFileName
- Prev by Date: Re: How to represent the letter phi
- Next by Date: Re: How to represent the letter phi
- Previous by thread: Re: GetWinFileName
- Next by thread: Re: GetWinFileName
- Index(es):
Relevant Pages
|