Difference between revisions of "Xbox Live"

From xboxdevwiki
Jump to: navigation, search
m (Remove topmost section)
Line 51: Line 51:
 
|-
 
|-
 
|XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle)
 
|XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle)
|Called to check the status of XOnlineLogon.
+
|Called to check the status of XOnlineLogon. It will return XONLINETASK_S_RUNNING while the login process has not been completed.
 
|-
 
|-
 
|XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle)
 
|XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle)
|
+
|Will return XONLINE_S_LOGON_CONNECTION_ESTABLISHED when the task is successfully completed. Otherwise it will return an error code.
 
|-
 
|-
 
|XOnlineGetLogonUsers()
 
|XOnlineGetLogonUsers()

Revision as of 17:19, 4 March 2019

Xbox Live is an online multiplayer gaming and digital media delivery service created and operated by Microsoft. It was first made available to the Xbox system in November 2002. (Wikipedia) Xbox Live support for the original Xbox ended in April 15, 2010.

The Xbox Live architecture consists of authentication servers, matchmaking servers, and game servers.

Authentication servers

Authentication and access to Xbox Live services is controlled using the Kerberos protocol with a few proprietary customizations for the Xbox.

Kerberos Authentication Server: macs.xboxlive.com


Xbox PA-DATA
padata-type description
131  ?
204  ?
206 Information about Xbox Version, Title, and Title version

Matchmaking servers

Game servers

XDK Functions

XOnline* Functions
function description
XOnlineGetUsers(XONLINE_USER* XBLAccountusers, DWORD* numOfXBLiveAccounts) The XOnlineGetUsers function will enumerate both the hard disk and any attached memory units looking for user accounts
XOnlineTaskClose(XONLINETASK_HANDLE logonHandle) Called to abort the authentication process.
XOnlineStartup( XONLINE_STARTUP_PARAMS* )
XOnlineLogon(XONLINE_USER* XBLLoggedOnUsers, DWORD* XBLservices, DWORD SERVICE_COUNT, NULL, XONLINETASK_HANDLE &logonHandle) When a title calls XOnlineLogon to sign in, instead of blocking until the authentication completes, an asynchronous task handle is returned. As part of the authentication process a title must specify which services it will be using (XBLservices, SERVICE_COUNT).
XOnlineTaskContinue(XONLINETASK_HANDLE logonHandle) Called to check the status of XOnlineLogon. It will return XONLINETASK_S_RUNNING while the login process has not been completed.
XOnlineLogonTaskGetResults(XONLINETASK_HANDLE logonHandle) Will return XONLINE_S_LOGON_CONNECTION_ESTABLISHED when the task is successfully completed. Otherwise it will return an error code.
XOnlineGetLogonUsers() This returns a pointer to an array of XONLINE USER structures. This array is similar the XONLINE USER array we populated and passed into XOnlineLogon, but is updated with error status and permission flags for each user.
XOnlineSetUserGuestNumber(dwUserFlags , 1)
XOnlineTitleUpdate(DWORD) The XOnlineTitleUpdate function will boot into an updater application, which performs the actual update
XOnlineGetServiceInfo(Service, ?) XOnlineGetServiceInfo returns the connection status for a service
XOnlineNotificationSetState