Driver: Minor fixes

This commit is contained in:
Nodir Temirkhodjaev 2024-03-01 11:45:09 +03:00
parent 1a4c7b87bc
commit 2ac06198d5
3 changed files with 1 additions and 4 deletions

View File

@ -7,8 +7,6 @@
#include "fortcout.h"
#include "fortdbg.h"
#include "fortpkt.h"
#include "fortps.h"
#include "fortscb.h"
#include "forttrace.h"
#include "fortutl.h"

View File

@ -5,7 +5,6 @@
#include "fortcb.h"
#include "fortdbg.h"
#include "fortdev.h"
#include "fortpkt.h"
static NTSTATUS fort_syscb_register(
PCWSTR sourcePath, PCALLBACK_OBJECT *cb_obj, PVOID *cb_reg, PCALLBACK_FUNCTION cb_func)

View File

@ -75,7 +75,7 @@ void fort_timer_set_running(PFORT_TIMER timer, BOOL run)
const ULONG interval = (flags & FORT_TIMER_ONESHOT) != 0 ? 0 : period;
const ULONG delay = (flags & FORT_TIMER_COALESCABLE) != 0 ? 500 : 0;
LARGE_INTEGER due = {
const LARGE_INTEGER due = {
.QuadPart = (INT64) period * -10000LL /* ms -> us */
};