33#include " ../ReClassNET_Plugin.hpp"
44#include " ../Shared/Keys.hpp"
55
6- extern " C"
7- {
8- void RC_CallConv EnumerateProcesses (EnumerateProcessCallback callbackProcess);
9- void RC_CallConv EnumerateRemoteSectionsAndModules (RC_Pointer handle, EnumerateRemoteSectionsCallback callbackSection, EnumerateRemoteModulesCallback callbackModule);
6+ void RC_CallConv EnumerateProcesses (EnumerateProcessCallback callbackProcess);
7+ void RC_CallConv EnumerateRemoteSectionsAndModules (RC_Pointer handle, EnumerateRemoteSectionsCallback callbackSection, EnumerateRemoteModulesCallback callbackModule);
108
11- RC_Pointer RC_CallConv OpenRemoteProcess (RC_Pointer id, ProcessAccess desiredAccess);
12- bool RC_CallConv IsProcessValid (RC_Pointer handle);
13- void RC_CallConv CloseRemoteProcess (RC_Pointer handle);
9+ RC_Pointer RC_CallConv OpenRemoteProcess (RC_Pointer id, ProcessAccess desiredAccess);
10+ bool RC_CallConv IsProcessValid (RC_Pointer handle);
11+ void RC_CallConv CloseRemoteProcess (RC_Pointer handle);
1412
15- bool RC_CallConv ReadRemoteMemory (RC_Pointer handle, RC_Pointer address, RC_Pointer buffer, int offset, int size);
16- bool RC_CallConv WriteRemoteMemory (RC_Pointer handle, RC_Pointer address, RC_Pointer buffer, int offset, int size);
13+ bool RC_CallConv ReadRemoteMemory (RC_Pointer handle, RC_Pointer address, RC_Pointer buffer, int offset, int size);
14+ bool RC_CallConv WriteRemoteMemory (RC_Pointer handle, RC_Pointer address, RC_Pointer buffer, int offset, int size);
1715
18- void RC_CallConv ControlRemoteProcess (RC_Pointer handle, ControlRemoteProcessAction action);
16+ void RC_CallConv ControlRemoteProcess (RC_Pointer handle, ControlRemoteProcessAction action);
1917
20- bool RC_CallConv AttachDebuggerToProcess (RC_Pointer id);
21- void RC_CallConv DetachDebuggerFromProcess (RC_Pointer id);
22- bool RC_CallConv AwaitDebugEvent (DebugEvent* evt, int timeoutInMilliseconds);
23- void RC_CallConv HandleDebugEvent (DebugEvent* evt);
24- bool RC_CallConv SetHardwareBreakpoint (RC_Pointer id, RC_Pointer address, HardwareBreakpointRegister reg, HardwareBreakpointTrigger type, HardwareBreakpointSize size, bool set);
18+ bool RC_CallConv AttachDebuggerToProcess (RC_Pointer id);
19+ void RC_CallConv DetachDebuggerFromProcess (RC_Pointer id);
20+ bool RC_CallConv AwaitDebugEvent (DebugEvent* evt, int timeoutInMilliseconds);
21+ void RC_CallConv HandleDebugEvent (DebugEvent* evt);
22+ bool RC_CallConv SetHardwareBreakpoint (RC_Pointer id, RC_Pointer address, HardwareBreakpointRegister reg, HardwareBreakpointTrigger type, HardwareBreakpointSize size, bool set);
2523
26- RC_Pointer RC_CallConv InitializeInput ();
27- bool RC_CallConv GetPressedKeys (RC_Pointer handle, Keys* state[], int * count);
28- void RC_CallConv ReleaseInput (RC_Pointer handle);
29- }
24+ RC_Pointer RC_CallConv InitializeInput ();
25+ bool RC_CallConv GetPressedKeys (RC_Pointer handle, Keys* state[], int * count);
26+ void RC_CallConv ReleaseInput (RC_Pointer handle);
0 commit comments