Cleaning up code

This commit is contained in:
Idov31
2022-04-29 17:44:58 +03:00
parent b87f89ea95
commit ed06050254
-8
View File
@@ -17,14 +17,6 @@ static_detour! {
static MsgBox: unsafe extern "system" fn(HWND, LPCSTR, LPCSTR, UINT) -> i32;
}
unsafe fn hooked_messagebox(hwnd: HWND, lp_text: LPCSTR, lp_caption: LPCSTR, u_type: UINT) -> i32 {
println!("Hooked MessageBoxA");
unsafe {
MsgBox.call(hwnd, lp_text, lp_caption, u_type)
}
}
fn main() {
unsafe {