Note
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier les répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de changer de répertoire.
Retrieves the locale identifier associated with the host's user interface. The scripting engine uses the identifier to ensure that error strings and other user-interface elements generated by the engine appear in the appropriate language.
Syntax
HRESULT GetLCID(
LCID *plcid // address of variable for language identifier
);
Parameters
plcid
[out] Address of a variable that receives the locale identifier for user-interface elements displayed by the scripting engine.
Return Value
Returns one of the following values:
| Return Value | Meaning |
|---|---|
S_OK |
Success. |
E_NOTIMPL |
This method is not implemented. Use the system-defined locale. |
E_POINTER |
An invalid pointer was specified. |
Remarks
If this method returns E_NOTIMPL, the system-defined locale identifier should be used.