Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Nov 15, 2023
1 parent 9260313 commit 74d51d8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions test/testdrv1/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#include <libwindrv/libwindrv.h>

DECLSPEC_NOINLINE
EXTERN_C
VOID
main2();

EXTERN_C
VOID
LibWinDrvDriverUnLoad(__in DRIVER_OBJECT *DriverObject)
Expand Down Expand Up @@ -64,6 +69,7 @@ LibWinDrvDriverEntry(__in DRIVER_OBJECT *DriverObject, __in UNICODE_STRING *Regi
}
printf("hello world2\n");*/
// KCETBSOD();
main2();

return STATUS_SUCCESS;
}
9 changes: 9 additions & 0 deletions test/testdrv1/main2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include <libwindrv/libwindrv.h>

DECLSPEC_NOINLINE
EXTERN_C
VOID
main2()
{
printf("main2\n");
}

0 comments on commit 74d51d8

Please sign in to comment.