Author: jgardou
Date: Sun Jan 26 20:55:38 2014
New Revision: 61844
URL:
http://svn.reactos.org/svn/reactos?rev=61844&view=rev
Log:
[DDRAW]
- Comment out usage of GET_MODULE_HANDLE_EX_FLAG_PIN because it doesn't work.
Modified:
trunk/reactos/dll/directx/wine/ddraw/main.c
Modified: trunk/reactos/dll/directx/wine/ddraw/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/ddraw/mai…
==============================================================================
--- trunk/reactos/dll/directx/wine/ddraw/main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/ddraw/main.c [iso-8859-1] Sun Jan 26 20:55:38 2014
@@ -879,7 +879,7 @@
* an application would unload ddraw from the WM_DESTROY handler for
* that window, it would return to unmapped memory and die. Apparently
* this is supposed to work on Windows. */
- if (!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS |
GET_MODULE_HANDLE_EX_FLAG_PIN,
+ if (!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS /*|
GET_MODULE_HANDLE_EX_FLAG_PIN*/,
(const WCHAR *)&ddraw_self, &ddraw_self))
ERR("Failed to get own module handle.\n");