CRefTime::operator (REFERENCE_TIME)

Cast operator that enables a CRefTime object to be used in place of a REFERENCE_TIME object.

operator REFERENCE_TIME() const;

Return Values

Returns the value of m_time.

Remarks

The following example shows how this cast operator can be used.

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

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.