win32service.CreateWindowStation

PyHWINSTA = CreateWindowStation(WindowStation, Flags , DesiredAccess , SecurityAttributes )

Creates a new window station

Parameters

WindowStation : str/unicode

Name of window station to create, or None

Flags : int

CWF_CREATE_ONLY or 0

DesiredAccess : int

Bitmask of access types available to returned handle

SecurityAttributes : PySECURITY_ATTRIBUTES

Specifies security for window station, and whether handle is inheritable

Comments

If name is None or empty string, name is formatteded from logon id