Platform SDK: DirectX

DirectPlayLobby3.RegisterApplication

The DirectPlayLobby3.RegisterApplication method registers a lobby-aware application with DirectPlay. An application must be registered so that a DirectPlay lobby can launch it.

The application needs to be registered only once. It must also be unregistered when it is uninstalled.

object.RegisterApplication( _
    ApplicationInfo As DPAPPLICATIONDESC2) 

Parameters

object
Object expression that resolves to a DirectPlayLobby3 object.
ApplicationInfo
DPAPPLICATIONDESC2 type describing the application to be registered.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following values:

DPERR_INVALIDFLAGS
DPERR_INVALIDPARAMS.

See Also

DirectPlayLobby3.UnregisterApplication