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

# CryptCATAdminAcquireContext(3w)

## NAME

**CryptCATAdminAcquireContext** (WINTRUST.@)

## SYNOPSIS

BOOL CryptCATAdminAcquireContext\
  (\
   HCATADMIN\*  *catAdmin*,\
   const GUID\* *sys*,\
   DWORD       *dwFlags*\
  )

## DESCRIPTION

Get a catalog administrator context handle.

## PARAMS

*catAdmin* **\[Out\]**  Pointer to the context handle.

*sys* **\[In\]**  Pointer to a **GUID** for the needed subsystem.

*dwFlags* **\[In\]**  Reserved.

## RETURNS

**Success:** **TRUE**. *catAdmin* contains the context handle.

**Failure:** **FALSE**.

## IMPLEMENTATION

Declared in **"mscat.h"**.

Implemented in **"dlls/wintrust/crypt.c"**.

Debug channel **"wintrust"**.
