If you are writing an AVStream minidriver, refer to AVStream Clocks.
Kernel streaming minidrivers support clock operations by providing callbacks for the properties in the set KSPROPSETID_CLOCK. To learn how to do this, see KS Properties.
A user mode client can request to be notified when a clock reaches a certain time stamp, or to receive periodic notification that a fixed amount of time on the clock has elapsed. To do so, clients register KSEVENT_CLOCK_POSITION_MARK and KSEVENT_CLOCK_INTERVAL_MARK.
This section contains information on the following topics: