Reference

CoQueryClientBlanket(3w)

NAME

CoQueryClientBlanket (OLE32.@)

SYNOPSIS

HRESULT CoQueryClientBlanket
(
DWORD* pAuthnSvc,
DWORD* pAuthzSvc,
OLECHAR** pServerPrincName,
DWORD* pAuthnLevel,
DWORD* pImpLevel,
RPC_AUTHZ_HANDLE* pPrivs,
DWORD* pCapabilities
)

DESCRIPTION

Retrieves the authentication information about the client of the currently executing server call in the current thread.

PARAMS

pAuthnSvc [Out] Optional. The type of authentication service.

pAuthzSvc [Out] Optional. The type of authorization service.

pServerPrincName [Out] Optional. The server prinicple name.

pAuthnLevel [Out] Optional. The authentication level.

pImpLevel [Out] Optional. The impersonation level.

pPrivs [Out] Optional. Information about the privileges of the client.

pCapabilities [IO] Optional. Flags affecting the security behaviour.

RETURNS

Success: S_OK.

Failure: HRESULT code.

SEE ALSO

CoImpersonateClient, CoRevertToSelf, CoGetCallContext.

IMPLEMENTATION

Declared in "objbase.h".

Implemented in "dlls/ole32/compobj.c".

Debug channel "ole".

History