| Platform SDK: DirectX | 
The IDirectPlay4::GetSessionDesc method retrieves the properties of the current open session.
HRESULT GetSessionDesc( LPVOID lpData, LPDWORD lpdwDataSize );
Returns DP_OK if successful, or one of the following error values otherwise:
| DPERR_BUFFERTOOSMALL | 
| DPERR_INVALIDOBJECT | 
| DPERR_INVALIDPARAMS | 
| DPERR_NOCONNECTION | 
After this method returns, the pointer lpData should be cast to the DPSESSIONDESC2 structure to read the session description data.
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.
  Import Library: Use dplayx.lib.
DPSESSIONDESC2, IDirectPlay4::EnumSessions, IDirectPlay4::Open