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