ServerBrowserListQueryError
Returns the ServerList error string, if any.
- const gsi_char * ServerBrowserListQueryError(
- ServerBrowser sb );
Routine | Required Header | Distribution |
---|---|---|
ServerBrowserListQueryError | <sb_serverbrowsing.h> | SDKZIP |
Return Value
If a list error has occured, a string description of the error is returned. Otherwise, an empty string "" is returned.
Parameters
- sb
- [in] ServerBrowser object intialized with ServerBrowserNew.
Remarks
The ServerBrowserListQueryError function returns the last string error reported by the server. For localization purposes, you may safely assume that this string will not change, and test for it as you would a numeric error code.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
ServerBrowserListQueryError | ServerBrowserListQueryErrorA | ServerBrowserListQueryErrorW |
ServerBrowserListQueryErrorW and ServerBrowserListQueryErrorA are UNICODE and ANSI mapped versions of ServerBrowserListQueryError. The arguments of ServerBrowserListQueryErrorA are ANSI strings; those of ServerBrowserListQueryErrorW are wide-character strings.
Section Reference: Gamespy Server Browsing SDK
See Also: ServerBrowserNew