mirror of
https://github.com/trickster0/OffensiveRust
synced 2026-06-08 17:54:47 +00:00
Cleaning up code
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user