OpenInputDesktop function user32
Opens the desktop that receives user input.
HDESK OpenInputDesktop(
DWORD dwFlags,
BOOL fInherit,
ACCESS_MASK dwDesiredAccess
);
Implementation
int OpenInputDesktop(int dwFlags, int fInherit, int dwDesiredAccess) =>
_OpenInputDesktop(dwFlags, fInherit, dwDesiredAccess);