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
dacdb9c4
Commit
dacdb9c4
authored
Feb 14, 2001
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
895d4f10
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
comm.c
dlls/kernel/comm.c
+2
-2
shres.rc
dlls/shell32/shres.rc
+1
-1
mmsystem.c
dlls/winmm/mmsystem.c
+2
-2
socket.c
dlls/winsock/socket.c
+8
-4
No files found.
dlls/kernel/comm.c
View file @
dacdb9c4
...
@@ -522,7 +522,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
...
@@ -522,7 +522,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
COM
[
port
].
xmit
=
-
1
;
COM
[
port
].
xmit
=
-
1
;
/* allocate buffers */
/* allocate buffers */
COM
[
port
].
ibuf_size
=
cbInQueue
;
COM
[
port
].
ibuf_size
=
cbInQueue
;
COM
[
port
].
ibuf_head
=
COM
[
port
].
ibuf_tail
=
0
;
COM
[
port
].
ibuf_head
=
COM
[
port
].
ibuf_tail
=
0
;
COM
[
port
].
obuf_size
=
cbOutQueue
;
COM
[
port
].
obuf_size
=
cbOutQueue
;
COM
[
port
].
obuf_head
=
COM
[
port
].
obuf_tail
=
0
;
COM
[
port
].
obuf_head
=
COM
[
port
].
obuf_tail
=
0
;
...
@@ -807,7 +807,7 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
...
@@ -807,7 +807,7 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
lpStat
->
cbOutQue
=
comm_outbuf
(
ptr
);
lpStat
->
cbOutQue
=
comm_outbuf
(
ptr
);
lpStat
->
cbInQue
=
comm_inbuf
(
ptr
);
lpStat
->
cbInQue
=
comm_inbuf
(
ptr
);
TRACE
(
"cid %d, error %d,
lpStat %d %d %d
stol %x
\n
"
,
TRACE
(
"cid %d, error %d,
stat %d in %d out %d,
stol %x
\n
"
,
cid
,
ptr
->
commerror
,
lpStat
->
status
,
lpStat
->
cbInQue
,
cid
,
ptr
->
commerror
,
lpStat
->
status
,
lpStat
->
cbInQue
,
lpStat
->
cbOutQue
,
*
stol
);
lpStat
->
cbOutQue
,
*
stol
);
}
}
...
...
dlls/shell32/shres.rc
View file @
dacdb9c4
/*
/*
* Top level resource file for
Common Dialogs
* Top level resource file for
shell stuff
*
*
*/
*/
...
...
dlls/winmm/mmsystem.c
View file @
dacdb9c4
...
@@ -3838,7 +3838,7 @@ UINT16 WINAPI waveOutOpen16(HWAVEOUT16* lphWaveOut, UINT16 uDeviceID,
...
@@ -3838,7 +3838,7 @@ UINT16 WINAPI waveOutOpen16(HWAVEOUT16* lphWaveOut, UINT16 uDeviceID,
HWAVEOUT
hWaveOut
;
HWAVEOUT
hWaveOut
;
UINT
ret
;
UINT
ret
;
/* since layout of WAVE
O
FORMATEX is the same for 16/32 bits, we directly
/* since layout of WAVEFORMATEX is the same for 16/32 bits, we directly
* call the 32 bit version
* call the 32 bit version
*/
*/
ret
=
MMSYSTEM_waveOpen
(
&
hWaveOut
,
uDeviceID
,
MMDRV_WAVEOUT
,
lpFormat
,
ret
=
MMSYSTEM_waveOpen
(
&
hWaveOut
,
uDeviceID
,
MMDRV_WAVEOUT
,
lpFormat
,
...
@@ -4479,7 +4479,7 @@ UINT16 WINAPI waveInOpen16(HWAVEIN16* lphWaveIn, UINT16 uDeviceID,
...
@@ -4479,7 +4479,7 @@ UINT16 WINAPI waveInOpen16(HWAVEIN16* lphWaveIn, UINT16 uDeviceID,
HWAVEIN
hWaveIn
;
HWAVEIN
hWaveIn
;
UINT
ret
;
UINT
ret
;
/* since layout of WAVE
O
FORMATEX is the same for 16/32 bits, we directly
/* since layout of WAVEFORMATEX is the same for 16/32 bits, we directly
* call the 32 bit version
* call the 32 bit version
*/
*/
ret
=
MMSYSTEM_waveOpen
(
&
hWaveIn
,
uDeviceID
,
MMDRV_WAVEIN
,
lpFormat
,
ret
=
MMSYSTEM_waveOpen
(
&
hWaveIn
,
uDeviceID
,
MMDRV_WAVEIN
,
lpFormat
,
...
...
dlls/winsock/socket.c
View file @
dacdb9c4
...
@@ -2588,15 +2588,19 @@ WIN_servent* WINAPI WSOCK32_getservbyport(INT port, const char *proto)
...
@@ -2588,15 +2588,19 @@ WIN_servent* WINAPI WSOCK32_getservbyport(INT port, const char *proto)
*/
*/
INT
WINAPI
WSOCK32_gethostname
(
char
*
name
,
INT
namelen
)
INT
WINAPI
WSOCK32_gethostname
(
char
*
name
,
INT
namelen
)
{
{
LPWSINFO
pwsi
=
WINSOCK_GetIData
();
LPWSINFO
pwsi
=
WINSOCK_GetIData
();
TRACE
(
"(%08x): name %s, len %d
\n
"
,
TRACE
(
"(%08x): name %p, len %d
\n
"
,
(
unsigned
)
pwsi
,
name
,
namelen
);
(
unsigned
)
pwsi
,
(
name
)
?
name
:
NULL_STRING
,
namelen
);
if
(
pwsi
)
if
(
pwsi
)
{
{
if
(
gethostname
(
name
,
namelen
)
==
0
)
return
0
;
if
(
gethostname
(
name
,
namelen
)
==
0
)
{
TRACE
(
"<- '%s'
\n
"
,
name
);
return
0
;
}
SetLastError
((
errno
==
EINVAL
)
?
WSAEFAULT
:
wsaErrno
());
SetLastError
((
errno
==
EINVAL
)
?
WSAEFAULT
:
wsaErrno
());
}
}
TRACE
(
"<- ERROR !
\n
"
);
return
SOCKET_ERROR
;
return
SOCKET_ERROR
;
}
}
...
...
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