Microsoft Windows CE 3.0  

COARefTime Class

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This class converts between the Automation-compatible REFTIME type and the REFERENCE_TIME type used within and between filters.

Time parameters within the control interfaces are represented as doublevalues, containing a fractional number of seconds. Interfaces supported between and within filters use a 64-bit LONGLONGtype containing the time in 100-nanosecond units. Filters use this class to convert between the two formats. It is derived from CRefTimeand thus is a LONGLONG, but it can be constructed from and assigned doublevalues.

Member Functions

COARefTime Constructs a COARefTimeobject.

Operators

double Returns the reference time as a double value.
Operator = Copy constructor for the COARefTime class.
Operator == Tests for equality between COARefTime objects.
Operator != Tests for inequality between COARefTime objects.
Operator < Tests if one COARefTime object is less than another COARefTime object.
Operator > Tests if one COARefTime object is greater than another COARefTime object.
Operator <= Tests if one COARefTime object is less than or equal to another COARefTime object.
Operator >= Tests if one COARefTime object is greater than or equal to another COARefTime object.
Operator + Adds two COARefTime objects.
Operator – Subtracts one COARefTime object from another COARefTime object.
Operator += Adds two COARefTime objects and makes this object equal to the result.
Operator –= Subtracts one COARefTime object from another COARefTime object and makes this object equal to the result.
Operator * Multiplies two COARefTime objects.
Operator / Divides one COARefTime object by another COARefTime object.