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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
6 deletions
+89
-6
msimg32.spec
dlls/msimg32/msimg32.spec
+4
-4
msimg32_main.c
dlls/msimg32/msimg32_main.c
+44
-2
wingdi.h
include/wingdi.h
+41
-0
No files found.
dlls/msimg32/msimg32.spec
View file @
39bcf9d6
...
@@ -5,8 +5,8 @@ import ntdll.dll
...
@@ -5,8 +5,8 @@ import ntdll.dll
debug_channels (msimg32)
debug_channels (msimg32)
@ st
ub
AlphaBlend
@ st
dcall 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
@ st
ub
TransparentBlt
@ st
dcall TransparentBlt(long long long long long long long long long long long)
TransparentBlt
@ st
ub
vSetDdrawflag
@ st
dcall vSetDdrawflag()
vSetDdrawflag
dlls/msimg32/msimg32_main.c
View file @
39bcf9d6
...
@@ -17,15 +17,57 @@
...
@@ -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
);
}
include/wingdi.h
View file @
39bcf9d6
...
@@ -3002,6 +3002,44 @@ DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE)
...
@@ -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);
...
@@ -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);
...
@@ -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);
...
@@ -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
);
...
...
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