A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetProcessWindowStation

The GetProcessWindowStation function returns a handle of the window station associated with the calling process.

VB4-32,5,6
Declare Function GetProcessWindowStation Lib "user32" () As Long

Operating Systems Supported
Requires Windows NT 3.5(1) or later; Win9x/ME: Not supported

Library
User32

Return Values
If the function succeeds, the return value is a handle of the window station associated with the calling process.

If the function fails, the return value is NULL. This can occur if the calling process is not an application written for Windows NT. To get extended error information, call GetLastError.

Last update: 07 April 2006