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
341b3416
Commit
341b3416
authored
Feb 21, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe16: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f383ad10
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
15 deletions
+14
-15
Makefile.in
dlls/user.exe16/Makefile.in
+0
-1
bidi.c
dlls/user.exe16/bidi.c
+1
-1
comm.c
dlls/user.exe16/comm.c
+4
-4
dialog.c
dlls/user.exe16/dialog.c
+2
-2
message.c
dlls/user.exe16/message.c
+2
-2
network.c
dlls/user.exe16/network.c
+1
-1
user.c
dlls/user.exe16/user.c
+4
-4
No files found.
dlls/user.exe16/Makefile.in
View file @
341b3416
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
user.exe16
IMPORTS
=
mpr user32 gdi32 win32u
EXTRADLLFLAGS
=
-m16
-Wb
,--main-module,user32.dll,--heap,65520
...
...
dlls/user.exe16/bidi.c
View file @
341b3416
...
...
@@ -309,7 +309,7 @@ void WINAPI SetDlgItemTextEx16( HWND16 hwnd, INT16 id,
*/
BOOL16
WINAPI
SetProcessDefaultLayout16
(
DWORD
dwDefaultLayout
)
{
FIXME
(
"( %08x ): No BiDi16
\n
"
,
dwDefaultLayout
);
FIXME
(
"( %08
l
x ): No BiDi16
\n
"
,
dwDefaultLayout
);
return
SetProcessDefaultLayout
(
dwDefaultLayout
);
}
...
...
dlls/user.exe16/comm.c
View file @
341b3416
...
...
@@ -194,11 +194,11 @@ static VOID WINAPI COMM16_ReadComplete(DWORD dwErrorCode, DWORD len, LPOVERLAPPE
/* read data from comm port */
if
(
dwErrorCode
!=
NO_ERROR
)
{
ERR
(
"async read failed, error %d
\n
"
,
dwErrorCode
);
ERR
(
"async read failed, error %
l
d
\n
"
,
dwErrorCode
);
COM
[
cid
].
commerror
=
CE_RXOVER
;
return
;
}
TRACE
(
"async read completed %d bytes
\n
"
,
len
);
TRACE
(
"async read completed %
l
d bytes
\n
"
,
len
);
prev
=
comm_inbuf
(
ptr
);
...
...
@@ -274,11 +274,11 @@ static VOID WINAPI COMM16_WriteComplete(DWORD dwErrorCode, DWORD len, LPOVERLAPP
/* read data from comm port */
if
(
dwErrorCode
!=
NO_ERROR
)
{
ERR
(
"async write failed, error %d
\n
"
,
dwErrorCode
);
ERR
(
"async write failed, error %
l
d
\n
"
,
dwErrorCode
);
COM
[
cid
].
commerror
=
CE_RXOVER
;
return
;
}
TRACE
(
"async write completed %d bytes
\n
"
,
len
);
TRACE
(
"async write completed %
l
d bytes
\n
"
,
len
);
/* update the buffer pointers */
prev
=
comm_outbuf
(
&
COM
[
cid
]);
...
...
dlls/user.exe16/dialog.c
View file @
341b3416
...
...
@@ -156,7 +156,7 @@ static LPCSTR DIALOG_GetControl16( LPCSTR p, DLG_CONTROL_INFO *info )
p
+=
*
p
+
1
;
TRACE
(
" %s %s %d, %d, %d, %d, %d, %08x, %p
\n
"
,
TRACE
(
" %s %s %d, %d, %d, %d, %d, %08
l
x, %p
\n
"
,
debugstr_a
(
info
->
className
),
debugstr_a
(
info
->
windowName
),
info
->
id
,
info
->
x
,
info
->
y
,
info
->
cx
,
info
->
cy
,
info
->
style
,
info
->
data
);
...
...
@@ -238,7 +238,7 @@ static LPCSTR DIALOG_ParseTemplate16( LPCSTR p, DLG_TEMPLATE * result )
result
->
cy
=
GET_WORD
(
p
);
p
+=
sizeof
(
WORD
);
TRACE
(
"DIALOG %d, %d, %d, %d
\n
"
,
result
->
x
,
result
->
y
,
result
->
cx
,
result
->
cy
);
TRACE
(
" STYLE %08x
\n
"
,
result
->
style
);
TRACE
(
" STYLE %08
l
x
\n
"
,
result
->
style
);
/* Get the menu name */
...
...
dlls/user.exe16/message.c
View file @
341b3416
...
...
@@ -895,7 +895,7 @@ LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd, UINT1
case
1
:
break
;
/* atom, nothing to do */
case
3
:
WARN
(
"DDE_ACK: %
l
x both atom and handle... choosing handle
\n
"
,
hi
);
WARN
(
"DDE_ACK: %
I
x both atom and handle... choosing handle
\n
"
,
hi
);
/* fall through */
case
2
:
hi
=
convert_handle_16_to_32
(
hi
,
GMEM_DDESHARE
);
...
...
@@ -1278,7 +1278,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
case
1
:
break
;
/* atom, nothing to do */
case
3
:
WARN
(
"DDE_ACK: %
l
x both atom and handle... choosing handle
\n
"
,
hi
);
WARN
(
"DDE_ACK: %
I
x both atom and handle... choosing handle
\n
"
,
hi
);
/* fall through */
case
2
:
hi
=
convert_handle_32_to_16
(
hi
,
GMEM_DDESHARE
);
...
...
dlls/user.exe16/network.c
View file @
341b3416
...
...
@@ -319,7 +319,7 @@ WORD WINAPI WNetGetUser16( LPSTR szUser, LPINT16 nBufferSize )
case
ERROR_MORE_DATA
:
return
WN16_MORE_DATA
;
default:
FIXME
(
"Untranslated return value %d
\n
"
,
ret
);
FIXME
(
"Untranslated return value %
l
d
\n
"
,
ret
);
}
return
ret
;
}
...
...
dlls/user.exe16/user.c
View file @
341b3416
...
...
@@ -1659,7 +1659,7 @@ HMODULE16 WINAPI GetDriverModuleHandle16(HDRVR16 hDrvr)
LRESULT
WINAPI
DefDriverProc16
(
DWORD
dwDevID
,
HDRVR16
hDriv
,
UINT16
wMsg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
FIXME
(
"devID=0x%08x hDrv=0x%04x wMsg=%04x lP1=0x%08lx lP2=0x%08lx: stub
\n
"
,
FIXME
(
"devID=0x%08
l
x hDrv=0x%04x wMsg=%04x lP1=0x%08lx lP2=0x%08lx: stub
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
lParam1
,
lParam2
);
return
0
;
}
...
...
@@ -1681,7 +1681,7 @@ BOOL16 WINAPI GetDriverInfo16(HDRVR16 hDrvr, struct DRIVERINFOSTRUCT16 *lpDrvInf
*/
HDRVR16
WINAPI
GetNextDriver16
(
HDRVR16
hDrvr
,
DWORD
dwFlags
)
{
FIXME
(
"(%04x, %08x): stub
\n
"
,
hDrvr
,
dwFlags
);
FIXME
(
"(%04x, %08
l
x): stub
\n
"
,
hDrvr
,
dwFlags
);
return
0
;
}
...
...
@@ -3170,7 +3170,7 @@ DWORD WINAPI FormatMessage16(
BOOL
eos
=
FALSE
;
LPSTR
allocstring
=
NULL
;
TRACE
(
"(0x%
x,%
x,%d,0x%x,%p,%d,%p)
\n
"
,
TRACE
(
"(0x%
lx,%l
x,%d,0x%x,%p,%d,%p)
\n
"
,
dwFlags
,
lpSource
,
dwMessageId
,
dwLanguageId
,
lpBuffer
,
nSize
,
args
);
if
((
dwFlags
&
FORMAT_MESSAGE_FROM_SYSTEM
)
&&
(
dwFlags
&
FORMAT_MESSAGE_FROM_HMODULE
))
return
0
;
...
...
@@ -3179,7 +3179,7 @@ DWORD WINAPI FormatMessage16(
||
(
dwFlags
&
FORMAT_MESSAGE_FROM_HMODULE
)))
return
0
;
if
(
width
&&
width
!=
FORMAT_MESSAGE_MAX_WIDTH_MASK
)
FIXME
(
"line wrapping (%u) not supported.
\n
"
,
width
);
FIXME
(
"line wrapping (%
l
u) not supported.
\n
"
,
width
);
from
=
NULL
;
if
(
dwFlags
&
FORMAT_MESSAGE_FROM_STRING
)
{
...
...
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