scInitialize
Initializes the competition SDK.
- SCResult scInitialize(
- int theGameId,
- SCInterfacePtr * theInterfaceOut );
Routine | Required Header | Distribution |
---|---|---|
scInitialize | <sc.h> | SDKZIP |
Return Value
Enum value used to indicate the specific result of the request. This will return SCResult_NO_ERROR if the request completed successfully.
Parameters
- theGameId
- [in] The Game ID issued to identify a game.
- theInterfaceOut
- [out] The pointer to the SC Interface Object instance
Remarks
The function must be called in order to get a valid SC Interface object. Most other interface functions depend on this interface function when being called. Note that if the standard GameSpy Availability Check was not performed prior to this call, the SDK will return SCResult_NO_AVAILABILITY_CHECK.
Section Reference: Gamespy Competition SDK