Microsoft DirectX 8.1 (C++) |
The GetStatus method returns information about the transport's status.
Syntax
HRESULT GetStatus(
long StatusItem,
long *pValue
);
Parameters
StatusItem
[in] Specifies the status information to retrieve. See Remarks for more information.
pValue
[out] Pointer to variable that receives a long integer. See Remarks for more information.
Return Values
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Remarks
The StatusItem parameter is a flag that specifies which status information to retrieve. The method returns in the information in the pValue parameter. Not every device supports every status flag. The following flags are defined:
Constant | Description |
ED_MEDIA_VHS | VHS |
ED_MEDIA_SVHS | S-VHS |
ED_MEDIA_HI8 | Hi-8 |
ED_MEDIA_UMATIC | Umatic |
ED_MEDIA_DVC | DV tape (DVC) |
ED_MEDIA_1_INCH | 1-inch tape |
ED_MEDIA_D1 | D1 format |
ED_MEDIA_D2 | D2 format |
ED_MEDIA_D3 | D3 format |
ED_MEDIA_D5 | D5 format |
ED_MEDIA_DBETA | Digital Betacam |
ED_MEDIA_BETA | Betacam |
ED_MEDIA_8MM | 8-millimeter |
ED_MEDIA_DDR | Digital disk recorder |
ED_MEDIA_SX | Betacam SX |
ED_MEDIA_OTHER | Other |
ED_MEDIA_CLV | CLV (Constant Linear Velocity, or "standard play") laserdisc |
ED_MEDIA_CAV | CAV (Constant Angular Velocity, or "extended play") laserdisc |
DV and MPEG Camcorder Implementation
MSDV supports the following status flags:
Constant | Description |
ED_MEDIA_VHS | VHS tape. |
ED_MEDIA_DVC | DV tape. |
ED_MEDIA_UNKNOWN | Unknown type. |
ED_MEDIA_NOT_PRESENT | The transport is empty. |
MSTape supports an additional media format for the ED_MEDIA_TYPE flag.
Constant | Description |
ED_MEDIA_NEO | Mini digital tape for MPEG-2 transport stream (D-VHS). |
Some of these flags are defined in the header file Xptrdefs.h.
See Also