I am writing a kernel mode driver for windows 10 64-bit and whenever I trying to print the value of PLARGE_INTEGER(QuadPart,HighPart,LowPart), it just crash.
LONGLONG val = plrgInt->QuadPart;DbgPrint(val);
But If I just access the value in val varibale, it just run fine, only crashes when I print it. Need some help on this issue.