| Argument | Type | Description |
| iid | REFIID | The interface on this object that we are going to marshal. |
| pvInterface | void * | The actual pointer that will be marshaled. May be NULL. |
| dwDestContext | DWORD | The destination context relative to the current context in which the unmarshaling will be done. |
| pvDestContext | void* | Non-NULL for some dwDestContext values. |
| mshlflags | DWORD | As in CoMarshalInterface(). |
| pclsid | CLSID * | The class to be used in the unmarshaling process. |
| return value | HRESULT | S_OK, E_FAIL, E_NOINTERFACE, E_UNEXPECTED |