[ros-diffs] [sserapion] 36474: Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.

sserapion at svn.reactos.org sserapion at svn.reactos.org
Wed Sep 24 14:01:07 CEST 2008


Author: sserapion
Date: Wed Sep 24 07:01:07 2008
New Revision: 36474

URL: http://svn.reactos.org/svn/reactos?rev=36474&view=rev
Log:
Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.

Modified:
    branches/ros-amd64-bringup/reactos/include/psdk/tlhelp32.h
    branches/ros-amd64-bringup/reactos/include/psdk/winbase.h

Modified: branches/ros-amd64-bringup/reactos/include/psdk/tlhelp32.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/include/psdk/tlhelp32.h?rev=36474&r1=36473&r2=36474&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/tlhelp32.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/tlhelp32.h [iso-8859-1] Wed Sep 24 07:01:07 2008
@@ -119,7 +119,7 @@
 BOOL WINAPI Process32NextW(HANDLE,LPPROCESSENTRY32W);
 BOOL WINAPI Thread32First(HANDLE,LPTHREADENTRY32);
 BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32);
-BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,DWORD,LPDWORD);
+BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,SIZE_T,SIZE_T*);
 HANDLE WINAPI CreateToolhelp32Snapshot(DWORD,DWORD);
 #ifdef UNICODE
 #define LPMODULEENTRY32 LPMODULEENTRY32W

Modified: branches/ros-amd64-bringup/reactos/include/psdk/winbase.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/include/psdk/winbase.h?rev=36474&r1=36473&r2=36474&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/winbase.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/winbase.h [iso-8859-1] Wed Sep 24 07:01:07 2008
@@ -1974,7 +1974,7 @@
 BOOL WINAPI ReadFile(HANDLE,PVOID,DWORD,PDWORD,LPOVERLAPPED);
 BOOL WINAPI ReadFileEx(HANDLE,PVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
 BOOL WINAPI ReadFileScatter(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED);
-BOOL WINAPI ReadProcessMemory(HANDLE,PCVOID,PVOID,DWORD,PDWORD);
+BOOL WINAPI ReadProcessMemory(HANDLE,PCVOID,PVOID,SIZE_T,SIZE_T*);
 #if (_WIN32_WINNT >= 0x0600)
 VOID WINAPI RecoveryFinished(BOOL);
 HRESULT WINAPI RecoveryInProgress(OUT PBOOL);



More information about the Ros-diffs mailing list