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 on Windows 8 and Windows Server 2012

 

 

Community Additions

ADD
Show:
© 2014 Microsoft