PFNKSCORRELATEDTIME - NtDoc

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

PFNKSCORRELATEDTIME Pfnkscorrelatedtime;

LONGLONG Pfnkscorrelatedtime(
  [in]  PVOID Context,
  [out] PLONGLONG SystemTime
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnkscorrelatedtime)

PFNKSCORRELATEDTIME callback function

Description

A streaming minidriver's KStrCorrelatedTime routine is called to retrieve both the presentation time and physical time in a correlated manner. This allows the clock owner to completely determine the current time.

Parameters

Context [in]

Pointer to the minidriver-supplied information context. The minidriver passes the information context to KsAllocateDefaultClockEx in the function's DeferredContext parameter when the minidriver allocates a custom DPC timer object.

SystemTime [out]

Specifies a pointer to a variable that receives the performance counter frequency.

Return value

Returns the value of the performance counter in units of ticks.

Remarks

Typically, if a minidriver supplies a KStrCorrelatedTime callback function, the minidriver must also supply KStrSetTimer and KStrCancelTimer callback functions.

The minidriver-supplied KStrCorrelatedTimer must have the same characteristics as KeQueryPerformanceCounter.

See also

KStrCancelTimer

KStrCorrelatedTime

KeQueryPerformanceCounter

KsAllocateDefaultClockEx