chat_manager::get_memory_callbacks
Retrieves the current memory allocation and freeing callbacks used by the Game Chat 2 library.Syntax
Parameters
allocateMemoryCallback _Out_Type: game_chat_allocate_memory_callback* A pointer to the memory allocation callback currently used by the Game Chat 2 library. freeMemoryCallback _Out_
Type: game_chat_free_memory_callback* A pointer to the memory freeing callback currently used by the Game Chat 2 library.
Return value
Type: void None.Remarks
This method retrieves the pointers to the current memory allocation & freeing callbacks that service requests to dynamically allocate and free memory by the Game Chat 2 library. You can call the chat_manager::set_memory_callbacks method to set the memory allocation and freeing callbacks used by the Game Chat 2 library when a memory buffer must be dynamically allocated and freed. As with thechat_manager::set_memory_callbacks method, this method does not require the chat_manager::initialize method to have been called first.
Requirements
Header: GameChat2.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Intro to Game Chat 2chat_manager
