Microsoft DirectX 9.0

IAMExtTransport::SetTransportBasicParameters

The SetTransportBasicParameters method sets general properties of the transport.

Syntax

HRESULT SetTransportBasicParameters(
  long Param,
  long Value,
  LPCOLESTR pszData
);

Parameters

Param

[in]  Specifies which property to set. See Remarks for more information.

Value

[in]  Specifies the value of the property as a long integer. See Remarks for more information.

pszData

[in]  Specifies the value of the property as an LPOLESTR. See Remarks for more information.

Return Values

When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code. Possible error codes include the following.

Return code Description
E_NOTIMPL Device does not support setting this property.
ERROR_DEVICE_REMOVED Device was removed.

Remarks

The Param parameter is a flag that specifies which property to set. For some flags, the property is numeric; use the Value parameter to specify the value. For other flags, the property is a string; use the pszData parameter to specify the value. In either case, the method ignores the other parameter.

For the following flags, the Value parameter takes a defined constant.

For the following flags, use a numeric value in the Value parameter.

Flag Description
ED_TRANSBASIC_STEP_COUNT Specifies the step count, in units defined by the ED_TRANSBASIC_STEP_UNIT flag.
ED_TRANSBASIC_SET_FREEZE_TIMEOUT Specifies the timeout for freeze mode, in units of the current time format.
ED_TRANSBASIC_SETCLOCK Sets the clock time.
ED_TRANSBASIC_SET_COUNTER_VALUE Sets the value of the counter.

For the following flags, use a string in the pszData parameter.

Flag Description
ED_TRANSBASIC_VOLUME_NAME Specifies the volume name.

DV Implementation

MSDV does not support this method. It returns E_NOTIMPL.

See Also