HW_CLOCK_OBJECT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// strmini.h

typedef struct _HW_CLOCK_OBJECT {
  PHW_CLOCK_FUNCTION HwClockFunction;
  ULONG              ClockSupportFlags;
  ULONG              Reserved[2];
} HW_CLOCK_OBJECT, *PHW_CLOCK_OBJECT;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-strmini-_hw_clock_object)

_HW_CLOCK_OBJECT structure

Description

The HW_CLOCK_OBJECT structure describes the clock associated with a stream.

Members

HwClockFunction

Pointer to the stream's StrMiniClock routine.

ClockSupportFlags

Specifies which options the StrMiniClock routine supports.

CLOCK_SUPPORT_CAN_READ_ONBOARD_CLOCK

The StrMiniClock routine can return the current clock value for the stream's clock. The StrMiniClock routine must be able to handle a Function setting of TIME_READ_ONBOARD_CLOCK in the HW_TIME_CONTEXT structure passed as a parameter.

CLOCK_SUPPORT_CAN_RETURN_STREAM_TIME

The StrMiniClock routine can return the current presentation time stamp for the stream. The StrMiniClock routine must be able to handle a Function setting of TIME_GET_STREAM_TIME in the HW_TIME_CONTEXT structure passed as a parameter.

Reserved

Reserved for system use. Do not use.

See also

HW_STREAM_OBJECT

HW_TIME_CONTEXT

StrMiniClock