| Argument | Type | Description |
| iid | REFIID | The interface of this object that we want to marshal. |
| pvInterface | void * | The actual pointer that will be marshaled. May be NULL. |
| dwDestContext | DWORD | As in CoMarshalInterface(). |
| pvDestContext | void * | As in CoMarshalInterface(). |
| mshlflags | DWORD | As in CoMarshalInterface(). |
| pcb | ULONG * | The place at which the maximum marshal size should be returned. A return of zero indicates "unknown maximum size." |
| return value | HRESULT | S_OK, E_FAIL, E_NOINTERFACE, E_UNEXPECTED |