mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:46:41 +00:00
Driver: Minor fixes
This commit is contained in:
parent
1a4c7b87bc
commit
2ac06198d5
@ -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"
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user