Export (0) Print
Expand All

ICreateTypeLib::SetName method

Sets the name of the type library.

Syntax


HRESULT SetName(
  [in]  LPOLESTR szName
);

Parameters

szName [in]

The name to be assigned to the 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.

 

Requirements

IDL

OaIdl.idl

See also

ICreateTypeLib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft