Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2017 Microsoft