ulReserved (ULONG) - input

      Reserved. Must be 0.

    pidCP (PUSHORT) - output

      Pointer to Code-page ID.

      A pointer to a USHORT in which the code-page ID is returned.

    hkbd (HKBD) - input

      Reserved. Must be 0.

    return (APIRET) - returns

      Return code.

      KbdGetCp returns one of the following values:

    • NO_ERROR. 373
        ERROR_KBD_PARAMETER
      439
        ERROR_KBD_INVALID_HANDLE
      445
        ERROR_KBD_FOCUS_REQUIRED
      447
        ERROR_KBD_KEYBOARD_BUSY
      504
        ERROR_KBD_EXTENDED_SG


      [Back] [Next]