Microsoft DirectX 8.1 (C++) |
Retrieves the set of connection settings for the specified connection. These settings can be set through a call to the IDirectPlay8LobbyClient::ConnectApplication, IDirectPlay8LobbyClient::SetConnectionSettings, or IDirectPlay8LobbiedApplication::SetConnectionSettings method.
When you get connection settings, a reference will be added for each address object that is returned to the user. Therefore, users must be sure to call Release on each address object when they are done with the structure.
HRESULT GetConnectionSettings( const DPNHANDLE hLobbyClient, DPL_CONNECTION_SETTINGS *const pdplSessionInfo, DWORD* pdwInfoSize, const DWORD dwFlags );
Returns S_OK if successful, or the following error value.
DPNERR_INVALIDPARAM |
DPNERR_BUFFERTOOSMALL |
DPNERR_INVALIDOBJECT |
DPNERR_INVALIDFLAGS |
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.