Microsoft DirectX 9.0


The GetStatus method returns information about the transport's status.


HRESULT GetStatus(
  long StatusItem,
  long *pValue



[in]  Specifies the status information to retrieve. See Remarks for more information.


[out]  Pointer to variable that either specifies or receives a long integer, whose meaning depends on the value of StatusItem. See Remarks for more information.

Return Values

When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.


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:

DV Implementation

MSDV supports the following status flags:

MPEG Camcorder Implementation

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