IKsClockPropertySet::KsGetCorrelatedPhysicalTime method (ksproxy.h)

The KsGetCorrelatedPhysicalTime method retrieves the physical time and the correlated system time from the underlying clock.

Syntax

HRESULT KsGetCorrelatedPhysicalTime(
  [out] KSCORRELATED_TIME *CorrelatedTime
);

Parameters

[out] CorrelatedTime

Pointer to a variable that receives a KSCORRELATED_TIME structure that contains the physical clock time along with the correlated system time.

Return value

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

Remarks

The proxy uses the KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME property to retrieve the correlated time.

Requirements

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

See also

IKsClockPropertySet::KsSetCorrelatedPhysicalTime

KSCORRELATED_TIME

KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME