Microsoft DirectX 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;

See Also

CRefTime Class