gpDeleteBuddy

GameSpy SDK

gpDeleteBuddy

This function deletes a buddy from the local profile’s buddy list.

GPResult gpDeleteBuddy(
GPConnection * connection,
GPProfile profile );
RoutineRequired HeaderDistribution
gpDeleteBuddy<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 with an established connection.
profile
[in] The profile ID of the buddy to delete.

Remarks

This function deletes the buddy indicated by profile from the local profile’s buddy list.

Section Reference: Gamespy Presence SDK