gpGetBlockedProfile

GameSpy SDK

gpGetBlockedProfile

This function gets the profileid for a particular player on the blocked list.

GPResult gpGetBlockedProfile(
GPConnection * connection,
int index,
GPProfile * profile );
RoutineRequired HeaderDistribution
gpGetBlockedProfile<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.
index
[in] The array index of the blocked player.
profile
[out] The profileid of the blocked player.

Remarks

The blocked list is fully obtained after the login process is complete. Index is a number greater than or equal to 0 and less than the total number of blocked players - generally called in conjunction with gpGetNumBlocked to enumerate through the list.

Section Reference: Gamespy Presence SDK

See Also: gpGetNumBlocked, gpIsBlocked