Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 2.98 KB

nf-ks-iksreferenceclock-getresolution.md

File metadata and controls

74 lines (56 loc) · 2.98 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ks.IKsReferenceClock.GetResolution
IKsReferenceClock::GetResolution (ks.h)
The IKsReferenceClock::GetResolution method queries the associated reference clock for its resolution.
stream\iksreferenceclock_getresolution.htm
stream
04/23/2018
IKsReferenceClock::GetResolution
GetResolution, GetResolution method [Streaming Media Devices], GetResolution method [Streaming Media Devices],IKsReferenceClock interface, IKsReferenceClock interface [Streaming Media Devices],GetResolution method, IKsReferenceClock.GetResolution, IKsReferenceClock::GetResolution, avintfc_941baf81-e369-45bc-a798-15270a6d8a29.xml, ks/IKsReferenceClock::GetResolution, stream.iksreferenceclock_getresolution
ks.h
Ks.h
Universal
Windows
IKsReferenceClock::GetResolution
ks/IKsReferenceClock::GetResolution
APIRef
kbSyntax
COM
ks.h
IKsReferenceClock::GetResolution

IKsReferenceClock::GetResolution

-description

The IKsReferenceClock::GetResolution method queries the associated reference clock for its resolution.

-parameters

-param Resolution [out]

Specifies granularity and notification error of the clock in a KSRESOLUTION structure.

-returns

The IKsReferenceClock::GetResolution method returns STATUS_SUCCESS or the error code that the relevant clock returned from its GetResolution property. See KSPROPERTY_CLOCK_RESOLUTION. May return STATUS_DEVICE_NOT_READY if no clock is assigned.

-remarks

This method retrieves the underlying clock's resolution property, which specifies the clock's increment granularity and notification error in 100-nanosecond units. The finest granularity is one unit; less granular increments contain larger numbers.

The least amount of notification error greater than the clock granularity is zero units; less accurate clocks use larger numbers to indicate error. The proxy can use this resolution property to determine maximum error and resolution in event notification and synchronization.

For more information, see AVStream Clocks.

AVStream uses the KSPROPERTY_CLOCK_RESOLUTION property to retrieve the clock resolution.

-see-also

KsPinGetReferenceClockInterface