LoadKeyboardLayout function Null safety user32

int LoadKeyboardLayout(
  1. Pointer<Utf16> pwszKLID,
  2. int Flags
)

Loads a new input locale identifier (formerly called the keyboard layout) into the system.

HKL LoadKeyboardLayoutW(
  LPCWSTR pwszKLID,
  UINT    Flags
);

Implementation

int LoadKeyboardLayout(Pointer<Utf16> pwszKLID, int Flags) =>
    _LoadKeyboardLayout(pwszKLID, Flags);