| Argument | Type | Description |
| ipid | IPID | The interface on an object from whom more interfaces are desired. |
| cRefs | REFCNT | The number of references sought on each of the returned IIDs. |
| cIids | USHORT | The number of interfaces being requested. |
| iids | IID* | The list of IIDs that name the interfaces sought on this object. |
| PpQIResults | REMQIRESULT** | The place at which the array of the results of the various QueryInterface calls are returned. |
| Return Value | Meaning |
| S_OK | Success. An attempt was made to retrieve each of the requested interfaces from the indicated object; that is, QueryInterface was actually invoked for each IID. |
| E_INVALIDARG | One or more arguments (likely ipid) were invalid. No result values are returned. |
| E_UNEXPECTED | An unspecified error occurred. No result values are returned. |
| Member | Type | Semantic |
| hResult | HRESULT | The result code from the QueryInterface call made for the requested IID. |
| std | STDOBJREF | The data for the returned interface. Note that if hResult indicates failure then the contents of STDOBJREF are undefined. |