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,
|
|
||||||
void * grad_array, ULONG ngrad, ULONG mode)
|
/******************************************************************************
|
||||||
|
* GradientFill (MSIMG32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI GradientFill( HDC hdc, TRIVERTEX *vert_array, ULONG nvert,
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
|
109
include/wingdi.h
109
include/wingdi.h
|
@ -3002,36 +3002,75 @@ 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)
|
||||||
|
|
||||||
INT WINAPI AbortDoc(HDC);
|
INT WINAPI AbortDoc(HDC);
|
||||||
BOOL WINAPI AbortPath(HDC);
|
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 AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
|
BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
|
||||||
BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*);
|
BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
|
||||||
BOOL WINAPI Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*);
|
||||||
BOOL WINAPI ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT);
|
BOOL WINAPI Arc(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
||||||
BOOL WINAPI BeginPath(HDC);
|
BOOL WINAPI ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT);
|
||||||
BOOL WINAPI BitBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,DWORD);
|
BOOL WINAPI BeginPath(HDC);
|
||||||
INT WINAPI ChoosePixelFormat(HDC,const LPPIXELFORMATDESCRIPTOR);
|
BOOL WINAPI BitBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,DWORD);
|
||||||
BOOL WINAPI Chord(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
INT WINAPI ChoosePixelFormat(HDC,const LPPIXELFORMATDESCRIPTOR);
|
||||||
|
BOOL WINAPI Chord(HDC,INT,INT,INT,INT,INT,INT,INT,INT);
|
||||||
HENHMETAFILE WINAPI CloseEnhMetaFile(HDC);
|
HENHMETAFILE WINAPI CloseEnhMetaFile(HDC);
|
||||||
BOOL WINAPI CloseFigure(HDC);
|
BOOL WINAPI CloseFigure(HDC);
|
||||||
HMETAFILE WINAPI CloseMetaFile(HDC);
|
HMETAFILE WINAPI CloseMetaFile(HDC);
|
||||||
INT WINAPI CombineRgn(HRGN,HRGN,HRGN,INT);
|
INT WINAPI CombineRgn(HRGN,HRGN,HRGN,INT);
|
||||||
BOOL WINAPI CombineTransform(LPXFORM,const XFORM *,const XFORM *);
|
BOOL WINAPI CombineTransform(LPXFORM,const XFORM *,const XFORM *);
|
||||||
HENHMETAFILE WINAPI CopyEnhMetaFileA(HENHMETAFILE,LPCSTR);
|
HENHMETAFILE WINAPI CopyEnhMetaFileA(HENHMETAFILE,LPCSTR);
|
||||||
HENHMETAFILE WINAPI CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR);
|
HENHMETAFILE WINAPI CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR);
|
||||||
#define CopyEnhMetaFile WINELIB_NAME_AW(CopyEnhMetaFile)
|
#define CopyEnhMetaFile WINELIB_NAME_AW(CopyEnhMetaFile)
|
||||||
HMETAFILE WINAPI CopyMetaFileA(HMETAFILE,LPCSTR);
|
HMETAFILE WINAPI CopyMetaFileA(HMETAFILE,LPCSTR);
|
||||||
HMETAFILE WINAPI CopyMetaFileW(HMETAFILE,LPCWSTR);
|
HMETAFILE WINAPI CopyMetaFileW(HMETAFILE,LPCWSTR);
|
||||||
#define CopyMetaFile WINELIB_NAME_AW(CopyMetaFile)
|
#define CopyMetaFile WINELIB_NAME_AW(CopyMetaFile)
|
||||||
HBITMAP WINAPI CreateBitmap(INT,INT,UINT,UINT,LPCVOID);
|
HBITMAP WINAPI CreateBitmap(INT,INT,UINT,UINT,LPCVOID);
|
||||||
HBITMAP WINAPI CreateBitmapIndirect(const BITMAP*);
|
HBITMAP WINAPI CreateBitmapIndirect(const BITMAP*);
|
||||||
HBRUSH WINAPI CreateBrushIndirect(const LOGBRUSH*);
|
HBRUSH WINAPI CreateBrushIndirect(const LOGBRUSH*);
|
||||||
HCOLORSPACE WINAPI CreateColorSpaceA(LPLOGCOLORSPACEA);
|
HCOLORSPACE WINAPI CreateColorSpaceA(LPLOGCOLORSPACEA);
|
||||||
HCOLORSPACE WINAPI CreateColorSpaceW(LPLOGCOLORSPACEW);
|
HCOLORSPACE WINAPI CreateColorSpaceW(LPLOGCOLORSPACEW);
|
||||||
#define CreateColorSpace WINELIB_NAME_AW(CreateColorSpace)
|
#define CreateColorSpace WINELIB_NAME_AW(CreateColorSpace)
|
||||||
|
@ -3238,19 +3277,20 @@ INT WINAPI GetTextFaceW(HDC,INT,LPWSTR);
|
||||||
BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA);
|
BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA);
|
||||||
BOOL WINAPI GetTextMetricsW(HDC,LPTEXTMETRICW);
|
BOOL WINAPI GetTextMetricsW(HDC,LPTEXTMETRICW);
|
||||||
#define GetTextMetrics WINELIB_NAME_AW(GetTextMetrics)
|
#define GetTextMetrics WINELIB_NAME_AW(GetTextMetrics)
|
||||||
BOOL WINAPI GetViewportExtEx(HDC,LPSIZE);
|
BOOL WINAPI GetViewportExtEx(HDC,LPSIZE);
|
||||||
BOOL WINAPI GetViewportOrgEx(HDC,LPPOINT);
|
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);
|
||||||
INT WINAPI IntersectClipRect(HDC,INT,INT,INT,INT);
|
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
|
||||||
BOOL WINAPI InvertRgn(HDC,HRGN);
|
INT WINAPI IntersectClipRect(HDC,INT,INT,INT,INT);
|
||||||
BOOL WINAPI LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM);
|
BOOL WINAPI InvertRgn(HDC,HRGN);
|
||||||
BOOL WINAPI LineTo(HDC,INT,INT);
|
BOOL WINAPI LineDDA(INT,INT,INT,INT,LINEDDAPROC,LPARAM);
|
||||||
BOOL WINAPI LPtoDP(HDC,LPPOINT,INT);
|
BOOL WINAPI LineTo(HDC,INT,INT);
|
||||||
BOOL WINAPI MaskBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,HBITMAP,INT,INT,DWORD);
|
BOOL WINAPI LPtoDP(HDC,LPPOINT,INT);
|
||||||
BOOL WINAPI ModifyWorldTransform(HDC,const XFORM *, DWORD);
|
BOOL WINAPI MaskBlt(HDC,INT,INT,INT,INT,HDC,INT,INT,HBITMAP,INT,INT,DWORD);
|
||||||
BOOL WINAPI MoveToEx(HDC,INT,INT,LPPOINT);
|
BOOL WINAPI ModifyWorldTransform(HDC,const XFORM *, DWORD);
|
||||||
|
BOOL WINAPI MoveToEx(HDC,INT,INT,LPPOINT);
|
||||||
/* FIXME This is defined in kernel32.spec !?*/
|
/* FIXME This is defined in kernel32.spec !?*/
|
||||||
INT WINAPI MulDiv(INT,INT,INT);
|
INT WINAPI MulDiv(INT,INT,INT);
|
||||||
INT WINAPI OffsetClipRgn(HDC,INT,INT);
|
INT WINAPI OffsetClipRgn(HDC,INT,INT);
|
||||||
|
@ -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