Microsoft DirectX 9.0

MSTape Driver

This topic applies to Windows XP only.

The MSTape driver supports D-VHS and MPEG camcorder devices. It is exposed to applications as the WDM Video Capture filter. Its functionality is similar to that of MSDV, the DV camcorder driver:

Media Types

The input pin supports one media type.

Major Type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE
Sample Size 192 x 256
Format Block MPEG2_TRANSPORT_STRIDE

The output pin supports two media types.

Major Type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE
Sample Size 192 x 256
Format Block MPEG2_TRANSPORT_STRIDE

Major Type MEDIATYPE_Stream
Subtype MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE
Sample Size 188 x 256
Format Block NULL

Device Information

The driver dynamically reads information from the device configuration ROM. The application can retrieve this information by binding the device moniker to a property bag and calling the IPropertyBag::Read method.

Property Description
UniqueID_Low Unique ID of the device (low DWORD).
UniqueID_High Unique ID of the device (high DWORD)
VendorID Vendor ID.
ModelID Model ID.
VendorText Vendor name.
ModelText Device model name.
UnitModelText Unit model name; may be the same as ModelText.
DeviceOPcr0Payload oPCR (Output Plug Control) payload. Example: 146 quadlets.
DeviceOPcr0DataRate oPCR data rate. Examples: 0 (S100), 1 (S200), or 2 (S400).
DeviceClassGUID GUID that identifies the device driver. For MSTape, this value is {8C0F6AF2-0EDB-44C1-8AEB-59040BD830ED}. This GUID is defined as MSTapeDeviceGUID in the header file Xprtdefs.h.
Description A description of the device, taken from the INF file. This string usually contains the brand name of the device.

The device ID is a 64-bit integer. The low DWORD is stored in the UniqueID_Low property, and the high DWORD is stored in the UniqueID_High property.

For more information about device monikers, see Using the System Device Enumerator.

See Also