Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
39bcf9d6
Commit
39bcf9d6
authored
Mar 19, 2002
by
Leo van den Berg
Committed by
Alexandre Julliard
Mar 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some stubs.
parent
b637d8a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
43 deletions
+126
-43
msimg32.spec
dlls/msimg32/msimg32.spec
+4
-4
msimg32_main.c
dlls/msimg32/msimg32_main.c
+47
-5
wingdi.h
include/wingdi.h
+75
-34
No files found.
dlls/msimg32/msimg32.spec
View file @
39bcf9d6
...
...
@@ -5,8 +5,8 @@ import ntdll.dll
debug_channels (msimg32)
@ st
ub
AlphaBlend
@ st
dcall AlphaBlend(long long long long long long long long long long long)
AlphaBlend
@ stub DllInitialize
@ stdcall GradientFill
(long ptr long ptr long long
) GradientFill
@ st
ub
TransparentBlt
@ st
ub
vSetDdrawflag
@ stdcall GradientFill
(long ptr long ptr long long
) GradientFill
@ st
dcall TransparentBlt(long long long long long long long long long long long)
TransparentBlt
@ st
dcall vSetDdrawflag()
vSetDdrawflag
dlls/msimg32/msimg32_main.c
View file @
39bcf9d6
...
...
@@ -17,15 +17,57 @@
*/
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "wine/debug.h"
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
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
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
)
{
FIXME
(
"stub: %ld vertices %ld gradients mode %lx
\n
"
,
nvert
,
ngrad
,
mode
)
;
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
static
unsigned
int
vDrawflag
=
1
;
FIXME
(
"stub: vSetDrawFlag %u
\n
"
,
vDrawflag
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
)
;
}
include/wingdi.h
View file @
39bcf9d6
...
...
@@ -3002,36 +3002,75 @@ DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE)
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
#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 HGDI_ERROR ((HANDLE)0xFFFFFFFFL)
INT
WINAPI
AbortDoc
(
HDC
);
BOOL
WINAPI
AbortPath
(
HDC
);
INT
WINAPI
AddFontResourceA
(
LPCSTR
);
INT
WINAPI
AddFontResourceW
(
LPCWSTR
);
INT
WINAPI
AbortDoc
(
HDC
);
BOOL
WINAPI
AbortPath
(
HDC
);
INT
WINAPI
AddFontResourceA
(
LPCSTR
);
INT
WINAPI
AddFontResourceW
(
LPCWSTR
);
#define AddFontResource WINELIB_NAME_AW(AddFontResource)
BOOL
WINAPI
AngleArc
(
HDC
,
INT
,
INT
,
DWORD
,
FLOAT
,
FLOAT
);
BOOL
WINAPI
AnimatePalette
(
HPALETTE
,
UINT
,
UINT
,
const
PALETTEENTRY
*
);
BOOL
WINAPI
Arc
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
ArcTo
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
BeginPath
(
HDC
);
BOOL
WINAPI
BitBlt
(
HDC
,
INT
,
INT
,
INT
,
INT
,
HDC
,
INT
,
INT
,
DWORD
);
INT
WINAPI
ChoosePixelFormat
(
HDC
,
const
LPPIXELFORMATDESCRIPTOR
);
BOOL
WINAPI
Chord
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
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
AnimatePalette
(
HPALETTE
,
UINT
,
UINT
,
const
PALETTEENTRY
*
);
BOOL
WINAPI
Arc
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
ArcTo
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
BeginPath
(
HDC
);
BOOL
WINAPI
BitBlt
(
HDC
,
INT
,
INT
,
INT
,
INT
,
HDC
,
INT
,
INT
,
DWORD
);
INT
WINAPI
ChoosePixelFormat
(
HDC
,
const
LPPIXELFORMATDESCRIPTOR
);
BOOL
WINAPI
Chord
(
HDC
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
,
INT
);
HENHMETAFILE
WINAPI
CloseEnhMetaFile
(
HDC
);
BOOL
WINAPI
CloseFigure
(
HDC
);
HMETAFILE
WINAPI
CloseMetaFile
(
HDC
);
INT
WINAPI
CombineRgn
(
HRGN
,
HRGN
,
HRGN
,
INT
);
BOOL
WINAPI
CombineTransform
(
LPXFORM
,
const
XFORM
*
,
const
XFORM
*
);
BOOL
WINAPI
CloseFigure
(
HDC
);
HMETAFILE
WINAPI
CloseMetaFile
(
HDC
);
INT
WINAPI
CombineRgn
(
HRGN
,
HRGN
,
HRGN
,
INT
);
BOOL
WINAPI
CombineTransform
(
LPXFORM
,
const
XFORM
*
,
const
XFORM
*
);
HENHMETAFILE
WINAPI
CopyEnhMetaFileA
(
HENHMETAFILE
,
LPCSTR
);
HENHMETAFILE
WINAPI
CopyEnhMetaFileW
(
HENHMETAFILE
,
LPCWSTR
);
#define CopyEnhMetaFile WINELIB_NAME_AW(CopyEnhMetaFile)
HMETAFILE
WINAPI
CopyMetaFileA
(
HMETAFILE
,
LPCSTR
);
HMETAFILE
WINAPI
CopyMetaFileW
(
HMETAFILE
,
LPCWSTR
);
HMETAFILE
WINAPI
CopyMetaFileA
(
HMETAFILE
,
LPCSTR
);
HMETAFILE
WINAPI
CopyMetaFileW
(
HMETAFILE
,
LPCWSTR
);
#define CopyMetaFile WINELIB_NAME_AW(CopyMetaFile)
HBITMAP
WINAPI
CreateBitmap
(
INT
,
INT
,
UINT
,
UINT
,
LPCVOID
);
HBITMAP
WINAPI
CreateBitmapIndirect
(
const
BITMAP
*
);
HBRUSH
WINAPI
CreateBrushIndirect
(
const
LOGBRUSH
*
);
HBITMAP
WINAPI
CreateBitmap
(
INT
,
INT
,
UINT
,
UINT
,
LPCVOID
);
HBITMAP
WINAPI
CreateBitmapIndirect
(
const
BITMAP
*
);
HBRUSH
WINAPI
CreateBrushIndirect
(
const
LOGBRUSH
*
);
HCOLORSPACE
WINAPI
CreateColorSpaceA
(
LPLOGCOLORSPACEA
);
HCOLORSPACE
WINAPI
CreateColorSpaceW
(
LPLOGCOLORSPACEW
);
#define CreateColorSpace WINELIB_NAME_AW(CreateColorSpace)
...
...
@@ -3238,19 +3277,20 @@ INT WINAPI GetTextFaceW(HDC,INT,LPWSTR);
BOOL
WINAPI
GetTextMetricsA
(
HDC
,
LPTEXTMETRICA
);
BOOL
WINAPI
GetTextMetricsW
(
HDC
,
LPTEXTMETRICW
);
#define GetTextMetrics WINELIB_NAME_AW(GetTextMetrics)
BOOL
WINAPI
GetViewportExtEx
(
HDC
,
LPSIZE
);
BOOL
WINAPI
GetViewportOrgEx
(
HDC
,
LPPOINT
);
BOOL
WINAPI
GetWindowExtEx
(
HDC
,
LPSIZE
);
BOOL
WINAPI
GetWindowOrgEx
(
HDC
,
LPPOINT
);
BOOL
WINAPI
GetWorldTransform
(
HDC
,
LPXFORM
);
INT
WINAPI
IntersectClipRect
(
HDC
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
InvertRgn
(
HDC
,
HRGN
);
BOOL
WINAPI
LineDDA
(
INT
,
INT
,
INT
,
INT
,
LINEDDAPROC
,
LPARAM
);
BOOL
WINAPI
LineTo
(
HDC
,
INT
,
INT
);
BOOL
WINAPI
LPtoDP
(
HDC
,
LPPOINT
,
INT
);
BOOL
WINAPI
MaskBlt
(
HDC
,
INT
,
INT
,
INT
,
INT
,
HDC
,
INT
,
INT
,
HBITMAP
,
INT
,
INT
,
DWORD
);
BOOL
WINAPI
ModifyWorldTransform
(
HDC
,
const
XFORM
*
,
DWORD
);
BOOL
WINAPI
MoveToEx
(
HDC
,
INT
,
INT
,
LPPOINT
);
BOOL
WINAPI
GetViewportExtEx
(
HDC
,
LPSIZE
);
BOOL
WINAPI
GetViewportOrgEx
(
HDC
,
LPPOINT
);
BOOL
WINAPI
GetWindowExtEx
(
HDC
,
LPSIZE
);
BOOL
WINAPI
GetWindowOrgEx
(
HDC
,
LPPOINT
);
BOOL
WINAPI
GetWorldTransform
(
HDC
,
LPXFORM
);
BOOL
WINAPI
GradientFill
(
HDC
,
PTRIVERTEX
,
ULONG
,
PVOID
,
ULONG
,
ULONG
);
INT
WINAPI
IntersectClipRect
(
HDC
,
INT
,
INT
,
INT
,
INT
);
BOOL
WINAPI
InvertRgn
(
HDC
,
HRGN
);
BOOL
WINAPI
LineDDA
(
INT
,
INT
,
INT
,
INT
,
LINEDDAPROC
,
LPARAM
);
BOOL
WINAPI
LineTo
(
HDC
,
INT
,
INT
);
BOOL
WINAPI
LPtoDP
(
HDC
,
LPPOINT
,
INT
);
BOOL
WINAPI
MaskBlt
(
HDC
,
INT
,
INT
,
INT
,
INT
,
HDC
,
INT
,
INT
,
HBITMAP
,
INT
,
INT
,
DWORD
);
BOOL
WINAPI
ModifyWorldTransform
(
HDC
,
const
XFORM
*
,
DWORD
);
BOOL
WINAPI
MoveToEx
(
HDC
,
INT
,
INT
,
LPPOINT
);
/* FIXME This is defined in kernel32.spec !?*/
INT
WINAPI
MulDiv
(
INT
,
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
);
#define TextOut WINELIB_NAME_AW(TextOut)
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
UpdateColors
(
HDC
);
BOOL
WINAPI
WidenPath
(
HDC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment