Platform SDK: DirectX

DPAPPLICATIONDESC2

The DPAPPLICATIONDESC2 type contains information about an application that is to be registered by using the DirectPlayLobby3.RegisterApplication method.

Type DPAPPLICATIONDESC2
    lFlags As Long
    strAppLauncherName As String
    strApplicationName As String
    strCommandLine As String
    strCurrentDirectory As String
    strDescription As String
    strFilename As String
    strGuid As String
    strPath As String
End Type

Members

lFlags
Not used. Must be 0.
strAppLauncherName
Name of a launcher executable. The launcher is started by the lobby, and it in turn is responsible for launching the application described in strApplicationName. The launcher must reside in the same directory as the application.
strApplicationName
Name of the application. This title should not be localized. Use the strDescription member to localize the application name.
strCommandLine
Command line arguments to be passed to the executable when launched by a lobby.
strCurrentDirectory
Path that the current directory should be set to.
strDescription
Localized description of the application. When DirectPlayLobby3.GetDPEnumLocalApplications is called, this string will be returned.
strFilename
Name of the executable to be launched. Note: The use of a stub executable should be avoided when launching from a lobby. In a lobby launch scenario, the stub should be bypassed and the main executable should be launched.
strGuid
Globally unique identifier (GUID) of the application. This should be the same as the value set by using DirectPlaySessionData.SetGuidApplication when hosting a game session.
strPath
Path where the executable is located.