mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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:
parent
b2a7aa0781
commit
092aeee1ca
5 changed files with 67 additions and 0 deletions
10
reactos/lib/msimg32/.cvsignore
Normal file
10
reactos/lib/msimg32/.cvsignore
Normal file
|
@ -0,0 +1,10 @@
|
|||
temp.exp
|
||||
*.d
|
||||
*.a
|
||||
*.dll
|
||||
*.lib
|
||||
*.sym
|
||||
*.coff
|
||||
*.map
|
||||
*.tmp
|
||||
*.o
|
30
reactos/lib/msimg32/Makefile
Normal file
30
reactos/lib/msimg32/Makefile
Normal 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
|
13
reactos/lib/msimg32/msimg32.c
Normal file
13
reactos/lib/msimg32/msimg32.c
Normal 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)
|
||||
{
|
||||
}
|
7
reactos/lib/msimg32/msimg32.def
Normal file
7
reactos/lib/msimg32/msimg32.def
Normal file
|
@ -0,0 +1,7 @@
|
|||
LIBRARY msimg32.dll
|
||||
EXPORTS
|
||||
AlphaBlend@1
|
||||
DllInitialize@2
|
||||
GradientFill@3
|
||||
TransparentBlt@4
|
||||
vSetDdrawflag@5
|
7
reactos/lib/msimg32/msimg32.edf
Normal file
7
reactos/lib/msimg32/msimg32.edf
Normal 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
|
Loading…
Reference in a new issue