OpenDesktop function user32
Opens the specified desktop object.
HDESK OpenDesktopW(
LPCWSTR lpszDesktop,
DWORD dwFlags,
BOOL fInherit,
ACCESS_MASK dwDesiredAccess
);
Implementation
int OpenDesktop(Pointer<Utf16> lpszDesktop, int dwFlags, int fInherit,
int dwDesiredAccess) =>
_OpenDesktop(lpszDesktop, dwFlags, fInherit, dwDesiredAccess);