COMPRESS_ALLOCATION_ROUTINES structure (compressapi.h)

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

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header compressapi.h