COMPRESS_ALLOCATION_ROUTINES structure

A structure containing optional memory allocation and deallocation routines.

Syntax

typedef struct _COMPRESS_ALLOCATION_ROUTINES {
  PFN_COMPRESS_ALLOCATE Allocate;
  PFN_COMPRESS_FREE     Free;
  PVOID                 UserContext;
} COMPRESS_ALLOCATION_ROUTINES, *PCOMPRESS_ALLOCATION_ROUTINES;

Members

Allocate

Callback that allocates memory.

Free

Callback that deallocates memory.

UserContext

A pointer to context information for the allocation or deallocation routine defined by the user.

Requirements

   
Header compressapi.h