gpSetInfoi
These functions are used to set local info.
- GPResult gpSetInfoi(
- GPConnection * connection,
- GPEnum info,
- int value );
Routine | Required Header | Distribution |
---|---|---|
gpSetInfoi | <gp.h> | SDKZIP |
Return Value
This function returns GP_NO_ERROR upon success. Otherwise a valid GPResult is returned.
Parameters
- connection
- [in] A GP connection interface.
- info
- [in] An enum indicating what info to update.
- value
- [in] The integer value.
Remarks
These functions are used to set local info. The info does not actually get updated (sent to the server) until the next call to gpProcess.
If a string is longer than the allowable length for that info, it will be truncated without warning.
Section Reference: Gamespy Presence SDK