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
acecec4a
Commit
acecec4a
authored
Nov 22, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Command resources should not depend on pointer size.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=52072
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
53e207fd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
21 deletions
+5
-21
mciavi_res.rc
dlls/mciavi32/mciavi_res.rc
+1
-5
mciavi_res.rc
dlls/mciqtz32/mciavi_res.rc
+1
-5
mci.c
dlls/winmm/mci.c
+2
-6
winmm_res.rc
dlls/winmm/winmm_res.rc
+1
-5
No files found.
dlls/mciavi32/mciavi_res.rc
View file @
acecec4a
...
@@ -22,11 +22,7 @@
...
@@ -22,11 +22,7 @@
#include "mmddk.h"
#include "mmddk.h"
#include "digitalv.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
MCIAVI RCDATA
MCIAVI RCDATA
BEGIN
BEGIN
...
...
dlls/mciqtz32/mciavi_res.rc
View file @
acecec4a
...
@@ -22,11 +22,7 @@
...
@@ -22,11 +22,7 @@
#include "mmddk.h"
#include "mmddk.h"
#include "digitalv.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
MCIAVI RCDATA
MCIAVI RCDATA
BEGIN
BEGIN
...
...
dlls/winmm/mci.c
View file @
acecec4a
...
@@ -1228,8 +1228,7 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
...
@@ -1228,8 +1228,7 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
}
break
;
break
;
}
}
#ifdef MCI_INTEGER64
case
13
:
/* MCI_INTEGER64 */
case
MCI_INTEGER64
:
{
{
DWORD_PTR
data
=
*
(
DWORD_PTR
*
)(
params
+
1
);
DWORD_PTR
data
=
*
(
DWORD_PTR
*
)(
params
+
1
);
switch
(
dwRet
&
0xFFFF0000ul
)
{
switch
(
dwRet
&
0xFFFF0000ul
)
{
...
@@ -1263,7 +1262,6 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
...
@@ -1263,7 +1262,6 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
}
break
;
break
;
}
}
#endif
case
MCI_STRING
:
case
MCI_STRING
:
switch
(
dwRet
&
0xFFFF0000ul
)
{
switch
(
dwRet
&
0xFFFF0000ul
)
{
case
0
:
case
0
:
...
@@ -1484,11 +1482,9 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
...
@@ -1484,11 +1482,9 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
case
MCI_RECT
:
case
MCI_RECT
:
offset
+=
4
*
sizeof
(
DWORD
);
offset
+=
4
*
sizeof
(
DWORD
);
break
;
break
;
#ifdef MCI_INTEGER64
case
13
:
/* MCI_INTEGER64 */
case
MCI_INTEGER64
:
offset
+=
sizeof
(
DWORD_PTR
);
offset
+=
sizeof
(
DWORD_PTR
);
break
;
break
;
#endif
default:
default:
FIXME
(
"Unknown MCI return type %d
\n
"
,
retType
);
FIXME
(
"Unknown MCI return type %d
\n
"
,
retType
);
dwRet
=
MCIERR_PARSER_INTERNAL
;
dwRet
=
MCIERR_PARSER_INTERNAL
;
...
...
dlls/winmm/winmm_res.rc
View file @
acecec4a
...
@@ -25,11 +25,7 @@
...
@@ -25,11 +25,7 @@
#include "windef.h"
#include "windef.h"
#include "mmddk.h"
#include "mmddk.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
...
...
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