DWC_GetMOMinCompState

C Specification

#include <dwc.h>

int DWC_GetMOMinCompState( u64* time );

Description

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

During peer matchmaking, the number of required players is set by calling either the DWC_ConnectToAnybodyAsync function or the DWC_ConnectToFriendsAsync function. 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 obtain whether the optional timeout limit has been exceeded. It can also obtain the time elapsed since the commencement of matchmaking.

Arguments

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

Return Values

0 Within optional timeout time.
1 Optional timeout time has been exceeded. Possible that matchmaking will complete with fewer than the specified number.
-1 This matchmaking option either is not set, or is disabled.

See Also

DWC_SetMatchingOption, DWC_ConnectToAnybodyAsync, DWC_ConnectToFriendsAsync

Revision History

12/16/2005 Initial version.