Retrieves the language identifier associated with the keyboard layout.
Syntax
HRESULT GetLangId( HKL hKL, LANGID *plid );
Parameters
- hKL
- [in] Handle to the keyboard layout.
- plid
- [out] Address of the LANGID associated with the keyboard layout.
Return Value
Returns S_OK if successful, or an error code otherwise.