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

# CoQueryProxyBlanket(3w)

## NAME

**CoQueryProxyBlanket** (OLE32.@)

## SYNOPSIS

HRESULT CoQueryProxyBlanket\
  (\
   IUnknown\* *pProxy*,\
   DWORD\*    *pAuthnSvc*,\
   DWORD\*    *pAuthzSvc*,\
   OLECHAR\*\* *ppServerPrincName*,\
   DWORD\*    *pAuthnLevel*,\
   DWORD\*    *pImpLevel*,\
   void\*\*    *ppAuthInfo*,\
   DWORD\*    *pCapabilities*\
  )

## DESCRIPTION

Retrieves the security settings being used by a proxy.

## PARAMS

*pProxy* **\[In\]**  Pointer to the proxy object.

*pAuthnSvc* **\[Out\]**  The type of authentication service.

*pAuthzSvc* **\[Out\]**  The type of authorization service.

*ppServerPrincName* **\[Out\]**  Optional. The server prinicple name.

*pAuthnLevel* **\[Out\]**  The authentication level.

*pImpLevel* **\[Out\]**  The impersonation level.

*ppAuthInfo* **\[Out\]**  Information specific to the authorization/authentication service.

*pCapabilities* **\[Out\]**  Flags affecting the security behaviour.

## RETURNS

**Success:** **S\_OK**.

**Failure:** **HRESULT** code.

## SEE ALSO

CoCopyProxy, CoSetProxyBlanket.

## IMPLEMENTATION

Declared in **"objbase.h"**.

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

Debug channel **"ole"**.
