Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8LobbiedApplication.SetAppAvailable

Makes an application available or unavailable for a lobby client to connect to. This method is typically called if a lobbied application is independently launched, that is, not launched by a lobby client. Additionally, this method should be called if a game has ended and the lobbied application needs to be available to connect to a lobby client at the start of another game.

SetAppAvailable(fAvailable As Boolean)

Parts

fAvailable
Boolean value to set to TRUE if the application is available, or FALSE to make it unavailable.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDOBJECT