d3d8: Avoid LPVOID.

This commit is contained in:
Henri Verbeet 2013-09-12 09:20:55 +02:00 committed by Alexandre Julliard
parent 545f83bc8f
commit ce81f0809d
1 changed files with 3 additions and 4 deletions

View File

@ -57,11 +57,10 @@ IDirect3D8 * WINAPI DECLSPEC_HOTPATCH Direct3DCreate8(UINT sdk_version)
}
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
TRACE("fdwReason=%d\n", fdwReason);
if (fdwReason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(hInstDLL);
if (reason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(inst);
return TRUE;
}