Microsoft DirectX 8.1 (C++)

IAMExtTransport::GetTransportBasicParameters

The GetTransportBasicParameters method retrieves general properties of the external transport.

Syntax

HRESULT GetTransportBasicParameters(
  long Param,
  long *pValue,
  LPOLESTR *ppszData
);

Parameters

Param

[in]  Specifies which property to receive.

pValue

[out]  Pointer to a variable that receives a long integer value. See Remarks for more information.

ppszData

[out]  Pointer to a variable of type LPOLESTR that receives a string. See Remarks for more information.

Return Values

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

Remarks

The Param parameter is a flag that specifies which property to retrieve. Some properties are numeric; these are returned in the pValue parameter. Other properties are string values; these are returned in the ppszData parameter. For a list of flags and expected values, see IAMExtTransport::SetTransportBasicParameters.

If the method returns a string, the caller must free the string, using the CoTaskMemFree function.

DV and MPEG Camcorder Implementation

MSDV supports the following additional flags:

MSTape supports additional values for ED_TRANSBASIC_INPUT_SIGNAL and ED_TRANSBASIC_INPUT_SIGNAL.

Constant Description
ED_TRANSBASIC_SIGNAL_2500_60_MPEG 25-Mbps/60 MPEG stream.
ED_TRANSBASIC_SIGNAL_1250_60_MPEG 12.5-Mbps/60 MPEG stream.
ED_TRANSBASIC_SIGNAL_0625_60_MPEG 6.25-Mbps/60 MPEG stream.
ED_TRANSBASIC_SIGNAL_2500_50_MPEG 25-Mbps/50 MPEG stream.
ED_TRANSBASIC_SIGNAL_1250_50_MPEG 12.5-Mbps/50 MPEG stream.
ED_TRANSBASIC_SIGNAL_0625_50_MPEG 6.25-Mbps/50 MPEG stream.
ED_TRANSBASIC_SIGNAL_UNKNOWN Unknown signal format.

These flags are defined in the header file Xprtdefs.h.

See Also