// ks.h
PFNKSCLOCK_GETTIME PfnksclockGettime;
LONGLONG PfnksclockGettime(
[in] PFILE_OBJECT FileObject
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
FileObject [in]A pointer to the FILE_OBJECT structure to which a handle was returned when the clock instance was created.
This routine returns the requested time value as a value of type LONGLONG. This value is specified in 100 nanosecond units.
You can obtain an entry point for this routine by supplying a driver-allocated KSCLOCK_FUNCTIONTABLE structure in a KSPROPERTY_CLOCK_FUNCTIONTABLE request.
KSPROPERTY_CLOCK_FUNCTIONTABLE