IKsClockPropertySet::KsGetTime method (ksproxy.h)

The KsGetTime method retrieves the time of the underlying clock.

Syntax

HRESULT KsGetTime(
  [out] LONGLONG *Time
);

Parameters

[out] Time

Pointer to a variable that receives the current clock time.

Return value

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

Remarks

The proxy uses the KSPROPERTY_CLOCK_TIME property to retrieve the current clock time.

Requirements

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

See also

IKsClockPropertySet::KsSetTime

KSPROPERTY_CLOCK_TIME