KStrClockGetTime routine

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

Syntax


PFNKSCLOCK_GETTIME KStrClockGetTime;

LONGLONG FASTCALL KStrClockGetTime(
  _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 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.

Requirements

Target platform

Header

Ks.h (include Ks.h)

See also

KSPROPERTY_CLOCK_FUNCTIONTABLE
KSCLOCK_FUNCTIONTABLE

 

 

Send comments about this topic to Microsoft

Show: