From a881f7aef9de8c2d4bb9a9a661e129173007a758 Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Sat, 14 Sep 2024 12:29:05 -0500 Subject: [PATCH] Update sonic.button.cpp --- sonic.button.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sonic.button.cpp b/sonic.button.cpp index 189d788..85bb701 100644 --- a/sonic.button.cpp +++ b/sonic.button.cpp @@ -2,7 +2,10 @@ // hwnd = window handle of button provider. can be found at ButtonStatus.dll! 0x1070 // msg = 0x8004 is WM_REDBUTTON -// waram = 0 = OnRedButtonReleased, 1 = OnRedButtonPressed, 2 = Detected?, 3 = -Removed? +// waram = 0 = OnRedButtonReleased, 1 = OnRedButtonPressed, 2 = Detected?, 3 = Removed? // Param = unused + +int main() { SendMessage ( (HWND) 0x1000b02c8, 0x8004, 2, 0); +return 0; +}