gpDisable
This function disables a certain state.
- GPResult gpDisable(
- GPConnection * connection,
- GPEnum state );
Routine | Required Header | Distribution |
---|---|---|
gpDisable | <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.
- state
- [in] The "state" to disable.
Remarks
This function is used to disable ("turn off") states on the connection. The states that can currently be disabled are info caching and simulation. To enable a state use gpEnable.
Section Reference: Gamespy Presence SDK