Gets the code page that is associated with the given keyboard layout.
Syntax
HRESULT GetCodePageA(
  [in]  HKL  hKL,
  [out] UINT *uCodePage
);
Parameters
- hKL [in] 
 A handle to the keyboard layout.
- uCodePage [out] 
 The address of an unsigned integer that receives the code page identifier that is associated with the keyboard layout.
Return value
Returns S_OK if successful, or an error value otherwise.
Requirements
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows 2000 Server | 
| Product | Internet Explorer 5.0 | 
| Header | Dimm.h | 
| IDL | Dimm.idl |