Microsoft DirectX 8.1 (Visual Basic)

DVSESSIONDESC

Describes the desired or current session settings for the Microsoft® DirectPlay® Voice server. This structure is used by the voice session host to configure the session, and by the session host and the clients to retrieve information about the current session. The lFlags, lSessionType, and guidCT members can only be set when the host starts the voice session. The host can change the buffer settings at any time.

Type DVSESSIONDESC
    guidCT As String
    lBufferAggressiveness As CONST_DVBUFFERAGGRESSIVENESS
    lBufferQuality As CONST_DVBUFFERQUALITY
    lFlags As CONST_DVSESSION
    lSessionType As CONST_DVSESSIONTYPE
End Type

Members

guidCT
String value specifying the GUID of the compression type of the session.
lBufferAggressiveness
One of the constants of the CONST_DVBUFFERAGGRESSIVENESS enumeration that specifies the buffer aggressiveness setting. This member is unused for all session types except mixing sessions. For all sessions except mixing sessions, set this member to DVBUFFERAGGRESSIVENESS_DEFAULT.

Allowable values are between DVBUFFERAGGRESSIVENESS _MIN and DVBUFFERAGGRESSIVENESS _MAX. Additionally, this member can be set to the following value.

DVBUFFERAGGRESSIVENESS_DEFAULT
Specifying this value tells DirectPlay Voice to use the system default for this value, which is adjustable through a registry entry that can also be set through Control Panel.
lBufferQuality
One of the constants of the CONST_DVBUFFERQUALITY enumeration that specifies the buffer quality setting. This member is unused for all session types except mixing sessions. For all sessions except mixing sessions, set this member to DVBUFFERQUALITY_DEFAULT.

Allowable values are between DVBUFFERQUALITY_MIN and DVBUFFERQUALITY_MAX. Additionally, this member can be set to the following value.

DVBUFFERQUALITY_DEFAULT
Specifying this value tells DirectPlay Voice to use the system default for this value, which is adjustable through a registry entry that can also be set through Sounds and Multimedia in Control Panel.
lFlags
Combination of the flags of the CONST_DVSESSION enumeration.
lSessionType
One of the flags of the CONST_DVSESSIONTYPE enumeration to specify the type of DirectPlay Voice session to run. The DVSESSIONTYPE_PEER flag is not available in client/server sessions; all other flags are valid for all session types.