Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6c644d68
Commit
6c644d68
authored
Oct 19, 2004
by
Vincent Béron
Committed by
Alexandre Julliard
Oct 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various function prototypes.
parent
c3de6ef3
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
37 additions
and
37 deletions
+37
-37
filedlg.c
dlls/commdlg/filedlg.c
+1
-1
process.c
dlls/kernel/process.c
+1
-1
sync.c
dlls/kernel/sync.c
+4
-4
rpc_server.c
dlls/rpcrt4/rpc_server.c
+2
-2
shellole.c
dlls/shell32/shellole.c
+1
-1
winproc.h
dlls/user/winproc.h
+1
-1
driver.c
dlls/winmm/driver.c
+1
-1
winemm.h
dlls/winmm/winemm.h
+12
-12
winmm.c
dlls/winmm/winmm.c
+10
-10
socket.c
dlls/winsock/socket.c
+2
-2
hlp2sgml.c
programs/winhelp/hlp2sgml.c
+2
-2
No files found.
dlls/commdlg/filedlg.c
View file @
6c644d68
...
...
@@ -2120,7 +2120,7 @@ ret:
*
* Initialisation of the shell objects
*/
static
H
RESULT
FILEDLG95_SHELL_Init
(
HWND
hwnd
)
static
L
RESULT
FILEDLG95_SHELL_Init
(
HWND
hwnd
)
{
FileOpenDlgInfos
*
fodInfos
=
(
FileOpenDlgInfos
*
)
GetPropA
(
hwnd
,
FileOpenDlgInfosStr
);
...
...
dlls/kernel/process.c
View file @
6c644d68
...
...
@@ -2599,7 +2599,7 @@ DWORD WINAPI GetPriorityClass(HANDLE hProcess)
/***********************************************************************
* SetProcessAffinityMask (KERNEL32.@)
*/
BOOL
WINAPI
SetProcessAffinityMask
(
HANDLE
hProcess
,
DWORD
affmask
)
BOOL
WINAPI
SetProcessAffinityMask
(
HANDLE
hProcess
,
DWORD
_PTR
affmask
)
{
BOOL
ret
;
SERVER_START_REQ
(
set_process_info
)
...
...
dlls/kernel/sync.c
View file @
6c644d68
...
...
@@ -1583,10 +1583,10 @@ BOOL WINAPI SetMailslotInfo( HANDLE hMailslot, DWORD dwReadTimeout)
* CreateIoCompletionPort (KERNEL32.@)
*/
HANDLE
WINAPI
CreateIoCompletionPort
(
HANDLE
hFileHandle
,
HANDLE
hExistingCompletionPort
,
DWORD
dw
CompletionKey
,
DWORD
dwNumberOfConcurrentThreads
)
ULONG_PTR
CompletionKey
,
DWORD
dwNumberOfConcurrentThreads
)
{
FIXME
(
"(%p, %p, %08lx, %08lx): stub.
\n
"
,
hFileHandle
,
hExistingCompletionPort
,
dw
CompletionKey
,
dwNumberOfConcurrentThreads
);
hFileHandle
,
hExistingCompletionPort
,
CompletionKey
,
dwNumberOfConcurrentThreads
);
return
NULL
;
}
...
...
@@ -1595,11 +1595,11 @@ HANDLE WINAPI CreateIoCompletionPort(HANDLE hFileHandle, HANDLE hExistingComplet
* GetQueuedCompletionStatus (KERNEL32.@)
*/
BOOL
WINAPI
GetQueuedCompletionStatus
(
HANDLE
CompletionPort
,
LPDWORD
lpNumberOfBytesTransferred
,
LPDWORD
l
pCompletionKey
,
LPOVERLAPPED
*
lpOverlapped
,
PULONG_PTR
pCompletionKey
,
LPOVERLAPPED
*
lpOverlapped
,
DWORD
dwMilliseconds
)
{
FIXME
(
"(%p,%p,%p,%p,%ld), stub!
\n
"
,
CompletionPort
,
lpNumberOfBytesTransferred
,
l
pCompletionKey
,
lpOverlapped
,
dwMilliseconds
);
CompletionPort
,
lpNumberOfBytesTransferred
,
pCompletionKey
,
lpOverlapped
,
dwMilliseconds
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
...
...
dlls/rpcrt4/rpc_server.c
View file @
6c644d68
...
...
@@ -893,7 +893,7 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
/***********************************************************************
* RpcServerRegisterAuthInfoA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
unsigned
char
*
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
unsigned
char
*
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
)
{
FIXME
(
"(%s,%lu,%p,%p): stub
\n
"
,
ServerPrincName
,
AuthnSvc
,
GetKeyFn
,
Arg
);
...
...
@@ -904,7 +904,7 @@ RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( unsigned char *ServerPrincName, UL
/***********************************************************************
* RpcServerRegisterAuthInfoW (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoW
(
LPWSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoW
(
LPWSTR
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
)
{
FIXME
(
"(%s,%lu,%p,%p): stub
\n
"
,
debugstr_w
(
ServerPrincName
),
AuthnSvc
,
GetKeyFn
,
Arg
);
...
...
dlls/shell32/shellole.c
View file @
6c644d68
...
...
@@ -101,7 +101,7 @@ DWORD WINAPI __SHGUIDToStringW (REFGUID guid, LPWSTR str)
/************************************************************************/
L
RESULT
WINAPI
SHCoCreateInstance
(
H
RESULT
WINAPI
SHCoCreateInstance
(
LPCWSTR
aclsid
,
const
CLSID
*
clsid
,
LPUNKNOWN
pUnkOuter
,
...
...
dlls/user/winproc.h
View file @
6c644d68
...
...
@@ -141,6 +141,6 @@ extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
/* Timer functions */
extern
void
TIMER_RemoveWindowTimers
(
HWND
hwnd
);
extern
void
TIMER_RemoveThreadTimers
(
void
);
extern
BOOL
TIMER_IsTimerValid
(
HWND
hwnd
,
UINT
id
,
WNDPROC
proc
);
extern
BOOL
TIMER_IsTimerValid
(
HWND
hwnd
,
UINT
_PTR
id
,
WNDPROC
proc
);
#endif
/* __WINE_WINPROC_H */
dlls/winmm/driver.c
View file @
6c644d68
...
...
@@ -468,7 +468,7 @@ HMODULE WINAPI GetDriverModuleHandle(HDRVR hDrvr)
* DefDriverProc [WINMM.@]
* DrvDefDriverProc [WINMM.@]
*/
LRESULT
WINAPI
DefDriverProc
(
DWORD
dwDriverIdentifier
,
HDRVR
hDrv
,
LRESULT
WINAPI
DefDriverProc
(
DWORD
_PTR
dwDriverIdentifier
,
HDRVR
hDrv
,
UINT
Msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
switch
(
Msg
)
{
...
...
dlls/winmm/winemm.h
View file @
6c644d68
...
...
@@ -250,25 +250,25 @@ const char* MCI_MessageToString(UINT16 wMsg);
UINT
WINAPI
MCI_DefYieldProc
(
MCIDEVICEID
wDevID
,
DWORD
data
);
LRESULT
MCI_CleanUp
(
LRESULT
dwRet
,
UINT
wMsg
,
DWORD
dwParam2
);
DWORD
MCI_SendCommand
(
UINT
wDevID
,
UINT16
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
,
BOOL
bFrom32
);
DWORD
MCI_SendCommandFrom32
(
UINT
wDevID
,
UINT16
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
);
DWORD
MCI_SendCommandFrom16
(
UINT
wDevID
,
UINT16
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
);
DWORD
MCI_SendCommandFrom32
(
UINT
wDevID
,
UINT16
wMsg
,
DWORD
_PTR
dwParam1
,
DWORD_PTR
dwParam2
);
DWORD
MCI_SendCommandFrom16
(
UINT
wDevID
,
UINT16
wMsg
,
DWORD
_PTR
dwParam1
,
DWORD_PTR
dwParam2
);
UINT
MCI_SetCommandTable
(
void
*
table
,
UINT
uDevType
);
BOOL
WINMM_CheckForMMSystem
(
void
);
const
char
*
WINMM_ErrorToString
(
MMRESULT
error
);
UINT
MIXER_Open
(
LPHMIXER
lphMix
,
UINT
uDeviceID
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
,
BOOL
bFrom32
);
UINT
MIDI_OutOpen
(
HMIDIOUT
*
lphMidiOut
,
UINT
uDeviceID
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
UINT
MIDI_InOpen
(
HMIDIIN
*
lphMidiIn
,
UINT
uDeviceID
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
UINT
MIXER_Open
(
LPHMIXER
lphMix
,
UINT
uDeviceID
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
fdwOpen
,
BOOL
bFrom32
);
UINT
MIDI_OutOpen
(
HMIDIOUT
*
lphMidiOut
,
UINT
uDeviceID
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
UINT
MIDI_InOpen
(
HMIDIIN
*
lphMidiIn
,
UINT
uDeviceID
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
MMRESULT
MIDI_StreamOpen
(
HMIDISTRM
*
lphMidiStrm
,
LPUINT
lpuDeviceID
,
DWORD
cMidi
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
,
BOOL
bFrom32
);
DWORD
cMidi
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
fdwOpen
,
BOOL
bFrom32
);
UINT
WAVE_Open
(
HANDLE
*
lphndl
,
UINT
uDeviceID
,
UINT
uType
,
const
LPWAVEFORMATEX
lpFormat
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
const
LPWAVEFORMATEX
lpFormat
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
HMMIO
MMIO_Open
(
LPSTR
szFileName
,
MMIOINFO
*
refmminfo
,
DWORD
dwOpenFlags
,
enum
mmioProcType
type
);
...
...
dlls/winmm/winmm.c
View file @
6c644d68
...
...
@@ -1678,8 +1678,8 @@ UINT WINAPI midiInGetErrorTextA(UINT uError, LPSTR lpText, UINT uSize)
return
MIDI_GetErrorText
(
uError
,
lpText
,
uSize
);
}
UINT
MIDI_InOpen
(
HMIDIIN
*
lphMidiIn
,
UINT
uDeviceID
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
)
UINT
MIDI_InOpen
(
HMIDIIN
*
lphMidiIn
,
UINT
uDeviceID
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
)
{
HANDLE
hMidiIn
;
LPWINE_MIDI
lpwm
;
...
...
@@ -1717,7 +1717,7 @@ UINT MIDI_InOpen(HMIDIIN* lphMidiIn, UINT uDeviceID, DWORD dwCallback,
* midiInOpen [WINMM.@]
*/
UINT
WINAPI
midiInOpen
(
HMIDIIN
*
lphMidiIn
,
UINT
uDeviceID
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
)
DWORD
_PTR
dwCallback
,
DWORD_PTR
dwInstance
,
DWORD
dwFlags
)
{
return
MIDI_InOpen
(
lphMidiIn
,
uDeviceID
,
dwCallback
,
dwInstance
,
dwFlags
,
TRUE
);
}
...
...
@@ -2226,7 +2226,7 @@ MMRESULT WINAPI midiStreamClose(HMIDISTRM hMidiStrm)
* MMSYSTEM_MidiStream_Open [internal]
*/
MMRESULT
MIDI_StreamOpen
(
HMIDISTRM
*
lphMidiStrm
,
LPUINT
lpuDeviceID
,
DWORD
cMidi
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
,
DWORD
_PTR
dwCallback
,
DWORD_PTR
dwInstance
,
DWORD
fdwOpen
,
BOOL
bFrom32
)
{
WINE_MIDIStream
*
lpMidiStrm
;
...
...
@@ -2293,8 +2293,8 @@ MMRESULT MIDI_StreamOpen(HMIDISTRM* lphMidiStrm, LPUINT lpuDeviceID, DWORD cMidi
* midiStreamOpen [WINMM.@]
*/
MMRESULT
WINAPI
midiStreamOpen
(
HMIDISTRM
*
lphMidiStrm
,
LPUINT
lpuDeviceID
,
DWORD
cMidi
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
)
DWORD
cMidi
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
fdwOpen
)
{
return
MIDI_StreamOpen
(
lphMidiStrm
,
lpuDeviceID
,
cMidi
,
dwCallback
,
dwInstance
,
fdwOpen
,
TRUE
);
...
...
@@ -2478,8 +2478,8 @@ MMRESULT WINAPI midiStreamStop(HMIDISTRM hMidiStrm)
}
UINT
WAVE_Open
(
HANDLE
*
lphndl
,
UINT
uDeviceID
,
UINT
uType
,
const
LPWAVEFORMATEX
lpFormat
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
)
const
LPWAVEFORMATEX
lpFormat
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
)
{
HANDLE
handle
;
LPWINE_MLD
wmld
;
...
...
@@ -3046,8 +3046,8 @@ UINT WINAPI waveInGetErrorTextW(UINT uError, LPWSTR lpText, UINT uSize)
* waveInOpen [WINMM.@]
*/
UINT
WINAPI
waveInOpen
(
HWAVEIN
*
lphWaveIn
,
UINT
uDeviceID
,
const
LPWAVEFORMATEX
lpFormat
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
dwFlags
)
const
LPWAVEFORMATEX
lpFormat
,
DWORD
_PTR
dwCallback
,
DWORD
_PTR
dwInstance
,
DWORD
dwFlags
)
{
return
WAVE_Open
((
HANDLE
*
)
lphWaveIn
,
uDeviceID
,
MMDRV_WAVEIN
,
lpFormat
,
dwCallback
,
dwInstance
,
dwFlags
,
TRUE
);
...
...
dlls/winsock/socket.c
View file @
6c644d68
...
...
@@ -2866,7 +2866,7 @@ int WINAPI WSAEnumNetworkEvents(SOCKET s, WSAEVENT hEvent, LPWSANETWORKEVENTS lp
/***********************************************************************
* WSAEventSelect (WS2_32.39)
*/
int
WINAPI
WSAEventSelect
(
SOCKET
s
,
WSAEVENT
hEvent
,
LONG
lEvent
)
int
WINAPI
WSAEventSelect
(
SOCKET
s
,
WSAEVENT
hEvent
,
long
lEvent
)
{
int
ret
;
...
...
@@ -2944,7 +2944,7 @@ BOOL WINAPI WSAGetOverlappedResult ( SOCKET s, LPWSAOVERLAPPED lpOverlapped,
/***********************************************************************
* WSAAsyncSelect (WS2_32.101)
*/
INT
WINAPI
WSAAsyncSelect
(
SOCKET
s
,
HWND
hWnd
,
UINT
uMsg
,
LONG
lEvent
)
INT
WINAPI
WSAAsyncSelect
(
SOCKET
s
,
HWND
hWnd
,
UINT
uMsg
,
long
lEvent
)
{
int
ret
;
...
...
programs/winhelp/hlp2sgml.c
View file @
6c644d68
...
...
@@ -298,13 +298,13 @@ HANDLE WINAPI GetProcessHeap(void)
return
0
;
}
void
*
WINAPI
HeapAlloc
(
HANDLE
heap
,
DWORD
flags
,
DWORD
size
)
void
*
WINAPI
HeapAlloc
(
HANDLE
heap
,
DWORD
flags
,
SIZE_T
size
)
{
assert
(
flags
==
0
);
return
malloc
(
size
);
}
void
*
WINAPI
HeapReAlloc
(
HANDLE
heap
,
DWORD
flags
,
void
*
ptr
,
DWORD
size
)
void
*
WINAPI
HeapReAlloc
(
HANDLE
heap
,
DWORD
flags
,
void
*
ptr
,
SIZE_T
size
)
{
assert
(
flags
==
0
);
return
realloc
(
ptr
,
size
);
...
...
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