# MB_FakeInit

## Syntax

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

## Arguments

buf | Pointer to the memory that is allocated for managing the internal state of the MB fake child. The `MB_FakeGetWorkSize` function or `MB_FAKE_WORK_SIZE` can be used to get the memory size required for this work area. The allocated memory will be used internally until the `MB_FakeEnd` function has completed.
user | Pointer to the structure that holds user data. When connecting, the MB parent will be notified of the value configured here.

## 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 finishes processing.

## See Also

`MB_FakeEnd, MB_FakeGetWorkSize, MB_FAKE_WORK_SIZE`

## Revision History

2004/11/25 Initial version.

CONFIDENTIAL