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
3e80fb46
Commit
3e80fb46
authored
Aug 20, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Aug 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fix type in GetRandomRegion function.
- Add prototype to header.
parent
1a6fa446
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
clipping.c
dlls/gdi/clipping.c
+5
-5
wingdi.h
include/wingdi.h
+1
-0
No files found.
dlls/gdi/clipping.c
View file @
3e80fb46
...
@@ -504,18 +504,18 @@ INT16 WINAPI RestoreVisRgn16( HDC16 hdc16 )
...
@@ -504,18 +504,18 @@ INT16 WINAPI RestoreVisRgn16( HDC16 hdc16 )
*
*
* NOTES
* NOTES
* This function is documented in MSDN online for the case of
* This function is documented in MSDN online for the case of
*
dw
Code == SYSRGN (4).
*
i
Code == SYSRGN (4).
*
*
* For
dw
Code == 1 it should return the clip region
* For
i
Code == 1 it should return the clip region
* 2 " " " the meta region
* 2 " " " the meta region
* 3 " " " the intersection of the clip with
* 3 " " " the intersection of the clip with
* the meta region (== 'Rao' region).
* the meta region (== 'Rao' region).
*
*
* See http://www.codeproject.com/gdi/cliprgnguide.asp
* See http://www.codeproject.com/gdi/cliprgnguide.asp
*/
*/
INT
WINAPI
GetRandomRgn
(
HDC
hDC
,
HRGN
hRgn
,
DWORD
dw
Code
)
INT
WINAPI
GetRandomRgn
(
HDC
hDC
,
HRGN
hRgn
,
INT
i
Code
)
{
{
switch
(
dw
Code
)
switch
(
i
Code
)
{
{
case
SYSRGN
:
/* == 4 */
case
SYSRGN
:
/* == 4 */
{
{
...
@@ -543,7 +543,7 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, DWORD dwCode)
...
@@ -543,7 +543,7 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, DWORD dwCode)
return
GetClipRgn
(
hDC
,
hRgn
);
return
GetClipRgn
(
hDC
,
hRgn
);
default:
default:
WARN
(
"Unknown
dwCode %ld
\n
"
,
dw
Code
);
WARN
(
"Unknown
iCode %d
\n
"
,
i
Code
);
return
-
1
;
return
-
1
;
}
}
...
...
include/wingdi.h
View file @
3e80fb46
...
@@ -3412,6 +3412,7 @@ INT WINAPI GetPath(HDC,LPPOINT,LPBYTE,INT);
...
@@ -3412,6 +3412,7 @@ INT WINAPI GetPath(HDC,LPPOINT,LPBYTE,INT);
COLORREF
WINAPI
GetPixel
(
HDC
,
INT
,
INT
);
COLORREF
WINAPI
GetPixel
(
HDC
,
INT
,
INT
);
INT
WINAPI
GetPixelFormat
(
HDC
);
INT
WINAPI
GetPixelFormat
(
HDC
);
INT
WINAPI
GetPolyFillMode
(
HDC
);
INT
WINAPI
GetPolyFillMode
(
HDC
);
INT
WINAPI
GetRandomRgn
(
HDC
,
HRGN
,
INT
);
BOOL
WINAPI
GetRasterizerCaps
(
LPRASTERIZER_STATUS
,
UINT
);
BOOL
WINAPI
GetRasterizerCaps
(
LPRASTERIZER_STATUS
,
UINT
);
DWORD
WINAPI
GetRegionData
(
HRGN
,
DWORD
,
LPRGNDATA
);
DWORD
WINAPI
GetRegionData
(
HRGN
,
DWORD
,
LPRGNDATA
);
INT
WINAPI
GetRelAbs
(
HDC
,
DWORD
);
INT
WINAPI
GetRelAbs
(
HDC
,
DWORD
);
...
...
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