Added some stubs.
This commit is contained in:
parent
b637d8a221
commit
39bcf9d6d4
|
@ -5,8 +5,8 @@ import ntdll.dll
|
||||||
|
|
||||||
debug_channels (msimg32)
|
debug_channels (msimg32)
|
||||||
|
|
||||||
@ stub AlphaBlend
|
@ stdcall AlphaBlend(long long long long long long long long long long long) AlphaBlend
|
||||||
@ stub DllInitialize
|
@ stub DllInitialize
|
||||||
@ stdcall GradientFill(long ptr long ptr long long) GradientFill
|
@ stdcall GradientFill(long ptr long ptr long long) GradientFill
|
||||||
@ stub TransparentBlt
|
@ stdcall TransparentBlt(long long long long long long long long long long long) TransparentBlt
|
||||||
@ stub vSetDdrawflag
|
@ stdcall vSetDdrawflag() vSetDdrawflag
|
||||||
|
|
|
@ -17,15 +17,57 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
#include "wingdi.h"
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
|
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
|
||||||
|
|
||||||
BOOL WINAPI GradientFill(HDC hdc, void * vert_array, ULONG nvert,
|
|
||||||
|
/******************************************************************************
|
||||||
|
* GradientFill (MSIMG32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI GradientFill( HDC hdc, TRIVERTEX *vert_array, ULONG nvert,
|
||||||
void * grad_array, ULONG ngrad, ULONG mode )
|
void * grad_array, ULONG ngrad, ULONG mode )
|
||||||
{
|
{
|
||||||
FIXME("stub: %ld vertices %ld gradients mode %lx\n", nvert, ngrad, mode);
|
FIXME("stub: %ld vertices %ld gradients mode %lx\n", nvert, ngrad, mode);
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* AlphaBlend (MSIMG32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI AlphaBlend( HDC hdcDest, int xDest, int yDest, int widthDest, int heightDst,
|
||||||
|
HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc,
|
||||||
|
BLENDFUNCTION func )
|
||||||
|
{
|
||||||
|
FIXME("stub: AlphaBlend from %x to %x\n", hdcSrc, hdcDest );
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* TransparentBlt (MSIMG32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI TransparentBlt( HDC hdcDest, int xDest, int yDest, int widthDest, int heightDst,
|
||||||
|
HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc,
|
||||||
|
UINT crTransparent )
|
||||||
|
{
|
||||||
|
FIXME("stub: TransparentBlt from %x to %x\n", hdcSrc, hdcDest );
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* vSetDdrawflag (MSIMG32.@)
|
||||||
|
*/
|
||||||
|
void WINAPI vSetDdrawflag(void)
|
||||||
|
{
|
||||||
|
static unsigned int vDrawflag=1;
|
||||||
|
FIXME("stub: vSetDrawFlag %u\n", vDrawflag);
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
}
|
||||||
|
|
|
@ -3002,6 +3002,44 @@ DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE)
|
||||||
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
|
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
|
||||||
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
|
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
|
||||||
|
|
||||||
|
typedef USHORT COLOR16;
|
||||||
|
|
||||||
|
typedef struct _TRIVERTEX
|
||||||
|
{
|
||||||
|
LONG x;
|
||||||
|
LONG y;
|
||||||
|
COLOR16 Red;
|
||||||
|
COLOR16 Green;
|
||||||
|
COLOR16 Blue;
|
||||||
|
COLOR16 Alpha;
|
||||||
|
} TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX;
|
||||||
|
|
||||||
|
typedef struct _GRADIENT_TRIANGLE
|
||||||
|
{
|
||||||
|
ULONG Vertex1;
|
||||||
|
ULONG Vertex2;
|
||||||
|
ULONG Vertex3;
|
||||||
|
} GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE;
|
||||||
|
|
||||||
|
typedef struct _GRADIENT_RECT
|
||||||
|
{
|
||||||
|
ULONG UpperLeft;
|
||||||
|
ULONG LowerRight;
|
||||||
|
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
|
||||||
|
|
||||||
|
typedef struct _BLENDFUNCTION
|
||||||
|
{
|
||||||
|
BYTE BlendOp;
|
||||||
|
BYTE BlendFlags;
|
||||||
|
BYTE SourceConstantAlpha;
|
||||||
|
BYTE AlphaFormat;
|
||||||
|
} BLENDFUNCTION, *PBLENDFUNCTION;
|
||||||
|
|
||||||
|
#define GRADIENT_FILL_RECT_H 0x00000000
|
||||||
|
#define GRADIENT_FILL_RECT_V 0x00000001
|
||||||
|
#define GRADIENT_FILL_TRIANGLE 0x00000002
|
||||||
|
#define GRADIENT_FILL_OP_FLAG 0x000000ff
|
||||||
|
|
||||||
#define GDI_ERROR (0xFFFFFFFFL)
|
#define GDI_ERROR (0xFFFFFFFFL)
|
||||||
#define HGDI_ERROR ((HANDLE)0xFFFFFFFFL)
|
#define HGDI_ERROR ((HANDLE)0xFFFFFFFFL)
|
||||||
|
|
||||||
|
@ -3010,6 +3048,7 @@ BOOL WINAPI AbortPath(HDC);
|
||||||
INT WINAPI AddFontResourceA(LPCSTR);
|
INT WINAPI AddFontResourceA(LPCSTR);
|
||||||
INT WINAPI AddFontResourceW(LPCWSTR);
|
INT WINAPI AddFontResourceW(LPCWSTR);
|
||||||
#define AddFontResource WINELIB_NAME_AW(AddFontResource)
|
#define AddFontResource WINELIB_NAME_AW(AddFontResource)
|
||||||
|
BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
|
||||||
BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
|
BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
|
||||||
BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*);
|
BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*);
|
||||||
BOOL WINAPI Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
BOOL WINAPI Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
||||||
|
@ -3243,6 +3282,7 @@ BOOL WINAPI GetViewportOrgEx(HDC,LPPOINT);
|
||||||
BOOL WINAPI GetWindowExtEx(HDC,LPSIZE);
|
BOOL WINAPI GetWindowExtEx(HDC,LPSIZE);
|
||||||
BOOL WINAPI GetWindowOrgEx(HDC,LPPOINT);
|
BOOL WINAPI GetWindowOrgEx(HDC,LPPOINT);
|
||||||
BOOL WINAPI GetWorldTransform(HDC,LPXFORM);
|
BOOL WINAPI GetWorldTransform(HDC,LPXFORM);
|
||||||
|
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
|
||||||
INT WINAPI IntersectClipRect(HDC,INT,INT,INT,INT);
|
INT WINAPI IntersectClipRect(HDC,INT,INT,INT,INT);
|
||||||
BOOL WINAPI InvertRgn(HDC,HRGN);
|
BOOL WINAPI InvertRgn(HDC,HRGN);
|
||||||
BOOL WINAPI LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM);
|
BOOL WINAPI LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM);
|
||||||
|
@ -3356,6 +3396,7 @@ BOOL WINAPI TextOutA(HDC,INT,INT,LPCSTR,INT);
|
||||||
BOOL WINAPI TextOutW(HDC,INT,INT,LPCWSTR,INT);
|
BOOL WINAPI TextOutW(HDC,INT,INT,LPCWSTR,INT);
|
||||||
#define TextOut WINELIB_NAME_AW(TextOut)
|
#define TextOut WINELIB_NAME_AW(TextOut)
|
||||||
BOOL WINAPI TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD);
|
BOOL WINAPI TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD);
|
||||||
|
BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
|
||||||
BOOL WINAPI UnrealizeObject(HGDIOBJ);
|
BOOL WINAPI UnrealizeObject(HGDIOBJ);
|
||||||
BOOL WINAPI UpdateColors(HDC);
|
BOOL WINAPI UpdateColors(HDC);
|
||||||
BOOL WINAPI WidenPath(HDC);
|
BOOL WINAPI WidenPath(HDC);
|
||||||
|
|
Loading…
Reference in New Issue