DWC_GetMOMinCompState

Syntax

#include <dwc.h>

int DWC_GetMOMinCompState( u64* time );

Description

This function gets current status when the option to complete matchmaking with fewer than the specified number of players has been set.

If peer matchmaking does not complete within a specified time, this option allows it to complete with fewer than the specified number of players set by DWC_ConnectToAnybodyAsync or DWC_ConnectToFriendsAsync. The option to allow peer matchmaking to continue with fewer than the specified number of players, after a specified timeout period has elapsed, is enabled by calling the DWC_SetMatchingOption function.

This function can retrieve information as to whether the optional timeout limit has been exceeded. It can also retrieve the time elapsed since the start of matchmaking.

Arguments

time Pointer to u64 to receive the time elapsed in milliseconds since the commencement of peer matchmaking. If not required, specify NULL.

Return Values

0 Within the optional timeout time.
1 Optional timeout time has been exceeded. Matchmaking may complete with fewer than the specified number of players.
-1 Matchmaking option is either not set or is disabled.

See Also

DWC_SetMatchingOption
DWC_ConnectToAnybodyAsync
DWC_ConnectToFriendsAsync

Revision History

2005/12/16 Initial version.


CONFIDENTIAL