00001 //**************************************************************************** 00002 //* Author: Guillaume Plante gsdevelopers@ubisoft.com 00003 //* Date: 2002-06-06 10:49:52 00010 //**************************************************************************** 00011 00082 #ifndef _GSCDKEYINTERFACE_H_ 00083 #define _GSCDKEYINTERFACE_H_ 00084 00085 #include "GSCDKeyDefines.h" 00086 #include "GSCDKeyCallbacks.h" 00087 00088 extern "C" { 00089 00099 //============================================================================ 00100 // Function GSCDKey_Initialize 00101 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00102 // Date: 2002-06-06 10:51:55 00120 //============================================================================ 00121 GShandle __stdcall GSCDKey_Initialize(GSushort usPort); 00122 00123 00124 //============================================================================ 00125 // Function GSCDKey_Uninitialize 00126 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00127 // Date: 2002-06-06 10:58:49 00139 //============================================================================ 00140 GSvoid __stdcall GSCDKey_Uninitialize(GShandle pGSCDKeyHandle = 0); 00141 00142 00143 00144 //============================================================================ 00145 // Function GSCDKey_Engine 00146 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00147 // Date: 2002-06-06 11:06:12 00165 //============================================================================ 00166 GSbool __stdcall GSCDKey_Engine(GShandle pGSCDKeyHandle,GSuint uiMaxDelay = 500); 00167 00179 //============================================================================ 00180 // Function GSCDKey_ValidateUser 00181 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00182 // Date: 2002-06-06 13:23:34 00200 //============================================================================ 00201 GSCDKeyRequest __stdcall GSCDKey_ValidateUser(GShandle pGSCDKeyHandle, 00202 PVALIDATION_SERVER_INFO psValidationServerInfo, 00203 GSubyte *pucAuhorizationID,GSchar *szGameName, 00204 GSushort usTimeout = 3); 00205 00206 00207 //============================================================================ 00208 // Function GSCDKey_DisconnectUser 00209 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00210 // Date: 2002-06-06 13:57:12 00225 //============================================================================ 00226 GSCDKeyRequest __stdcall GSCDKey_DisconnectUser(GShandle pGSCDKeyHandle, 00227 PVALIDATION_SERVER_INFO psValidationServerInfo, 00228 GSubyte *pucAuhorizationID); 00229 00230 00231 //============================================================================ 00232 // Function GSCDKey_PlayerStatusReply 00233 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00234 // Date: 2002-06-06 13:59:14 00250 //============================================================================ 00251 GSCDKeyRequest __stdcall GSCDKey_PlayerStatusReply(GShandle pGSCDKeyHandle, 00252 PVALIDATION_SERVER_INFO psValidationServerInfo, 00253 GSubyte *pucAuhorizationID,CDKEY_PLAYER_STATUS eStatus); 00254 00266 //============================================================================ 00267 // Function GSCDKey_RequestActivation 00268 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00269 // Date: 2002-06-06 14:05:39 00289 //============================================================================ 00290 GSCDKeyRequest __stdcall GSCDKey_RequestActivation(GShandle pGSCDKeyHandle, 00291 PVALIDATION_SERVER_INFO psValidationServerInfo, 00292 PACTIVATION_INFO psActivationInfo, 00293 GSushort usTimeout = 6); 00294 00295 00296 //============================================================================ 00297 // Function GSCDKey_RequestAuthorization 00298 // Author: Guillaume Plante gsdevelopers@ubisoft.com 00299 // Date: 2002-06-06 14:16:15 00318 //============================================================================ 00319 GSCDKeyRequest __stdcall GSCDKey_RequestAuthorization(GShandle pGSCDKeyHandle, 00320 PVALIDATION_SERVER_INFO psValidationServerInfo, 00321 PVALIDATION_INFO psValidationInfo, 00322 GSushort usTimeout = 3); 00323 00324 } // extern "C" 00325 00327 #endif //_GSCDKEYINTERFACE_H_
Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team