#include <nitro/wm.h>
WMErrCode WM_SetParentParameter( WMCallbackFunc callback , const WMParentParam* pparaBuf );
callback |
Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler. |
pparaBuf | Pointer to the structure that shows parent information. Notice that the pparaBuf andpparaBuf–>userGameInfo entities will be forcibly cached. |
Returns the results of the WMErrCode
enumerated type process.
Sets the parameters that are required for a parent This API must be executed once before the WM_StartParent
is called. This function is only executable when the WM is in the IDLE
state. If the return value is WM_ERRCODE_OPERATING
, a callback is generated after the parameter setting process is complete.
WM_StartParent
, WM_EndParent
, WM_SetGameInfo
06/08/2005 Added statement about callbacks being called from the interrupt handler.
10/22/2004 Changed return value type.
08/02/2004 Standardized structure names.
07/29/2004 Added to Description
07/23/2004 Initial version