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
5b375aec
Commit
5b375aec
authored
Aug 08, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Better match the PSDK types and fix the winapi_check warnings.
parent
427723cc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
main.c
dlls/ddraw/main.c
+5
-5
ddraw.h
include/ddraw.h
+7
-6
win32.api
tools/winapi/win32.api
+2
-4
No files found.
dlls/ddraw/ddraw.c
View file @
5b375aec
...
@@ -3112,7 +3112,7 @@ IDirectDrawImpl_AttachD3DDevice(IDirectDrawImpl *This,
...
@@ -3112,7 +3112,7 @@ IDirectDrawImpl_AttachD3DDevice(IDirectDrawImpl *This,
*****************************************************************************/
*****************************************************************************/
HRESULT
WINAPI
HRESULT
WINAPI
DirectDrawCreateClipper
(
DWORD
Flags
,
DirectDrawCreateClipper
(
DWORD
Flags
,
IDirectDrawClipper
*
*
Clipper
,
LPDIRECTDRAWCLIPPER
*
Clipper
,
IUnknown
*
UnkOuter
)
IUnknown
*
UnkOuter
)
{
{
IDirectDrawClipperImpl
*
object
;
IDirectDrawClipperImpl
*
object
;
...
...
dlls/ddraw/main.c
View file @
5b375aec
...
@@ -345,7 +345,7 @@ err_out:
...
@@ -345,7 +345,7 @@ err_out:
***********************************************************************/
***********************************************************************/
HRESULT
WINAPI
HRESULT
WINAPI
DirectDrawCreate
(
GUID
*
GUID
,
DirectDrawCreate
(
GUID
*
GUID
,
IDirectDraw
*
*
DD
,
LPDIRECTDRAW
*
DD
,
IUnknown
*
UnkOuter
)
IUnknown
*
UnkOuter
)
{
{
HRESULT
hr
;
HRESULT
hr
;
...
@@ -368,7 +368,7 @@ DirectDrawCreate(GUID *GUID,
...
@@ -368,7 +368,7 @@ DirectDrawCreate(GUID *GUID,
***********************************************************************/
***********************************************************************/
HRESULT
WINAPI
HRESULT
WINAPI
DirectDrawCreateEx
(
GUID
*
GUID
,
DirectDrawCreateEx
(
GUID
*
GUID
,
void
*
*
DD
,
LPVOID
*
DD
,
REFIID
iid
,
REFIID
iid
,
IUnknown
*
UnkOuter
)
IUnknown
*
UnkOuter
)
{
{
...
@@ -406,7 +406,7 @@ DirectDrawCreateEx(GUID *GUID,
...
@@ -406,7 +406,7 @@ DirectDrawCreateEx(GUID *GUID,
***********************************************************************/
***********************************************************************/
HRESULT
WINAPI
HRESULT
WINAPI
DirectDrawEnumerateA
(
LPDDENUMCALLBACKA
Callback
,
DirectDrawEnumerateA
(
LPDDENUMCALLBACKA
Callback
,
void
*
Context
)
LPVOID
Context
)
{
{
BOOL
stop
=
FALSE
;
BOOL
stop
=
FALSE
;
...
@@ -440,7 +440,7 @@ DirectDrawEnumerateA(LPDDENUMCALLBACKA Callback,
...
@@ -440,7 +440,7 @@ DirectDrawEnumerateA(LPDDENUMCALLBACKA Callback,
***********************************************************************/
***********************************************************************/
HRESULT
WINAPI
HRESULT
WINAPI
DirectDrawEnumerateExA
(
LPDDENUMCALLBACKEXA
Callback
,
DirectDrawEnumerateExA
(
LPDDENUMCALLBACKEXA
Callback
,
void
*
Context
,
LPVOID
Context
,
DWORD
Flags
)
DWORD
Flags
)
{
{
BOOL
stop
=
FALSE
;
BOOL
stop
=
FALSE
;
...
@@ -834,7 +834,7 @@ static inline DWORD get_config_key(HKEY defkey, HKEY appkey, const char* name, c
...
@@ -834,7 +834,7 @@ static inline DWORD get_config_key(HKEY defkey, HKEY appkey, const char* name, c
BOOL
WINAPI
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
Reason
,
DWORD
Reason
,
void
*
lpv
)
LPVOID
lpv
)
{
{
TRACE
(
"(%p,%x,%p)
\n
"
,
hInstDLL
,
Reason
,
lpv
);
TRACE
(
"(%p,%x,%p)
\n
"
,
hInstDLL
,
Reason
,
lpv
);
if
(
Reason
==
DLL_PROCESS_ATTACH
)
if
(
Reason
==
DLL_PROCESS_ATTACH
)
...
...
include/ddraw.h
View file @
5b375aec
...
@@ -1065,6 +1065,10 @@ typedef BOOL (CALLBACK *LPDDENUMCALLBACKEXA)(GUID *, LPSTR, LPSTR, LPVOID, HMONI
...
@@ -1065,6 +1065,10 @@ typedef BOOL (CALLBACK *LPDDENUMCALLBACKEXA)(GUID *, LPSTR, LPSTR, LPVOID, HMONI
typedef
BOOL
(
CALLBACK
*
LPDDENUMCALLBACKEXW
)(
GUID
*
,
LPWSTR
,
LPWSTR
,
LPVOID
,
HMONITOR
);
typedef
BOOL
(
CALLBACK
*
LPDDENUMCALLBACKEXW
)(
GUID
*
,
LPWSTR
,
LPWSTR
,
LPVOID
,
HMONITOR
);
DECL_WINELIB_TYPE_AW
(
LPDDENUMCALLBACKEX
)
DECL_WINELIB_TYPE_AW
(
LPDDENUMCALLBACKEX
)
HRESULT
WINAPI
DirectDrawEnumerateA
(
LPDDENUMCALLBACKA
,
LPVOID
);
HRESULT
WINAPI
DirectDrawEnumerateW
(
LPDDENUMCALLBACKW
,
LPVOID
);
#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate)
HRESULT
WINAPI
DirectDrawEnumerateExA
(
LPDDENUMCALLBACKEXA
lpCallback
,
LPVOID
lpContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
DirectDrawEnumerateExA
(
LPDDENUMCALLBACKEXA
lpCallback
,
LPVOID
lpContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
DirectDrawEnumerateExW
(
LPDDENUMCALLBACKEXW
lpCallback
,
LPVOID
lpContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
DirectDrawEnumerateExW
(
LPDDENUMCALLBACKEXW
lpCallback
,
LPVOID
lpContext
,
DWORD
dwFlags
);
#define DirectDrawEnumerateEx WINELIB_NAME_AW(DirectDrawEnumerateEx)
#define DirectDrawEnumerateEx WINELIB_NAME_AW(DirectDrawEnumerateEx)
...
@@ -2663,12 +2667,9 @@ DECLARE_INTERFACE_(IDirectDrawGammaControl,IUnknown)
...
@@ -2663,12 +2667,9 @@ DECLARE_INTERFACE_(IDirectDrawGammaControl,IUnknown)
#endif
#endif
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
,
LPDIRECTDRAW
*
,
LPUNKNOWN
);
HRESULT
WINAPI
DirectDrawCreate
(
GUID
*
,
LPDIRECTDRAW
*
,
IUnknown
*
);
HRESULT
WINAPI
DirectDrawCreateEx
(
LPGUID
,
LPVOID
*
,
REFIID
,
LPUNKNOWN
);
HRESULT
WINAPI
DirectDrawCreateEx
(
GUID
*
,
LPVOID
*
,
REFIID
,
IUnknown
*
);
HRESULT
WINAPI
DirectDrawEnumerateA
(
LPDDENUMCALLBACKA
,
LPVOID
);
HRESULT
WINAPI
DirectDrawCreateClipper
(
DWORD
,
LPDIRECTDRAWCLIPPER
*
,
IUnknown
*
);
HRESULT
WINAPI
DirectDrawEnumerateW
(
LPDDENUMCALLBACKW
,
LPVOID
);
#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate)
HRESULT
WINAPI
DirectDrawCreateClipper
(
DWORD
,
LPDIRECTDRAWCLIPPER
*
,
LPUNKNOWN
);
#ifdef __cplusplus
#ifdef __cplusplus
}
/* extern "C" */
}
/* extern "C" */
...
...
tools/winapi/win32.api
View file @
5b375aec
...
@@ -1008,14 +1008,12 @@ HRESULT
...
@@ -1008,14 +1008,12 @@ HRESULT
%ptr
%ptr
GUID *
IUnknown *
LPDDENUMCALLBACKA
LPDDENUMCALLBACKA
LPDDENUMCALLBACKEXA
LPDDENUMCALLBACKEXA
LPDDENUMCALLBACKEXW
LPDDENUMCALLBACKW
LPDIRECTDRAW *
LPDIRECTDRAW *
LPDIRECTDRAWCLIPPER *
LPDIRECTDRAWCLIPPER *
LPGUID
LPUNKNOWN
LPVOID
LPVOID
LPVOID *
LPVOID *
REFCLSID
REFCLSID
...
...
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