Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f1bf4ea3
Commit
f1bf4ea3
authored
May 31, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Move DC hook private definitions out of wingdi.h.
parent
af4871f8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
gdi.c
dlls/gdi.exe16/gdi.c
+2
-1
painting.c
dlls/user32/painting.c
+1
-0
sysparams.c
dlls/user32/sysparams.c
+1
-0
gdi_driver.h
include/wine/gdi_driver.h
+16
-0
wingdi.h
include/wingdi.h
+0
-19
No files found.
dlls/gdi.exe16/gdi.c
View file @
f1bf4ea3
...
@@ -2017,7 +2017,8 @@ DWORD WINAPI GetDCHook16( HDC16 hdc16, FARPROC16 *phookProc )
...
@@ -2017,7 +2017,8 @@ DWORD WINAPI GetDCHook16( HDC16 hdc16, FARPROC16 *phookProc )
*/
*/
WORD
WINAPI
SetHookFlags16
(
HDC16
hdc
,
WORD
flags
)
WORD
WINAPI
SetHookFlags16
(
HDC16
hdc
,
WORD
flags
)
{
{
return
SetHookFlags
(
HDC_32
(
hdc
),
flags
);
FIXME
(
"%04x %x: not supported
\n
"
,
hdc
,
flags
);
return
0
;
}
}
...
...
dlls/user32/painting.c
View file @
f1bf4ea3
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "win.h"
#include "win.h"
#include "user_private.h"
#include "user_private.h"
#include "controls.h"
#include "controls.h"
#include "wine/gdi_driver.h"
#include "wine/list.h"
#include "wine/list.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
...
dlls/user32/sysparams.c
View file @
f1bf4ea3
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include "controls.h"
#include "controls.h"
#include "user_private.h"
#include "user_private.h"
#include "wine/gdi_driver.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
...
include/wine/gdi_driver.h
View file @
f1bf4ea3
...
@@ -235,4 +235,20 @@ static inline void push_dc_driver( PHYSDEV *dev, PHYSDEV physdev, const struct g
...
@@ -235,4 +235,20 @@ static inline void push_dc_driver( PHYSDEV *dev, PHYSDEV physdev, const struct g
*
dev
=
physdev
;
*
dev
=
physdev
;
}
}
/* the DC hook support is only exported on Win16, the 32-bit version is a Wine extension */
#define DCHC_INVALIDVISRGN 0x0001
#define DCHC_DELETEDC 0x0002
#define DCHF_INVALIDATEVISRGN 0x0001
#define DCHF_VALIDATEVISRGN 0x0002
typedef
BOOL
(
CALLBACK
*
DCHOOKPROC
)(
HDC
,
WORD
,
DWORD_PTR
,
LPARAM
);
WINGDIAPI
DWORD_PTR
WINAPI
GetDCHook
(
HDC
,
DCHOOKPROC
*
);
WINGDIAPI
BOOL
WINAPI
SetDCHook
(
HDC
,
DCHOOKPROC
,
DWORD_PTR
);
WINGDIAPI
WORD
WINAPI
SetHookFlags
(
HDC
,
WORD
);
extern
void
CDECL
__wine_make_gdi_object_system
(
HGDIOBJ
handle
,
BOOL
set
);
extern
void
CDECL
__wine_set_visible_region
(
HDC
hdc
,
HRGN
hrgn
,
const
RECT
*
vis_rect
);
#endif
/* __WINE_WINE_GDI_DRIVER_H */
#endif
/* __WINE_WINE_GDI_DRIVER_H */
include/wingdi.h
View file @
f1bf4ea3
...
@@ -3785,25 +3785,6 @@ WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,I
...
@@ -3785,25 +3785,6 @@ WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,I
WINGDIAPI
BOOL
WINAPI
wglUseFontOutlinesW
(
HDC
,
DWORD
,
DWORD
,
DWORD
,
FLOAT
,
FLOAT
,
INT
,
LPGLYPHMETRICSFLOAT
);
WINGDIAPI
BOOL
WINAPI
wglUseFontOutlinesW
(
HDC
,
DWORD
,
DWORD
,
DWORD
,
FLOAT
,
FLOAT
,
INT
,
LPGLYPHMETRICSFLOAT
);
#define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines)
#define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines)
#ifdef __WINESRC__
/* the DC hook support is only exported on Win16, the 32-bit version is a Wine extension */
#define DCHC_INVALIDVISRGN 0x0001
#define DCHC_DELETEDC 0x0002
#define DCHF_INVALIDATEVISRGN 0x0001
#define DCHF_VALIDATEVISRGN 0x0002
typedef
BOOL
(
CALLBACK
*
DCHOOKPROC
)(
HDC
,
WORD
,
DWORD_PTR
,
LPARAM
);
WINGDIAPI
DWORD_PTR
WINAPI
GetDCHook
(
HDC
,
DCHOOKPROC
*
);
WINGDIAPI
BOOL
WINAPI
SetDCHook
(
HDC
,
DCHOOKPROC
,
DWORD_PTR
);
WINGDIAPI
WORD
WINAPI
SetHookFlags
(
HDC
,
WORD
);
extern
void
CDECL
__wine_make_gdi_object_system
(
HGDIOBJ
handle
,
BOOL
set
);
extern
void
CDECL
__wine_set_visible_region
(
HDC
hdc
,
HRGN
hrgn
,
const
RECT
*
vis_rect
);
#endif
/* __WINESRC__ */
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
...
...
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