ICreateTypeLib::SetLibFlags method

Sets library flags.

Syntax


HRESULT SetLibFlags(
  [in] UINT uLibFlags
);

Parameters

uLibFlags [in]

The flags to set.

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

Valid uLibFlags values are listed in LIBFLAGS.

Requirements

IDL

OaIdl.idl

See also

ICreateTypeLib

 

 

Show: