Argument | Type | Description |
punk | IUnknown* | When non-NULL, the IUnknown which is to be QueryInterface'd for the requested call context interface by subsequent calls to CoGetCallContext during the span of the current call. This interface is AddRef'd prior to returning. When NULL, resets the call context to the COM-provided default for the current call. |
Returns | S_OK | Success. |
E_INVALIDARG | One or more arguments are invalid. |