Commit cb1ff768 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

gdi32: Implement GdiDllInitialize stub.

This is required by several Call of Duty games that are calling this directly after loading gdi32.dll from disk. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48171Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 308a0cf7
......@@ -182,7 +182,7 @@
@ stub GdiDeleteLocalObject
# @ stub GdiDeleteSpoolFileHandle
@ stdcall GdiDescribePixelFormat(long long long ptr)
@ stub GdiDllInitialize
@ stdcall GdiDllInitialize(ptr long ptr)
@ stdcall GdiDrawStream(long long ptr)
# @ stub GdiEndDocEMF
# @ stub GdiEndPageEMF
......
......@@ -672,6 +672,19 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
return TRUE;
}
/***********************************************************************
* GdiDllInitialize
*
* Stub entry point, some games (CoD: Black Ops 3) call it directly.
*/
BOOL WINAPI GdiDllInitialize( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
FIXME("stub\n");
return TRUE;
}
static const char *gdi_obj_type( unsigned type )
{
switch ( type )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment