From 6c602fd542b7f97e3a23ef27c3839656906c98de Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 28 Jul 2021 16:53:41 +0200 Subject: Fixed ctor/dtor issue allowing use of static qualifiers for non primitives. * split CRT in a C and C++ part * use "fake" entry point to init CRT and set a DriverUnload routine for de-init * added -Wl,--exclude-all-symbols to DRIVER_LDFLAGS Signed-off-by: Toni Uhlig --- ddk-template.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ddk-template.c') diff --git a/ddk-template.c b/ddk-template.c index 9667b18..2d7becd 100644 --- a/ddk-template.c +++ b/ddk-template.c @@ -13,9 +13,6 @@ NTSTATUS DriverEntry( DbgPrint("%s\n", "Hello ring0!"); - /* support for service stopping */ - DriverObject->DriverUnload = DriverUnload; - return STATUS_SUCCESS; } -- cgit v1.2.3