ICreateTypeLib::SetLcid method

Sets the binary Microsoft national language ID associated with the library.

Syntax


HRESULT SetLcid(
  [in] LCID lcid
);

Parameters

lcid [in]

The locale ID for the type library.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

One or more of the arguments is not valid.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

STG_E_INSUFFICIENTMEMORY

Insufficient memory to complete the operation.

TYPE_E_INVALIDSTATE

The state of the type library is not valid for this operation.

 

Remarks

For more information on national language IDs, see Supporting Multiple National Languages and the National Language Support (NLS) API.

Requirements

IDL

OaIdl.idl

See also

ICreateTypeLib

 

 

Show: