MB_Init

# MB_ReadMultiBootParentBssDesc

## Syntax

  `#include <nitro/mb.h>`
  `void MB_ReadMultiBootParentBssDesc(WMBssDesc* p_desc,
  u16 parent_max_size, u16 child_max_size, BOOL ks_flag, BOOL cs_flag);`

## Arguments

p_desc | Pointer to the `WMBssDesc` structure that will store the parent information.
parent_max_size | The maximum transmission size for an MP parent, as configured with the `WM_SetParentParameter` function by the parent to be connected. This size must be decided upon by the application before it is specified.
child_max_size | The maximum transmission size for an MP child, as configured with the `WM_SetParentParameter` function by the parent to be connected. This size must be decided upon by the application before it is specified.
ks_flag | The key sharing flag configured with the `WM_SetParentParameter` function by the parent to be connected. This setting must be decided upon by the application before it is specified.
cs_flag | The continuous transfer flag configured with the `WM_SetParentParameter` function by the parent to be connected. This setting must be decided upon by the application before it is specified.

## Return Values

None.

## Description

If the local device is a multiboot child, this function stores connection information to the specified memory based on the parent information retrieved with the `MB_GetMultiBootParentBssDesc` function.
The `WMBssDesc` structure saved by this function can be handled in the same way as parent information retrieved with the `WM_StartScan` function, and can be given as an argument to the `WM_StartConnect` function.

## See Also

WM_SetParentParameter, `WM_StartScan`, `WM_StartConnect`, `MB_GetMultiBootParentBssDesc`

## Revision History

2004/10/05 Initial version.

CONFIDENTIAL