Microsoft DirectX 9.0

IAMExtTransport::GetStatus

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 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.

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:

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