SCSetReportIntentionCallback

GameSpy SDK

SCSetReportIntentionCallback

Called when scReportIntention has completed.

typedef void (*SCSetReportIntentionCallback)(
const SCInterfacePtr theInterface,
GHTTPResult theHttpResult,
SCResult theResult,
const void * theUserData );
RoutineRequired HeaderDistribution
SCSetReportIntentionCallback<sc.h>SDKZIP

Parameters

theInterface
[ref] the pointer to the SC Interface object. The game usually has copy of this also.
theHttpResult
[in] Http result from creating a session
theResult
[in] SC Result telling the application what happened when creating a session
theUserData
[ref] constant pointer to user data

Remarks

Called when a host or client reporting its intention is complete. The results will determine if the session was sucessfully created. If there were any errors, theResult will be set to the specific error code. Otherwise theResult will be set to SCResult_NO_ERROR. Please see SCResult for error codes.