Share via


CRefTime::operator REFERENCE_TIME()

 
Microsoft DirectShow 9.0

CRefTime::operator REFERENCE_TIME()

The REFERENCE_TIME() operator casts the object to a REFERENCE_TIME data type.

Syntax

  operator REFERENCE_TIME() const;

Return Value

Returns the value of CRefTime::m_time.

Remarks

The following example shows how to use this cast operator:

CRefTime cRT(1000);
REFERENCE_TIME rt = (REFERENCE_TIME)cRT;

Requirements

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

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

See Also

CRefTime Class