property WindowHandleToProcessId.
Retrieves the identifier
of the process (PID) that created the window.
|
hwnd
[in] . Handle to the window
pVal
[out, retval]
. The returned value is the identifier of the process (PID)
or 1 if
no process is found.
S_OK
The operation was successfull.
E_POINTER
A NULL pointer was supplied as an argument.
E_UNEXPECTED
An unexpected error occoured.