gpRevokeBuddyAuthorization

GameSpy SDK

gpRevokeBuddyAuthorization

Remove the local client from a remote users buddy list.

GPResult gpRevokeBuddyAuthorization(
GPConnection * connection,
GPProfile profile );
RoutineRequired HeaderDistribution
gpRevokeBuddyAuthorization<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
[in] The profile ID of the remote player.

Remarks

Use this function when the local client no longer wants the remote player to be able to send buddy messages or view status info.

Section Reference: Gamespy Presence SDK