From d35649ae925c9248d1d356f91b666debcad764c2 Mon Sep 17 00:00:00 2001 From: SonnyX Date: Fri, 8 Dec 2023 00:53:33 +0100 Subject: [PATCH] Fix name --- src/dll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dll.rs b/src/dll.rs index a891dc7..6b700bc 100644 --- a/src/dll.rs +++ b/src/dll.rs @@ -21,7 +21,7 @@ use windows::{ }; #[no_mangle] -pub extern "stdcall" fn dll_main(_hinst_dll: HINSTANCE, fdw_reason: u32, _lpv_reserved: usize) -> i32 { +pub extern "stdcall" fn DllMain(_hinst_dll: HINSTANCE, fdw_reason: u32, _lpv_reserved: usize) -> i32 { match fdw_reason { DLL_PROCESS_ATTACH => { dll_attach();