Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Important
XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.
A callback invoked every time a previously allocated memory buffer is no longer needed by the Party library and can be freed.
Syntax
typedef
void (*PartyFreeMemoryCallback)(
void* pointer,
uint32_t memoryTypeId
)
Parameters
pointer void*
Post_invalid
A pointer to a memory buffer previously allocated. This value will never be nullptr.
memoryTypeId uint32_t
An opaque identifier representing the Party library internal category of memory being freed. This value should be ignored.
Return value
Type: void
The callback does not return a value.
Remarks
This callback is optionally installed using the PartyManager::SetMemoryCallbacks() method.
The callback is invoked whenever the Party library has finished using a memory buffer previously returned by the title's corresponding PartyAllocateMemoryCallback, so that the title can free the memory buffer.
Requirements
Header: Party.h
See also
Party members
PartyAllocateMemoryCallback
PartyManager::SetMemoryCallbacks
PartyManager::GetMemoryCallbacks