220.127.116.11 ITypeInfo2::GetAllFuncCustData (Opnum 33)
The GetAllFuncCustData method retrieves all of the custom data items associated with the specified method.
HRESULT GetAllFuncCustData( [in] UINT index, [out] CUSTDATA* pCustData );
index: MUST specify an ordinal position in the method table and MUST be less than the value of the cFuncs field in the TYPEATTR structure of the associated type, as specified in sections 2.2.44 and 18.104.22.168.
pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data items, as specified in section 22.214.171.124.1. The structure's cCustData field MUST be set to 0 and its prgCustData field set to NULL, if there are no custom data items associated with the method.
Return Values: The method MUST return information in an HRESULT data structure, defined in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following conditions:
If the severity bit is set to 0, the method completed successfully.
If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value in the following table, a fatal failure occurred.
If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in the following table, a failure occurred.
Return value/code Description
The value of index did not specify the ordinal position of an element in the data member table. See [MS-ERREF].