mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
[DDRAW]
- Comment out usage of GET_MODULE_HANDLE_EX_FLAG_PIN because it doesn't work. svn path=/trunk/; revision=61844
This commit is contained in:
parent
275f6e8360
commit
78cd1ad557
|
@ -879,7 +879,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
|
||||||
* an application would unload ddraw from the WM_DESTROY handler for
|
* an application would unload ddraw from the WM_DESTROY handler for
|
||||||
* that window, it would return to unmapped memory and die. Apparently
|
* that window, it would return to unmapped memory and die. Apparently
|
||||||
* this is supposed to work on Windows. */
|
* 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))
|
(const WCHAR *)&ddraw_self, &ddraw_self))
|
||||||
ERR("Failed to get own module handle.\n");
|
ERR("Failed to get own module handle.\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue