CRYPT_DECODE_PARA structure (wincrypt.h)

The CRYPT_DECODE_PARA structure is used by the CryptDecodeObjectEx function to provide access to memory allocation and memory freeing callback functions.

Syntax

typedef struct _CRYPT_DECODE_PARA {
  DWORD           cbSize;
  PFN_CRYPT_ALLOC pfnAlloc;
  PFN_CRYPT_FREE  pfnFree;
} CRYPT_DECODE_PARA, *PCRYPT_DECODE_PARA;

Members

cbSize

The size, in bytes, of this structure.

pfnAlloc

This member is an optional pointer to a callback function used to allocate memory.

pfnFree

This member is an optional pointer to a callback function used to free memory allocated by the allocate callback function.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h