KSCLOCK_FUNCTIONTABLE structure (ks.h)

The KSCLOCK_FUNCTIONTABLE structure describes a function table for the master clock.

Syntax

typedef struct {
  PFNKSCLOCK_GETTIME        GetTime;
  PFNKSCLOCK_GETTIME        GetPhysicalTime;
  PFNKSCLOCK_CORRELATEDTIME GetCorrelatedTime;
  PFNKSCLOCK_CORRELATEDTIME GetCorrelatedPhysicalTime;
} KSCLOCK_FUNCTIONTABLE, *PKSCLOCK_FUNCTIONTABLE;

Members

GetTime

Pointer to a driver-allocated KStrClockGetTime routine.

GetPhysicalTime

Pointer to a driver-allocated KStrClockGetPhysicalTime routine.

GetCorrelatedTime

Pointer to a driver-allocated KStrClockGetCorrelatedTime routine.

GetCorrelatedPhysicalTime

Pointer to a driver-allocated KStrClockGetCorrelatedPhysicalTime routine.

Remarks

Supply this structure in a KSPROPERTY_CLOCK_FUNCTIONTABLE request. The property request then returns pointers to the requested routines.

The function pointers returned in this structure are valid until the clock's file object is released.

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

KSPROPERTY_CLOCK_FUNCTIONTABLE