PyHDESK = OpenInputDesktop(Flags, Inherit
, DesiredAccess
)
Returns a handle to desktop for logged-in user
Parameters
Flags : int
DF_ALLOWOTHERACCOUNTHOOK or 0Inherit : bool
Specifies if handle will be inheritableDesiredAccess : int
ACCESS_MASK specifying access available to returned handle