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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | compressapi.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for