IUIHostLocale.GetUILocale(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the UI locale identifier of the host.
public:
int GetUILocale([Runtime::InteropServices::Out] System::UInt32 % plcid);
int GetUILocale([Runtime::InteropServices::Out] unsigned int & plcid);
public int GetUILocale (out uint plcid);
abstract member GetUILocale : uint32 -> int
Public Function GetUILocale (ByRef plcid As UInteger) As Integer
Parameters
- plcid
- UInt32
[out, retval] Pointer to the unique identifier of the UI locale.
Returns
If the method succeeds, it returns S_OK OK. If it fails, it returns an error code.
Remarks
This method is safe to access from any thread.