WM_StartKeySharing

Syntax

#include <nitro/wm.h>

WMErrCode WM_StartKeySharing( WMKeySetBuf* buf, u16 port );

Arguments

buf Pointer to the buffer that stores key information. The entity is the pointer to the WMDataSharingInfo structure.
port Sets the port number. Select a port number between 12 and 15 that is not being used elsewhere.

Return Values

Returns the results of the WMErrCode enumerated type process.

Description

Enables the key sharing feature. This function can be run when the WM is in either the MP_PARENT state or the MP_CHILD state. This function was changed from asynchronous to synchronous.
The WM_StartKeySharing, WM_EndKeySharing, and WM_GetKeySet functions were left to maintain compatibility, but they will be removed in the future. Use the Data Sharing functions instead.

See Also

WM_EndKeySharing, WM_GetKeySet

Revision History

2005/06/07 Changed argument, and made into synchronous function.
2004/10/22 Changed return value types.
2004/08/02 Standardized structure names.
2004/07/29 Added to description.
2004/07/23 Initial version.


CONFIDENTIAL