ITypeInfo2::GetFuncCustData Function

Gets the custom data from the specified function.

HRESULT GetFuncCustData(
  unsigned int  index,
  REFGUID  guid,
  VARIANT  *pVarVal
);

index

The index of the function for which to get the custom data.

guid

The GUID used to identify the data.

pVarVal

Where to put the data.

The return value obtained from the returned HRESULT is one of the following:

Return value

Meaning

S_OK

Success.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

One or more of the arguments is invalid.

Show: