PFMemGetFunctions
Gets the memory hook functions to allow callers to control route memory allocations to their own memory manager. This method allows the application get the default memory allocation routines. This can be used along with PFMemSetFunctions() to monitor all memory allocations.
Syntax
HRESULT PFMemGetFunctions(
PFMemoryHooks* hooks
)
Parameters
hooks
PFMemoryHooks*
output
Struct to be populated with the current memory hooks. Defaults will be returned if custom hooks weren't previously set.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Requirements
Header: PFPlatform.h