Thema: Delphi DLL+HWND

Einzelnen Beitrag anzeigen

Benutzerbild von wolfsblut
wolfsblut

Registriert seit: 25. Okt 2004
Ort: Anrode
20 Beiträge
 
Delphi 7 Professional
 
#3

Re: DLL+HWND

  Alt 17. Jun 2005, 14:55
Hi,

Zitat von Bernhard Geyer:
GetWindowThreadProcessId
Sorry falls meine Frage eher unverständlich war.
Die OH sagt:

The GetWindowThreadProcessId function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window. This function supersedes the GetWindowTask function.

DWORD GetWindowThreadProcessId(

HWND hWnd, // handle of window <~~ da will ich ran
LPDWORD lpdwProcessId // address of variable for process identifier
);

Parameters

hWnd

Identifies the window.

lpdwProcessId

Points to a 32-bit value that receives the process identifier. If this parameter is not NULL, GetWindowThreadProcessId copies the identifier of the process to the 32-bit value; otherwise, it does not.

Gibts sone Funktion???

mfg
Michael
  Mit Zitat antworten Zitat