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

# CryptGetHashParam(3w)

## NAME

**CryptGetHashParam** (ADVAPI32.@)

## SYNOPSIS

BOOL CryptGetHashParam\
  (\
   HCRYPTHASH *hHash*,\
   DWORD      *dwParam*,\
   BYTE\*      *pbData*,\
   DWORD\*     *pdwDataLen*,\
   DWORD      *dwFlags*\
  )

## DESCRIPTION

Retrieves data that controls the operations of a hash object.

## PARAMS

*hHash* **\[In\]**  Handle of the hash object to question.

*dwParam* **\[In\]**  Query type.

*pbData* **\[Out\]**  Buffer that receives the value data.

*pdwDataLen* **\[In/Out\]**  Size of the *pbData* buffer.

*dwFlags* **\[In\]**  Reserved for future use and must be zero.

## RETURNS

**Success:** **TRUE**

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

## NOTES

If *pbData* is **NULL**, *pdwDataLen* will contain the length required.

## IMPLEMENTATION

Declared in **"wincrypt.h"**.

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

Debug channel **"crypt"**.
