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
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 @@
#include "mmddk.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
MCIAVI RCDATA
BEGIN
...
...
dlls/mciqtz32/mciavi_res.rc
View file @
acecec4a
...
...
@@ -22,11 +22,7 @@
#include "mmddk.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
MCIAVI RCDATA
BEGIN
...
...
dlls/winmm/mci.c
View file @
acecec4a
...
...
@@ -1228,8 +1228,7 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
break
;
}
#ifdef MCI_INTEGER64
case
MCI_INTEGER64
:
case
13
:
/* MCI_INTEGER64 */
{
DWORD_PTR
data
=
*
(
DWORD_PTR
*
)(
params
+
1
);
switch
(
dwRet
&
0xFFFF0000ul
)
{
...
...
@@ -1263,7 +1262,6 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
break
;
}
#endif
case
MCI_STRING
:
switch
(
dwRet
&
0xFFFF0000ul
)
{
case
0
:
...
...
@@ -1484,11 +1482,9 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
case
MCI_RECT
:
offset
+=
4
*
sizeof
(
DWORD
);
break
;
#ifdef MCI_INTEGER64
case
MCI_INTEGER64
:
case
13
:
/* MCI_INTEGER64 */
offset
+=
sizeof
(
DWORD_PTR
);
break
;
#endif
default:
FIXME
(
"Unknown MCI return type %d
\n
"
,
retType
);
dwRet
=
MCIERR_PARSER_INTERNAL
;
...
...
dlls/winmm/winmm_res.rc
View file @
acecec4a
...
...
@@ -25,11 +25,7 @@
#include "windef.h"
#include "mmddk.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
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