ulReserved (ULONG) - input

      Reserved. Must be 0.

    pidCP (USHORT) - input

      Code page ID.

      The code page ID must be the ID of a code page installed on the system or zero.

    hkbd (HKBD) - input

      Reserved. Must be 0.

    rc (APIRET) - returns

      Return Code.

      KbdSetCp returns one of the following values:

    • NO_ERROR 439
        ERROR_KBD_INVALID_HANDLE
      445
        ERROR_KBD_FOCUS_REQUIRED
      447
        ERROR_KBD_KEYBOARD_BUSY
      448
        ERROR_KBD_INVALID_CODEPAGE
      504
        ERROR_KBD_EXTENDED_SG


      [Back] [Next]