IAPI::GetUserDefaultUILanguage

property GetUserDefaultUILanguage.

Retrieves the language identifier (LANGID) for the current user language.

 

HRESULT GetUserDefaultUILanguage(
  long *pVal
);

Parameters

pVal

[out, retval]

. If the function succeeds, the return value is the LANGID for the current user's UI language.

. If the function fails, the return value is zero

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI