PartyXblManager::GetMemoryCallbacks

Retrieves the current memory allocation and freeing callbacks the Party Xbox Live library is using.

Syntax

PartyError GetMemoryCallbacks(  
    PartyAllocateMemoryCallback* allocateMemoryCallback,  
    PartyFreeMemoryCallback* freeMemoryCallback  
)  

Parameters

allocateMemoryCallback   PartyAllocateMemoryCallback*
output

A place to store a pointer to the memory allocation callback currently used.

freeMemoryCallback   PartyFreeMemoryCallback*
output

A place to store a pointer to the memory freeing callback currently used.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via GetErrorMessage().

Remarks

This method does not require the Initialize() method to have been called first.

Requirements

Header: PartyXboxLive.h

See also

PartyXblManager
PartyXblManager::SetMemoryCallbacks