XblMemGetFunctions

Gets the memory hook functions previously set by XblMemSetFunctions.

Syntax

HRESULT XblMemGetFunctions(  
         XblMemAllocFunction* memAllocFunc,  
         XblMemFreeFunction* memFreeFunc  
)  

Parameters

memAllocFunc   _Out_
Type: XblMemAllocFunction*

Set to the current allocation callback. Returns the default routine if not previously set.

memFreeFunc   _Out_
Type: XblMemFreeFunction*

Set to the current memory free callback. Returns the default routine if not previously set.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

This method allows the application get the default memory allocation routines. This can be used along with XblMemSetFunctions() to monitor all memory allocations.

Requirements

Header: xbox_live_global_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

xbox_live_global_c