1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added ReadProcessMemory

This commit is contained in:
Brian Fiete 2020-06-05 11:23:39 -07:00
parent 71bc9c5d61
commit abfab35f93

View file

@ -1257,6 +1257,9 @@ namespace System
[CLink, CallingConvention(.Stdcall)]
public static extern Handle CreateRemoteThread(ProcessHandle process, SecurityAttributes* threadAttributes, int stackSize, void* startAddress, void* parameter, int32 creationFlags, int32* threadId);
[CLink, CallingConvention(.Stdcall)]
public static extern IntBool ReadProcessMemory(ProcessHandle process, void* baseAddress, void* buffer, int size, int* numberOfBytesRead);
[CLink, CallingConvention(.Stdcall)]
public static extern IntBool WriteProcessMemory(ProcessHandle process, void* baseAddress, void* buffer, int size, int* numberOfBytesWritten);