Retrieves the connection settings for a group from the DPLCONNECTION structure. Any sessions launched from this group will use these settings. This method can only be used in a lobby session.
HRESULT GetGroupConnectionSettings(
DWORD dwFlags,
DPID idGroup,
LPVOID lpData,
LPDWORD lpdwDataSize
);
Returns DP_OK if successful, or one of the following error values otherwise:
Group connection settings are only relevant for staging area groups.
You can see if a game has been launched by looking at the guidInstance data member of the DPSESSIONDESC2 structure, whose pointer is contained in the lpSessionDesc data member of the DPLCONNECTION structure returned by this method. The guidInstance will be GUID_NULL until a game has been launched.
DPLCONNECTION, IDirectPlayLobby2::RunApplication, IDirectPlay3::SetGroupConnectionSettings, DPGROUP_STAGINGAREA
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.