windows driver 延时
#define Delay_One_MicroSecond (-10) #define Delay_One_MilliSecond (Delay_One_MicroSecond * 1000) void MySleep(LONG msec) { LARGE_INTEGER li; li.QuadPart = Delay_One_MilliSecond; li.QuadPart *= msec; KeDelayExecutionThread(KernelMode, 0, &li); }
版权声明:本文为博主原创文章,未经博主允许不得转载。