OpenInputDesktop function Null safety user32

int OpenInputDesktop(
  1. int dwFlags,
  2. int fInherit,
  3. int dwDesiredAccess
)

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);