Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceClient8.GetCompressionType

Retrieves the compression type.

GetCompressionType(lIndex As Long, _
    Data As DVCOMPRESSIONINFO, _
   lFlags As Long)

Parts

lIndex
Specific compression type. The number of supported compression types can be determined with a call to DirectPlayVoiceClient8.GetCompressionTypeCount.
Data
DVCOMPRESSIONINFO type describing compression information.
lFlags
Reserved. Must be 0.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DVERR_INVALIDPARAM
DVERR_BUFFERTOOSMALL
DVERR_INVALIDPOINTER
DVERR_INVALIDFLAGS