CRYPT_ENCODE_PARA (Compact 2013)

3/28/2014

This structure is used by the CryptEncodeObjectEx function. It provides 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
    Size of the structure.
  • pfnAlloc
    Optional pointer to a callback function used to allocate memory.
  • pfnFree
    Optional pointer to a callback function used to free memory allocated by the allocate callback function.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CryptEncodeObjectEx