[USER32]
authorThomas Faber <thomas.faber@reactos.org>
Wed, 12 Oct 2016 12:07:44 +0000 (12:07 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Wed, 12 Oct 2016 12:07:44 +0000 (12:07 +0000)
- Remove IsBadWritePtr hack. Patch by Katayama Hirofumi MZ.
CORE-12136 #resolve

svn path=/trunk/; revision=72959

reactos/win32ss/user/user32/misc/resources.c

index 4f5107c..9148f2f 100644 (file)
@@ -13,12 +13,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(resource);
 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;
 
 /**********************************************************************