HWINSTA GetProcessWindowStation(VOID) |
The GetProcessWindowStation function returns a handle to the windowstation associated with the calling process.
This function has no parameters.
If the function is successful, the return value is a handle to the windowstation associated with the calling process.
If the function fails, the return value is NULL. This can occur if the process is not a Windows32 application. Use the GetLastError function to obtain extended error information.