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
0e67f65c
Commit
0e67f65c
authored
Oct 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add support for building Wine with strict prototype checking.
parent
5af33ee0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
5 deletions
+29
-5
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+1
-1
mscoree.idl
include/mscoree.idl
+4
-0
rpcndr.h
include/rpcndr.h
+4
-0
vfw.h
include/vfw.h
+4
-0
windef.h
include/windef.h
+8
-2
windef16.h
include/wine/windef16.h
+8
-2
No files found.
dlls/msvfw32/msvideo_main.c
View file @
0e67f65c
...
...
@@ -472,7 +472,7 @@ HIC VFWAPI ICOpen(DWORD fccType, DWORD fccHandler, UINT wMode)
/***********************************************************************
* ICOpenFunction [MSVFW32.@]
*/
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
FA
RPROC
lpfnHandler
)
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
DRIVE
RPROC
lpfnHandler
)
{
ICOPEN
icopen
;
WINE_HIC
*
whic
;
...
...
include/mscoree.idl
View file @
0e67f65c
...
...
@@ -27,7 +27,11 @@ cpp_quote("HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);")
cpp_quote
(
"HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);"
)
cpp_quote
(
"#ifdef WINE_STRICT_PROTOTYPES"
)
cpp_quote
(
"typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"typedef HRESULT (__stdcall *FLockClrVersionCallback)();"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"HRESULT WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);"
)
typedef
void
*
HDOMAINENUM
;
...
...
include/rpcndr.h
View file @
0e67f65c
...
...
@@ -383,7 +383,11 @@ typedef struct _MIDL_SYNTAX_INFO
typedef
void
(
__RPC_API
*
STUB_THUNK
)(
PMIDL_STUB_MESSAGE
);
#ifdef WINE_STRICT_PROTOTYPES
typedef
LONG
(
__RPC_API
*
SERVER_ROUTINE
)(
void
);
#else
typedef
LONG
(
__RPC_API
*
SERVER_ROUTINE
)();
#endif
typedef
struct
_MIDL_SERVER_INFO_
{
...
...
include/vfw.h
View file @
0e67f65c
...
...
@@ -499,7 +499,11 @@ BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR
BOOL
VFWAPI
ICRemove
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wFlags
);
LRESULT
VFWAPI
ICGetInfo
(
HIC
hic
,
ICINFO
*
picinfo
,
DWORD
cb
);
HIC
VFWAPI
ICOpen
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
);
#ifdef WINE_STRICT_PROTOTYPES
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
DRIVERPROC
lpfnHandler
);
#else
HIC
VFWAPI
ICOpenFunction
(
DWORD
fccType
,
DWORD
fccHandler
,
UINT
wMode
,
FARPROC
lpfnHandler
);
#endif
LRESULT
VFWAPI
ICClose
(
HIC
hic
);
HIC
VFWAPI
ICLocate
(
DWORD
fccType
,
DWORD
fccHandler
,
LPBITMAPINFOHEADER
lpbiIn
,
LPBITMAPINFOHEADER
lpbiOut
,
WORD
wFlags
);
...
...
include/windef.h
View file @
0e67f65c
...
...
@@ -227,7 +227,8 @@ typedef unsigned int ULONG, *PULONG;
/* Note that Winelib is purely Win32. */
#ifdef __WINESRC__
#define WINE_NO_UNICODE_MACROS
#define WINE_NO_UNICODE_MACROS 1
#define WINE_STRICT_PROTOTYPES 1
#endif
#ifdef WINE_NO_UNICODE_MACROS
...
...
@@ -304,10 +305,15 @@ typedef HICON HCURSOR;
/* Callback function pointers types */
#ifdef WINE_STRICT_PROTOTYPES
typedef
INT_PTR
(
CALLBACK
*
FARPROC
)(
void
);
typedef
INT_PTR
(
CALLBACK
*
NEARPROC
)(
void
);
typedef
INT_PTR
(
CALLBACK
*
PROC
)(
void
);
#else
typedef
INT_PTR
(
CALLBACK
*
FARPROC
)();
typedef
INT_PTR
(
CALLBACK
*
NEARPROC
)();
typedef
INT_PTR
(
CALLBACK
*
PROC
)();
#endif
/* Macros to split words and longs. */
...
...
include/wine/windef16.h
View file @
0e67f65c
...
...
@@ -151,8 +151,6 @@ typedef struct
typedef
LRESULT
(
CALLBACK
*
DRIVERPROC16
)(
DWORD
,
HDRVR16
,
UINT16
,
LPARAM
,
LPARAM
);
typedef
BOOL16
(
CALLBACK
*
DLGPROC16
)(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
typedef
INT16
(
CALLBACK
*
EDITWORDBREAKPROC16
)(
LPSTR
,
INT16
,
INT16
,
INT16
);
typedef
LRESULT
(
CALLBACK
*
FARPROC16
)();
typedef
INT16
(
CALLBACK
*
PROC16
)();
typedef
BOOL16
(
CALLBACK
*
GRAYSTRINGPROC16
)(
HDC16
,
LPARAM
,
INT16
);
typedef
LRESULT
(
CALLBACK
*
HOOKPROC16
)(
INT16
,
WPARAM16
,
LPARAM
);
typedef
BOOL16
(
CALLBACK
*
PROPENUMPROC16
)(
HWND16
,
SEGPTR
,
HANDLE16
);
...
...
@@ -160,4 +158,12 @@ typedef VOID (CALLBACK *TIMERPROC16)(HWND16,UINT16,UINT16,DWORD);
typedef
LRESULT
(
CALLBACK
*
WNDENUMPROC16
)(
HWND16
,
LPARAM
);
typedef
LRESULT
(
CALLBACK
*
WNDPROC16
)(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
#ifdef WINE_STRICT_PROTOTYPES
typedef
LRESULT
(
CALLBACK
*
FARPROC16
)(
void
);
typedef
INT16
(
CALLBACK
*
PROC16
)(
void
);
#else
typedef
LRESULT
(
CALLBACK
*
FARPROC16
)();
typedef
INT16
(
CALLBACK
*
PROC16
)();
#endif
#endif
/* __WINE_WINDEF16_H */
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