CWindow::GetWindowProcessID

Ruft den Bezeichner des Prozesses ab, der das Fenster erstellt wurde.

DWORD GetWindowProcessID( ) throw();

Hinweise

Siehe GetWindowThreadProcessID in Windows SDK.

Beispiel

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::GetWindowProcessID() to retrieve the id of the 
//process that created the window

CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwID = myWindow.GetWindowProcessID();

Anforderungen

Header: atlwin.h

Siehe auch

Referenz

CWindow-Klasse

CWindow::GetWindowThreadID