gpSetInfod

GameSpy SDK

gpSetInfod

These functions are used to set local info.

GPResult gpSetInfod(
GPConnection * connection,
GPEnum info,
int day,
int month,
int year );
RoutineRequired HeaderDistribution
gpSetInfod<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.
day
[in] The day.
month
[in] The month.
year
[in] The year.

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