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
See also
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