Retrieves the code page associated with the given keyboard layout.
Syntax
HRESULT GetCodePageA( HKL hKL, UINT *uCodePage );
Parameters
- hKL
- [in] Handle to the keyboard layout.
- uCodePage
- [out] Address of an unsigned integer that receives the code page identifier associated with the keyboard layout.
Return Value
Returns S_OK if successful, or an error code otherwise.