# MB_FakeInit

## C Specification

  `#include <nitro/mb/mb_fake_child.h>`
  `void MB_FakeInit( void *buf, const MBUserInfo *user );`

## Arguments

buf | Pointer to the memory to allocate for internal state control of an MB fake child. The memory size of this work region can be obtained using the `MB_FakeGetWorkSize` function or `MB_FAKE_WORK_SIZE`. 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.

## Return Values

None.

## Description

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.

## See Also

`MB_FakeEnd, MB_FakeGetWorkSize, MB_FAKE_WORK_SIZE`

## Revision History

11/25/2004 Initial version.