Compartilhar via


CRefTime::operator (REFERENCE_TIME) (Compact 2013)

3/26/2014

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

Syntax

operator REFERENCE_TIME() const;

Parameters

None.

Return Value

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;

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CRefTime Class