Share via


COARefTime::Operator =

 
Microsoft DirectShow 9.0

COARefTime::Operator =

This operator assigns a new reference time.

Syntax

  COARefTime& operator=(
    const double& rd
);

COARefTime& operator=(
    const REFERENCE_TIME& rt
);

Parameters

rd

Reference to a double value that specifies the new reference time in seconds.

rt

Reference to a REFERENCE_TIME value that specifies the new reference time in 100-nanosecond units.

Return Value

Returns a reference to the object.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also