Skip to content

Commit 91e620d

Browse files
authored
Update libwindrv.cpp
1 parent 115605b commit 91e620d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libwindrv.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ DriverUnload(__in DRIVER_OBJECT *DriverObject)
4242
// TODO
4343
}
4444

45+
#pragma alloc_text(INIT, DriverEntry)
4546
EXTERN_C
4647
NTSTATUS
4748
DriverEntry(__in DRIVER_OBJECT *DriverObject, __in UNICODE_STRING *RegistryPath)

0 commit comments

Comments
 (0)