Can anybody help me with this please:
GetWindowThreadProcessId
The format is as follows:
Syntax
DWORD GetWindowThreadProcessId(HWND hWnd, LPDWORD lpdwProcessId);
Parameters
hWnd
[in] Handle to the window.
lpdwProcessId
[out] Pointer to a variable that receives the process identifier. If this parameter is not NULL, GetWindowThreadProcessId copies the identifier of the process to the variable; otherwise, it does not.
Return Value
The return value is the identifier of the thread that created the window.
Although, I think it can, but just to make sure...can the hWnd psased in, be a handle to a toolbar?
Also, what is the difference between the 2nd paramater and the return value??? (in simplish terms is possible!).
Thank you very much!
Uni