ViShutdownScheduleWatchdog
INT64 __stdcall ViShutdownScheduleWatchdog(){
INT64 result;
if( !VfShutdownThread )
VfShutdownThread = (ULONG_PTR)KeGetCurrentThread();
KeInitializeDpc(&ViShutdownWatchdogDpc, ViShutdownWatchdogExecuteDpc, 0i64);
KeInitializeTimerEx((PKTIMER)ViShutdownWatchdogTimer, NotificationTimer);
KiSetTimerEx((_KTIMER *)ViShutdownWatchdogTimer, (_LARGE_INTEGER)-6000000000i64, 0i64, 0, &ViShutdownWatchdogDpc);
return result;
}Referenced by:
VfShutdownScheduleWatchdog
ViShutdownWatchdogExecuteDpc