ServerBrowserPendingQueryCount

GameSpy SDK

ServerBrowserPendingQueryCount

Retrieves the number of servers with outstanding queries. Use this to check progress while asynchronously updating the server list.

int ServerBrowserPendingQueryCount(
ServerBrowser sb );
RoutineRequired HeaderDistribution
ServerBrowserPendingQueryCount<sb_serverbrowsing.h>SDKZIP

Return Value

Returns the number of servers that have not yet been queried.

Parameters

sb
[in] ServerBrowser object intialized with ServerBrowserNew.

Remarks

The ServerBrowserPendingQueryCount function is most usefull when updating a large list of servers.  Use this function to display progress information to the user.  For example "1048/2063 servers updated", or as a progress bar graphic.