Retrieves the context of the current call on the current thread.
HRESULT CoGetCallContext(
REFIID riid, //Interface identifier
void ** ppInterface //Address of output variable that receives the
// interface pointer requested in riid
);
CoGetCallContext retrieves the context of the current call on the current thread. The riid parameter specifies the interface on the context to be retrieved. Currently, only IServerSecurity is available from the default call context supported by standard marshaling.
This is one of the functions provided to give the server access to any contextual information of the caller.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in objbase.h.
Import Library: Included as a resource in ole32.dll.
IServerSecurity, Security in COM