Compartilhar via


IUIHostLocale.GetUILocale(UInt32) Method

Definition

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.

Applies to