CoGetCallContext

HRESULT CoGetCallContext(riid, ppv);

Retrieves the context of the current call on the current thread. riid specifies the interface on the context to retrieve. Currently only IServerSecurity is available from the default call-context (see ISeverSecurity for details).

Argument

Type

Description

riid

REFIID

Identifies the interface to return.

ppv

void**

Returns an interface for the current call.

Returns

S_OK

Success.

E_NOINTERFACE

The call context does not support the interface identified by riid.