#include <nitro/mb/mb_fake_child.h>
void MB_FakeInit( void *buf, const MBUserInfo *user );
This function initializes the library as an MB fake child. You can use this function for the entry of a Multi-Card Play child as a Single-Card Play child with a parent. The Multi-Card Play child and the Single-Card Play child can coexist in the same wireless network.
This function must be called before any other MB function is called. It must be called at least once. Nothing happens if it is called again before the MB_FakeEnd function ends the process.
buf |
Pointer to the memory being allocated for internal state control of an MB fake child. Obtain the memory size of this work region using the MB_FakeGetWorkSize function. The allocated memory can be used internally until the process is ended by the MB_FakeEnd function. |
user |
Pointer to the structure where the user data is stored. The value set here is posted to the MB parent when a connection is made. |
None.
MB_FakeEnd,
MB_FakeGetWorkSize
11/25/2004 Initial version.