gpGetNumBlocked
Gets the total number of blocked players in the local profile's blocked list.
- GPResult gpGetNumBlocked(
- GPConnection * connection,
- int * numBlocked );
Routine | Required Header | Distribution |
---|---|---|
gpGetNumBlocked | <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.
- numBlocked
- [out] The total number of blocked players in the local profile's blocked list.
Remarks
This function will return 0 when GP is not connected. The blocked list is fully obtained after the login process is complete.
Section Reference: Gamespy Presence SDK
See Also: gpGetBlockedProfile, gpIsBlocked