Path by Filip Navarra, implementing initial version MSIMG32 dll that just calls relevant gdi32.dll functions.

svn path=/trunk/; revision=6091
This commit is contained in:
Aleksey Bragin 2003-09-18 15:44:43 +00:00
parent b2a7aa0781
commit 092aeee1ca
5 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,10 @@
temp.exp
*.d
*.a
*.dll
*.lib
*.sym
*.coff
*.map
*.tmp
*.o

View file

@ -0,0 +1,30 @@
PATH_TO_TOP = ../..
TARGET_TYPE = dynlink
TARGET_NAME = msimg32
TARGET_BASE = 0x69cc0000
TARGET_CFLAGS = -fno-builtin -D__USE_W32API
# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -DUNICODE -D_UNICODE
TARGET_LFLAGS = -nostdlib -nostartfiles
TARGET_SDKLIBS = gdi32.a kernel32.a
TARGET_NORC = yes
TARGET_OBJECTS = msimg32.o
DEP_OBJECTS = $(TARGET_OBJECTS)
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# include $(TOOLS_PATH)/depend.mk
# EOF

View file

@ -0,0 +1,13 @@
#include <windows.h>
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(hinstDLL);
return TRUE;
}
VOID WINAPI vSetDdrawflag(void)
{
}

View file

@ -0,0 +1,7 @@
LIBRARY msimg32.dll
EXPORTS
AlphaBlend@1
DllInitialize@2
GradientFill@3
TransparentBlt@4
vSetDdrawflag@5

View file

@ -0,0 +1,7 @@
LIBRARY msimg32.dll
EXPORTS
AlphaBlend=GDI32.GdiAlphaBlend @1
DllInitialize=DllMain@12 @2
GradientFill=GDI32.GdiGradientFill @3
TransparentBlt=GDI32.GdiTransparentBlt @4
vSetDdrawflag=vSetDdrawflag@0 @5