Gets the language identifier that is associated with the keyboard layout.
Syntax
HRESULT GetLangId(
  [in]  HKL    hKL,
  [out] LANGID *plid
);
Parameters
- hKL [in] 
 A handle to the keyboard layout.
- plid [out] 
 The address of the LANGID 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 | 
| Header | Dimm.h | 
| IDL | Dimm.idl |