mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -0,0 +1,10 @@
|
||||
temp.exp
|
||||
*.d
|
||||
*.a
|
||||
*.dll
|
||||
*.lib
|
||||
*.sym
|
||||
*.coff
|
||||
*.map
|
||||
*.tmp
|
||||
*.o
|
||||
@@ -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
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
LIBRARY msimg32.dll
|
||||
EXPORTS
|
||||
AlphaBlend@1
|
||||
DllInitialize@2
|
||||
GradientFill@3
|
||||
TransparentBlt@4
|
||||
vSetDdrawflag@5
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user