# Function Reference

# _WinAPI_SetProcessWindowStation

Assigns the specified window station to the calling process

#include <WinAPISys.au3>
_WinAPI_SetProcessWindowStation ( $hStation )

## Parameters

$hStation | Handle to the window station. This window station must be associated with the current session.

## Return Value

Success: | True
Failure: | False

## See Also

Search SetProcessWindowStation in MSDN Library.