CRYPT_ENCODE_PARA structure (wincrypt.h)

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

Syntax

typedef struct _CRYPT_ENCODE_PARA {
  DWORD           cbSize;
  PFN_CRYPT_ALLOC pfnAlloc;
  PFN_CRYPT_FREE  pfnFree;
} CRYPT_ENCODE_PARA, *PCRYPT_ENCODE_PARA;

Members

cbSize

Indicates the size, in bytes, of the 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