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
1084b2cb
Commit
1084b2cb
authored
Feb 09, 1999
by
Zygo Blaxell
Committed by
Alexandre Julliard
Feb 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix types of GetDIBits functions (LPSTR should be LPVOID).
parent
e5a6049b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
wingdi.h
include/wingdi.h
+2
-2
dib.c
objects/dib.c
+3
-3
No files found.
include/wingdi.h
View file @
1084b2cb
...
...
@@ -2348,8 +2348,8 @@ INT32 WINAPI GetDeviceCaps32(HDC32,INT32);
UINT16
WINAPI
GetDIBColorTable16
(
HDC16
,
UINT16
,
UINT16
,
RGBQUAD
*
);
UINT32
WINAPI
GetDIBColorTable32
(
HDC32
,
UINT32
,
UINT32
,
RGBQUAD
*
);
#define GetDIBColorTable WINELIB_NAME(GetDIBColorTable)
INT16
WINAPI
GetDIBits16
(
HDC16
,
HBITMAP16
,
UINT16
,
UINT16
,
LP
STR
,
LPBITMAPINFO
,
UINT16
);
INT32
WINAPI
GetDIBits32
(
HDC32
,
HBITMAP32
,
UINT32
,
UINT32
,
LP
STR
,
LPBITMAPINFO
,
UINT32
);
INT16
WINAPI
GetDIBits16
(
HDC16
,
HBITMAP16
,
UINT16
,
UINT16
,
LP
VOID
,
LPBITMAPINFO
,
UINT16
);
INT32
WINAPI
GetDIBits32
(
HDC32
,
HBITMAP32
,
UINT32
,
UINT32
,
LP
VOID
,
LPBITMAPINFO
,
UINT32
);
#define GetDIBits WINELIB_NAME(GetDIBits)
DWORD
WINAPI
GetFontData32
(
HDC32
,
DWORD
,
DWORD
,
LPVOID
,
DWORD
);
#define GetFontData WINELIB_NAME(GetFontData)
...
...
objects/dib.c
View file @
1084b2cb
...
...
@@ -418,7 +418,7 @@ UINT32 WINAPI GetDIBColorTable32( HDC32 hdc, UINT32 startpos, UINT32 entries,
* GetDIBits16 (GDI.441)
*/
INT16
WINAPI
GetDIBits16
(
HDC16
hdc
,
HBITMAP16
hbitmap
,
UINT16
startscan
,
UINT16
lines
,
LP
STR
bits
,
BITMAPINFO
*
info
,
UINT16
lines
,
LP
VOID
bits
,
BITMAPINFO
*
info
,
UINT16
coloruse
)
{
return
GetDIBits32
(
hdc
,
hbitmap
,
startscan
,
lines
,
bits
,
info
,
coloruse
);
...
...
@@ -439,7 +439,7 @@ INT32 WINAPI GetDIBits32(
HBITMAP32
hbitmap
,
/* [in] Handle to bitmap */
UINT32
startscan
,
/* [in] First scan line to set in dest bitmap */
UINT32
lines
,
/* [in] Number of scan lines to copy */
LP
STR
bits
,
/* [out] Address of array for bitmap bits */
LP
VOID
bits
,
/* [out] Address of array for bitmap bits */
BITMAPINFO
*
info
,
/* [out] Address of structure with bitmap data */
UINT32
coloruse
)
/* [in] RGB or palette index */
{
...
...
@@ -488,7 +488,7 @@ INT32 WINAPI GetDIBits32(
if
(
bits
)
{
BYTE
*
bbits
=
bits
;
BYTE
*
bbits
=
(
BYTE
*
)
bits
;
int
pad
,
yend
,
xend
=
bmp
->
bitmap
.
bmWidth
;
TRACE
(
bitmap
,
"%u scanlines of (%i,%i) -> (%i,%i) starting from %u
\n
"
,
...
...
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