RE: how to get the system time in the kernel

-----Original Message-----
From: sak [mailto:xxxxx@hpsblr.soft.net]

I have the KeQuerySystemTime to get the system time but it Returns a
LARGE_INTEGER union. and its creating problem regarding the calculations of
the difference between the various time.

[UNNI] Can u make it more clear? Normally, we can calculate differences
using the QuadPart member of LARGE_INTEGER union.
Eg:
LARGE_INTEGER x,y,z;
z.QuadPart = x.QuadPart - y.QuadPart // assuming x>y

However, if there are any constants involved, it is better to specify their
type explicitly, Eg: (0i64 instead of 0)

HTH,
Unni Sankar