Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Retrieves the memory allocation and freeing callbacks the Party 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 retrieves the memory allocation functions servicing requests by the Party library for new memory.
This method does not require the Initialize() method to have been called first.
Requirements
Header: Party.h
See also
PartyManager
PartyAllocateMemoryCallback
PartyFreeMemoryCallback
PartyManager::SetMemoryCallbacks