ICreateTypeLib2::SetCustData method

Sets a value to custom data.

Syntax


HRESULT SetCustData(
  [in] REFGUID guid,
  [in] VARIANT *pVarVal
);

Parameters

guid [in]

The unique identifier for the data.

pVarVal [in]

The data to store (any variant except an object).

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.

 

Requirements

IDL

OaIdl.idl

See also

ICreateTypeLib2

 

 

Show: