COARefTime Class (Compact 2013)
3/26/2014
** COARefTime**
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 double values, containing a fractional number of seconds.
Interfaces supported between and within filters use a 64-bit LONGLONG type containing the time in 100-nanosecond units.
Filters use this class to convert between the two formats. It is derived from CRefTime and thus is a LONGLONG, but it can be constructed from and assigned double values.
Member Functions
Member function |
Description |
---|---|
Constructs a COARefTime object. |
Operators
Operator |
Description |
---|---|
Returns the reference time as a double value. |
|
Copy constructor for the COARefTime class. |
|
Tests for equality between COARefTime objects. |
|
Tests for inequality between COARefTime objects. |
|
Tests if one COARefTime object is less than another COARefTime object. |
|
Tests if one COARefTime object is greater than another COARefTime object. |
|
Tests if one COARefTime object is less than or equal to another COARefTime object. |
|
Tests if one COARefTime object is greater than or equal to another COARefTime object. |
|
Adds two COARefTime objects. |
|
Subtracts one COARefTime object from another COARefTime object. |
|
Adds two COARefTime objects and makes this object equal to the result. |
|
Subtracts one COARefTime object from another COARefTime object and makes this object equal to the result. |
|
Multiplies two COARefTime objects. |
|
Divides one COARefTime object by another COARefTime object. |
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |