"Detlef Riekenberg" <wine.dev at web.de> wrote: > +ULONGLONG WINAPI KeQueryInterruptTime( void ) > +{ > + ULONGLONG totaltime; > + > + KeQueryTickCount( (LARGE_INTEGER *) &totaltime); > + return totaltime; > +} Why not have a local variable of type LARGE_INTEGER and return li.QuadPart ? -- Dmitry.