diff options
Diffstat (limited to 'api/rundll32.c')
-rw-r--r-- | api/rundll32.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/rundll32.c b/api/rundll32.c index 31f240f..05a8323 100644 --- a/api/rundll32.c +++ b/api/rundll32.c @@ -145,6 +145,19 @@ cleanup: Done(); } +VOID __stdcall DeleteDriver(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) +{ +# pragma EXPORT + UNREFERENCED_PARAMETER(hwnd); + UNREFERENCED_PARAMETER(hinst); + UNREFERENCED_PARAMETER(lpszCmdLine); + UNREFERENCED_PARAMETER(nCmdShow); + + Init(); + WriteFormatted(STD_OUTPUT_HANDLE, L"%1!X!", WintunDeleteDriver()); + Done(); +} + #ifdef _DEBUG VOID __stdcall DoThingsForDebugging(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { |