|Microsoft DirectX 9.0|
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.
const DPNHANDLE hApplication, const DWORD dwFlags );
- [in] The DPNHANDLE of the lobbied application to release. This value is set in the phApplication parameter of the IDirectPlay8LobbyClient::ConnectApplication method. You can also specify the following flag.
- All application connections will be released.
- [in] Reserved, must be 0.
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDFLAGS The flags passed to this method are invalid. DPNERR_INVALIDHANDLE The handle specified is invalid. DPNERR_INVALIDPARAM One or more of the parameters passed to the method are invalid.