IPropertyPageSite::GetLocaleID

Returns the locale identifier (an LCID) that a property page can use to adjust itself to the language in use and other country-specific settings.

HRESULT GetLocaleID(
  LCID* pLocaleID  //Receives a pointer to the locale identifier
);
 

Parameters

pLocaleID
[out] Pointer to locale identifier.

Return Values

S_OK
The locale was returned successfully.
E_POINTER
The address in pLocaleID is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

OCPFIPARAMS, PROPPAGEINFO