gpProfileFromID

GameSpy SDK

gpProfileFromID

Translates a profile id into a GPProfile.

GPResult gpProfileFromID(
GPConnection * connection,
GPProfile * profile,
int id );
RoutineRequired HeaderDistribution
gpProfileFromID<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.
profile
[out] The GPProfile for the given profile ID.
id
[in] The profile ID.

Remarks

This function is no longer needed. GPProfiles are now the same as profile id's.

Section Reference: Gamespy Presence SDK