mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:39:43 +00:00
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=48171 Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
308a0cf72d
commit
cb1ff768ac
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue