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
88ca57d2
Commit
88ca57d2
authored
Mar 16, 1999
by
Lionel Ulmer
Committed by
Alexandre Julliard
Mar 16, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected bug in enumeration function.
parent
598993f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ddraw.c
graphics/ddraw.c
+8
-8
No files found.
graphics/ddraw.c
View file @
88ca57d2
...
...
@@ -181,7 +181,7 @@ HRESULT WINAPI DirectDrawEnumerateExA(
* DirectDrawEnumerateExW (DDRAW.*)
*/
static
BOOL
DirectDrawEnumerateExProcW
(
static
BOOL
CALLBACK
DirectDrawEnumerateExProcW
(
GUID
*
lpGUID
,
LPSTR
lpDriverDescription
,
LPSTR
lpDriverName
,
LPVOID
lpContext
,
HMONITOR
hm
)
{
...
...
@@ -210,7 +210,7 @@ HRESULT WINAPI DirectDrawEnumerateExW(
epd
.
lpCallback
=
lpCallback
;
epd
.
lpContext
=
lpContext
;
return
DirectDrawEnumerateExA
(
&
DirectDrawEnumerateExProcW
,
return
DirectDrawEnumerateExA
(
DirectDrawEnumerateExProcW
,
(
LPVOID
)
&
epd
,
0
);
}
...
...
@@ -218,14 +218,14 @@ HRESULT WINAPI DirectDrawEnumerateExW(
* DirectDrawEnumerateA (DDRAW.*)
*/
static
BOOL
DirectDrawEnumerateProcA
(
static
BOOL
CALLBACK
DirectDrawEnumerateProcA
(
GUID
*
lpGUID
,
LPSTR
lpDriverDescription
,
LPSTR
lpDriverName
,
LPVOID
lpContext
,
HMONITOR
hm
)
{
DirectDrawEnumerateProcData
*
pEPD
=
(
DirectDrawEnumerateProcData
*
)
lpContext
;
return
(
*
(
LPDDENUMCALLBACKA
*
)
pEPD
->
lpCallback
)(
return
(
(
LPDDENUMCALLBACKA
)
pEPD
->
lpCallback
)(
lpGUID
,
lpDriverDescription
,
lpDriverName
,
pEPD
->
lpContext
);
}
...
...
@@ -238,7 +238,7 @@ HRESULT WINAPI DirectDrawEnumerateA(
epd
.
lpCallback
=
lpCallback
;
epd
.
lpContext
=
lpContext
;
return
DirectDrawEnumerateExA
(
&
DirectDrawEnumerateProcA
,
return
DirectDrawEnumerateExA
(
DirectDrawEnumerateProcA
,
(
LPVOID
)
&
epd
,
0
);
}
...
...
@@ -253,7 +253,7 @@ static BOOL DirectDrawEnumerateProcW(
DirectDrawEnumerateProcData
*
pEPD
=
(
DirectDrawEnumerateProcData
*
)
lpContext
;
return
(
*
(
LPDDENUMCALLBACKW
*
)
pEPD
->
lpCallback
)(
return
(
(
LPDDENUMCALLBACKW
)
pEPD
->
lpCallback
)(
lpGUID
,
lpDriverDescription
,
lpDriverName
,
pEPD
->
lpContext
);
}
...
...
@@ -267,7 +267,7 @@ HRESULT WINAPI DirectDrawEnumerateW(
epd
.
lpCallback
=
lpCallback
;
epd
.
lpContext
=
lpContext
;
return
DirectDrawEnumerateExW
(
&
DirectDrawEnumerateProcW
,
return
DirectDrawEnumerateExW
(
DirectDrawEnumerateProcW
,
(
LPVOID
)
&
epd
,
0
);
}
...
...
@@ -4210,7 +4210,7 @@ HRESULT WINAPI Xlib_DirectDrawCreate( LPDIRECTDRAW *lplpDD, LPUNKNOWN pUnkOuter)
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
lpGUID
,
LPDIRECTDRAW
*
lplpDD
,
LPUNKNOWN
pUnkOuter
)
{
char
xclsid
[
50
];
WNDCLASSA
wc
;
WND
*
pParentWindow
;
/* WND* pParentWindow; */
HRESULT
ret
;
if
(
HIWORD
(
lpGUID
))
...
...
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