Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.22 KB

File metadata and controls

45 lines (28 loc) · 1.22 KB
author title description ms.author ms.topic ms.service ms.date
jasonsandlin
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.
jasonsa
reference
playfab
02/22/2024

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

PFPlatform members