KStrClockGetPhysicalTime routine
KStrClockGetPhysicalTime is a system-supplied routine that retrieves the current system time minus any suspended delta.
Syntax
PFNKSCLOCK_GETTIME KStrClockGetPhysicalTime;
LONGLONG FASTCALL KStrClockGetPhysicalTime(
_In_ PFILE_OBJECT FileObject
)
{ ... }
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 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.
Requirements
Target platform |
Desktop |
Header |
Ks.h (include Ks.h) |
See also
KSPROPERTY_CLOCK_FUNCTIONTABLE