Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8LobbyClient.ReleaseApplication

Releases a lobbied application and closes the connection between the lobby client and the application. This method should be called whenever a lobby client has finished its session with an application.

ReleaseApplication(Application As Long)

Parts

Application
Long value specifying the GUID of the lobbied application to release. This value is returned by the DirectPlay8LobbyClient.ConnectApplication method.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDHANDLE
DPNERR_INVALIDFLAGS
DPNERR_INVALIDPARAM