The GetAllCustData method retrieves all the custom data items associated with the automation type description.

 HRESULT GetAllCustData(
   [out] CUSTDATA* pCustData
 );

pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data items, as specified in section 2.2.47. 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 automation type description.

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: