Redigera

PFMemoryHooks

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Struct encapsulating memory hooks.

Syntax

typedef struct PFMemoryHooks {  
    PFMemAllocFunction* alloc;  
    PFMemFreeFunction* free;  
} PFMemoryHooks;  

Members

alloc   PFMemAllocFunction*

Custom allocation hook.

free   PFMemFreeFunction*

Custom free hook.

Remarks

Both hooks must be set at the same time.

Requirements

Header: PFPlatform.h

See also

PFPlatform members