HW_CLOCK_OBJECT structure (strmini.h)

The HW_CLOCK_OBJECT structure describes the clock associated with a stream.

Syntax

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

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[2]

Reserved for system use. Do not use.

Requirements

Requirement Value
Header strmini.h (include Strmini.h)

See also

HW_STREAM_OBJECT

HW_TIME_CONTEXT

StrMiniClock