Microsoft DirectX 8.1 (C++) |
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.
HRESULT SetAppAvailable( const BOOL fAvailable, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDOBJECT |
DPNERR_UNINITIALIZED |
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dplobby8.h.