Bewerken

Delen via


IKsClockPropertySet::KsGetPhysicalTime method (ksproxy.h)

The KsGetPhysicalTime method retrieves the physical time from the underlying clock.

Syntax

HRESULT KsGetPhysicalTime(
  [out] LONGLONG *Time
);

Parameters

[out] Time

Pointer to a variable that receives the current physical time.

Return value

Returns NOERROR if successful; otherwise, returns an error code.

Remarks

The physical time is based on some underlying physical clock that always progresses, even if the physical type of clock must be changed in real time. Other physical clocks use an underlying clock's physical time for rate matching.

The proxy uses the KSPROPERTY_CLOCK_PHYSICALTIME property to retrieve the physical time.

Requirements

Requirement Value
Target Platform Desktop
Header ksproxy.h (include Ksproxy.h)

See also

IKsClockPropertySet::KsSetPhysicalTime

KSPROPERTY_CLOCK_PHYSICALTIME