Partager via


ITypeInfo2::GetAllFuncCustData

This method gets all of the custom data from the specified function.

HRESULT GetAllFuncCustData( 
  unsigned int index, 
  CUSTDATA* pCustData 
);

Parameters

  • index
    [in] Index of the function for which to get the custom data.
  • pCustData
    [out] Returns a pointer to CUSTDATA, which holds all custom data items.

Return Values

The following table shows the return values for this function.

Value Description
S_OK Success.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the parameters is invalid.

Remarks

After the call, the caller needs to release memory used to hold the custom data item by calling ClearCustData.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

ITypeInfo2 | CUSTDATA

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.