---
name: "CoQueryClientBlanket"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CoQueryClientBlanket"
---

# 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"**.
