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
40774c3c
Commit
40774c3c
authored
Feb 12, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the callback declarations to a safer format.
parent
2fd8388c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
10 deletions
+9
-10
process.h
include/process.h
+1
-1
setupapi.h
include/setupapi.h
+2
-2
shlwapi.h
include/shlwapi.h
+1
-1
vfw.h
include/vfw.h
+1
-1
winbase.h
include/winbase.h
+1
-1
undocshell.h
include/wine/undocshell.h
+1
-1
winsock2.h
include/winsock2.h
+1
-2
winsvc.h
include/winsvc.h
+1
-1
No files found.
include/process.h
View file @
40774c3c
...
...
@@ -8,7 +8,7 @@
#define _INC_PROCESS
typedef
void
(
*
LPBEGINTHREAD
)(
LPVOID
);
typedef
UINT
(
WINAPI
*
LPBEGINTHREADEX
)(
LPVOID
);
typedef
UINT
WINAPI
(
*
LPBEGINTHREADEX
)(
LPVOID
);
ULONG
_beginthread
(
LPBEGINTHREAD
,
UINT
,
LPVOID
);
void
_endthread
(
void
);
...
...
include/setupapi.h
View file @
40774c3c
...
...
@@ -26,9 +26,9 @@ typedef struct _INFCONTEXT
UINT
Line
;
}
INFCONTEXT
,
*
PINFCONTEXT
;
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_A
)(
PVOID
Context
,
UINT
Notification
,
typedef
UINT
CALLBACK
(
*
PSP_FILE_CALLBACK_A
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
typedef
UINT
(
CALLBACK
*
PSP_FILE_CALLBACK_W
)(
PVOID
Context
,
UINT
Notification
,
typedef
UINT
CALLBACK
(
*
PSP_FILE_CALLBACK_W
)(
PVOID
Context
,
UINT
Notification
,
UINT
Param1
,
UINT
Param2
);
#define PSP_FILE_CALLBACK WINELIB_NAME_AW(PSP_FILE_CALLBACK_)
...
...
include/shlwapi.h
View file @
40774c3c
...
...
@@ -237,7 +237,7 @@ typedef struct _DllVersionInfo {
#define DLLVER_PLATFORM_WINDOWS 0x00000001 // Windows 9x
#define DLLVER_PLATFORM_NT 0x00000002 // Windows NT
typedef
HRESULT
(
CALLBACK
*
DLLGETVERSIONPROC
)(
DLLVERSIONINFO
*
);
typedef
HRESULT
CALLBACK
(
*
DLLGETVERSIONPROC
)(
DLLVERSIONINFO
*
);
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/vfw.h
View file @
40774c3c
...
...
@@ -680,7 +680,7 @@ inline static LRESULT VFWAPI ICDrawSuggestFormat(HIC hic, LPBITMAPINFOHEADER lpb
ICSendMessage(hic, ICM_DRAW_RENDERBUFFER, 0, 0)
inline
static
LRESULT
VFWAPI
ICSetStatusProc
(
HIC
hic
,
DWORD
dwFlags
,
LRESULT
lParam
,
LONG
(
CALLBACK
*
fpfnStatus
)(
LPARAM
,
UINT
,
LONG
))
LONG
CALLBACK
(
*
fpfnStatus
)(
LPARAM
,
UINT
,
LONG
))
{
ICSETSTATUSPROC
ic
;
...
...
include/winbase.h
View file @
40774c3c
...
...
@@ -23,7 +23,7 @@ extern "C" {
typedef
DWORD
CALLBACK
(
*
LPTHREAD_START_ROUTINE
)(
LPVOID
);
typedef
VOID
(
WINAPI
*
PFIBER_START_ROUTINE
)(
LPVOID
lpFiberParameter
);
typedef
VOID
WINAPI
(
*
PFIBER_START_ROUTINE
)(
LPVOID
lpFiberParameter
);
typedef
PFIBER_START_ROUTINE
LPFIBER_START_ROUTINE
;
typedef
RTL_CRITICAL_SECTION
CRITICAL_SECTION
;
...
...
include/wine/undocshell.h
View file @
40774c3c
...
...
@@ -641,7 +641,7 @@ BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs);
*/
/* SHCreateShellFolderViewEx callback function */
typedef
HRESULT
(
CALLBACK
*
LPFNSFVCALLBACK
)(
typedef
HRESULT
CALLBACK
(
*
LPFNSFVCALLBACK
)(
DWORD
dwUser
,
LPSHELLFOLDER
pshf
,
HWND
hWnd
,
...
...
include/winsock2.h
View file @
40774c3c
...
...
@@ -196,8 +196,7 @@ typedef struct _OVERLAPPED * LPWSAOVERLAPPED;
typedef
HANDLE
WSAEVENT
;
typedef
unsigned
int
GROUP
;
typedef
void
(
CALLBACK
*
LPWSAOVERLAPPED_COMPLETION_ROUTINE
)
typedef
void
CALLBACK
(
*
LPWSAOVERLAPPED_COMPLETION_ROUTINE
)
(
DWORD
dwError
,
DWORD
cbTransferred
,
...
...
include/winsvc.h
View file @
40774c3c
...
...
@@ -136,7 +136,7 @@ DECL_WINELIB_TYPE_AW(LPENUM_SERVICE_STATUS)
/* Service control handler function prototype */
typedef
VOID
(
WINAPI
*
LPHANDLER_FUNCTION
)(
DWORD
);
typedef
VOID
WINAPI
(
*
LPHANDLER_FUNCTION
)(
DWORD
);
/* API function prototypes */
...
...
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