PFNKSCLOCK_GETTIME - NtDoc

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

PFNKSCLOCK_GETTIME PfnksclockGettime;

LONGLONG PfnksclockGettime(
  [in] PFILE_OBJECT FileObject
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFNKSCLOCK_GETTIME callback function

Description

The routine gets system time.

KStrClockGetTime is a system-supplied routine that retrieves the current system time.

KStrClockGetPhysicalTime is a system-supplied routine that retrieves the current system time minus any suspended delta.

Parameters

FileObject [in]

A pointer to the FILE_OBJECT structure to which a handle was returned when the clock instance was created.

Return value

This routine returns the requested time value as a value of type LONGLONG. This value is specified in 100 nanosecond units.

Remarks

You can obtain an entry point for this routine by supplying a driver-allocated KSCLOCK_FUNCTIONTABLE structure in a KSPROPERTY_CLOCK_FUNCTIONTABLE request.

See also

KSCLOCK_FUNCTIONTABLE

KSPROPERTY_CLOCK_FUNCTIONTABLE