win32service.OpenWindowStation

PyHWINSTA = OpenWindowStation(szWinSta, Inherit , DesiredAccess )

Returns a handle to the specified window station

Parameters

szWinSta : str/PyUNICODE

Name of window station

Inherit : Bool

Allow handle to be inherited by subprocesses

DesiredAccess : int

Bitmask of access types