Update sonic.button.cpp

This commit is contained in:
The Ghost of FOSS' Future 2024-09-14 12:29:05 -05:00 committed by GitHub
parent 1714792aac
commit a881f7aef9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,10 @@
// hwnd = window handle of button provider. can be found at ButtonStatus.dll! 0x1070 // hwnd = window handle of button provider. can be found at ButtonStatus.dll! 0x1070
// msg = 0x8004 is WM_REDBUTTON // msg = 0x8004 is WM_REDBUTTON
// waram = 0 = OnRedButtonReleased, 1 = OnRedButtonPressed, 2 = Detected?, 3 = // waram = 0 = OnRedButtonReleased, 1 = OnRedButtonPressed, 2 = Detected?, 3 = Removed?
Removed?
// Param = unused // Param = unused
int main() {
SendMessage ( (HWND) 0x1000b02c8, 0x8004, 2, 0); SendMessage ( (HWND) 0x1000b02c8, 0x8004, 2, 0);
return 0;
}