Author: tfaber Date: Wed Oct 12 12:07:44 2016 New Revision: 72959
URL: http://svn.reactos.org/svn/reactos?rev=72959&view=rev Log: [USER32] - Remove IsBadWritePtr hack. Patch by Katayama Hirofumi MZ. CORE-12136 #resolve
Modified: trunk/reactos/win32ss/user/user32/misc/resources.c
Modified: trunk/reactos/win32ss/user/user32/misc/resources.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/re... ============================================================================== --- trunk/reactos/win32ss/user/user32/misc/resources.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/misc/resources.c [iso-8859-1] Wed Oct 12 12:07:44 2016 @@ -12,12 +12,6 @@
typedef DWORD (WINAPI *CMP_REGNOTIFY) (HANDLE, LPVOID, DWORD, PULONG); typedef DWORD (WINAPI *CMP_UNREGNOTIFY) (ULONG ); - -/* FIXME: Currently IsBadWritePtr is implemented using VirtualQuery which - does not seem to work properly for stack address space. */ -/* kill `left-hand operand of comma expression has no effect' warning */ -#define IsBadWritePtr(lp, n) ((DWORD)lp==n?0:0) -
static HINSTANCE hSetupApi = NULL;