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 PlayFab Multiplayer library and can be freed.
Syntax
void PFMULTIPLAYER_API PFMultiplayerFreeMemoryCallback(
void* pointer,
PFMultiplayerMemoryType memoryTypeId
);
Parameters
pointer void*
Post_invalid
A pointer to a memory buffer previously allocated. This value will never be nullptr.
memoryTypeId PFMultiplayerMemoryType
An opaque identifier representing the PlayFab Multiplayer library internal category of memory being freed. Generally, you can ignore this value, but you can use it to help diagnose and debug Multiplayer memory allocations.
Return value
Type: void
The callback doesn't return a value.
Remarks
This callback is optionally installed using the PFMultiplayerSetMemoryCallbacks() method.
The callback is invoked whenever the PlayFab Multiplayer library has finished using a memory buffer previously returned by the title's corresponding PFMultiplayerAllocateMemoryCallback, so that the title can free the memory buffer.
Requirements
Header: PFMultiplayer.h
See also
PFMultiplayer members
PFMultiplayerAllocateMemoryCallback
PFMultiplayerSetMemoryCallbacks