IPropertyPageSite::GetLocaleID method (ocidl.h)

Retrieves the locale identifier (an LCID) that a property page can use to adjust its locale-specific settings.

Syntax

HRESULT GetLocaleID(
  [out] LCID *pLocaleID
);

Parameters

[out] pLocaleID

A pointer to a variable that receives the locale identifier. See Language Identifier Constants and Strings.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_POINTER
The address in pLocaleID is not valid. For example, it may be NULL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IPropertyPageSite

OCPFIPARAMS

PROPPAGEINFO