IPropertySetter::SetProps

 
Microsoft DirectShow 9.0

IPropertySetter::SetProps

The SetProps method sets the properties of the target object to the appropriate state for the specified time.

Syntax

  HRESULT SetProps(
    IUnknown *pTarget,
    REFERENCE_TIME rtNow
);

Parameters

pTarget

[in] Pointer to the target object for which to set the properties.

rtNow

[in] Time at which to set the properties, in 100-nanosecond units, or –1 to set static properties (those that do not vary over time).

Return Value

Returns an HRESULT value.

Remarks

This method is called by DES to set the properties on a transition or effect. An application will not normally call this method.

The object specified by pTarget must implement the IDispatch interface.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also