#include <nitro/mb.h>
void* MB_UnregisterFile(const MBGameRegistry *game_reg);
This function unregisters a specified, registered program from the download program list. This unregister process releases the segment information memory buffer specified by MB_RegisterFile to the user side.
If this function is called more than once, the MB_RegisterFile function cannot be called. To change the registered contents of the program, you must close the MB library by calling the MB_End function once, change the TGID, and restart.
game_reg |
Pointer to the MBGameRegistry structure that holds the information for the registered program to be unregistered. |
Returns a pointer if it successfully unregisters the registered program. Otherwise, it returns NULL.
MBGameRegistry, MB_GetSegmentLength, MB_ReadSegment, MB_RegisterFile
10/18/2004 Added a Caution about the restriction affecting MB_RegisterFile.
09/30/2004 Changed return values.
09/09/2004 Initial version.