# WXC_GetParentParam

## Syntax

  `#include <nitro/wxc.h>`
  `const WMParentParam* WXC_GetParentParam(void);`

## Arguments

None.

## Return Values

Returns a pointer to a `WMParentParam` structure.

## Description

Gets the parent state that is being maintained by the WXC library's current internal wireless state.
The data indicated by the pointer this function returns is valid only if the function is called when both (1) the state is `WXC_STATE_ACTIVE`, and (2) the `WXC_IsParentMode` function returns `TRUE`.
This function can be used for deliberately reconnecting to a peer with which the local host has exchanged data, and for other similar purposes.

## See Also

`WXCStateCode
WXC_GetStateCode
WXC_IsParentMode
WXC_GetParentBssDesc
`

## Revision History

2005/08/04 Initial version.

CONFIDENTIAL