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
bad21ebe
Commit
bad21ebe
authored
Mar 24, 2010
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Use MCI_HWND and MCI_HDC in resource files.
parent
aa75d068
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
11 deletions
+20
-11
mciavi_res.rc
dlls/mciavi32/mciavi_res.rc
+3
-3
mciavi_res.rc
dlls/mciqtz32/mciavi_res.rc
+3
-3
mci.c
dlls/winmm/mci.c
+9
-0
winmm_res.rc
dlls/winmm/winmm_res.rc
+5
-5
No files found.
dlls/mciavi32/mciavi_res.rc
View file @
bad21ebe
...
...
@@ -205,7 +205,7 @@ L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
L"popup\0", 0x80880000L, MCI_INTEGER,
L"child\0", 0x40000000L, MCI_INTEGER,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"parent\0", 0x00020000L, MCI_
INTEGER
,
L"parent\0", 0x00020000L, MCI_
HWND
,
L"nostatic\0", 0x00040000L, MCI_FLAG,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"paste\0", MCI_PASTE, 0, MCI_COMMAND_HEAD,
...
...
@@ -529,7 +529,7 @@ L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"test\0", 0x00000020L, MCI_FLAG,
L"at\0", 0x00010000L, MCI_RECT,
L"hdc\0", 0x00020000L, MCI_
INTEGER
,
L"hdc\0", 0x00020000L, MCI_
HDC
,
L"paint\0", 0x00040000L, MCI_FLAG,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"where\0", MCI_WHERE, 0, MCI_COMMAND_HEAD,
...
...
@@ -550,7 +550,7 @@ L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"test\0", 0x00000020L, MCI_FLAG,
L"handle\0", 0x00010000L, MCI_CONSTANT,
L"default\0", 0x00000000L, MCI_
INTEGER
,
L"default\0", 0x00000000L, MCI_
HWND
,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"state\0", 0x00040000L, MCI_CONSTANT,
L"hide\0", 0x00000000L, MCI_INTEGER,
...
...
dlls/mciqtz32/mciavi_res.rc
View file @
bad21ebe
...
...
@@ -205,7 +205,7 @@ L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
L"popup\0", 0x80880000L, MCI_INTEGER,
L"child\0", 0x40000000L, MCI_INTEGER,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"parent\0", 0x00020000L, MCI_
INTEGER
,
L"parent\0", 0x00020000L, MCI_
HWND
,
L"nostatic\0", 0x00040000L, MCI_FLAG,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"paste\0", MCI_PASTE, 0, MCI_COMMAND_HEAD,
...
...
@@ -529,7 +529,7 @@ L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"test\0", 0x00000020L, MCI_FLAG,
L"at\0", 0x00010000L, MCI_RECT,
L"hdc\0", 0x00020000L, MCI_
INTEGER
,
L"hdc\0", 0x00020000L, MCI_
HDC
,
L"paint\0", 0x00040000L, MCI_FLAG,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"where\0", MCI_WHERE, 0, MCI_COMMAND_HEAD,
...
...
@@ -550,7 +550,7 @@ L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"test\0", 0x00000020L, MCI_FLAG,
L"handle\0", 0x00010000L, MCI_CONSTANT,
L"default\0", 0x00000000L, MCI_
INTEGER
,
L"default\0", 0x00000000L, MCI_
HWND
,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"state\0", 0x00040000L, MCI_CONSTANT,
L"hide\0", 0x00000000L, MCI_INTEGER,
...
...
dlls/winmm/mci.c
View file @
bad21ebe
...
...
@@ -601,6 +601,9 @@ static BOOL MCI_IsCommandTableValid(UINT uTbl)
switch
(
eid
)
{
case
MCI_COMMAND_HEAD
:
if
(
!*
str
||
!
flg
)
return
FALSE
;
idx
=
0
;
break
;
/* check unicity of str in table */
case
MCI_STRING
:
if
(
inCst
)
return
FALSE
;
break
;
case
MCI_HWND
:
/* Occurs inside MCI_CONSTANT as in "window handle default" */
case
MCI_HPAL
:
case
MCI_HDC
:
case
MCI_INTEGER
:
if
(
!*
str
)
return
FALSE
;
break
;
case
MCI_END_COMMAND
:
if
(
*
str
||
flg
||
idx
==
0
)
return
FALSE
;
idx
=
0
;
break
;
case
MCI_RETURN
:
if
(
*
str
||
idx
!=
1
)
return
FALSE
;
break
;
...
...
@@ -1087,6 +1090,9 @@ static DWORD MCI_ParseOptArgs(DWORD* data, int _offset, LPCWSTR lpCmd,
*
dwFlags
|=
flg
;
TRACE
(
"flag=%08x
\n
"
,
flg
);
break
;
case
MCI_HWND
:
case
MCI_HPAL
:
case
MCI_HDC
:
case
MCI_INTEGER
:
if
(
inCst
)
{
data
[
offset
]
|=
flg
;
...
...
@@ -1132,6 +1138,9 @@ static DWORD MCI_ParseOptArgs(DWORD* data, int _offset, LPCWSTR lpCmd,
case
MCI_END_COMMAND_LIST
:
case
MCI_CONSTANT
:
case
MCI_FLAG
:
break
;
case
MCI_HWND
:
case
MCI_HPAL
:
case
MCI_HDC
:
if
(
!
inCst
)
offset
+=
sizeof
(
HANDLE
)
/
sizeof
(
DWORD
);
break
;
case
MCI_INTEGER
:
if
(
!
inCst
)
offset
++
;
break
;
case
MCI_END_CONSTANT
:
offset
++
;
break
;
case
MCI_STRING
:
offset
+=
sizeof
(
LPWSTR
)
/
sizeof
(
DWORD
);
break
;
...
...
dlls/winmm/winmm_res.rc
View file @
bad21ebe
...
...
@@ -537,7 +537,7 @@ L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
L"popup\0", 0x80880000L, MCI_INTEGER,
L"child\0", 0x40000000L, MCI_INTEGER,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"parent\0", 0x00020000L, MCI_
INTEGER
,
L"parent\0", 0x00020000L, MCI_
HWND
,
L"nostatic\0", 0x00040000L, MCI_FLAG,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"play\0", MCI_PLAY, 0, MCI_COMMAND_HEAD,
...
...
@@ -639,7 +639,7 @@ L"window\0", MCI_WINDOW, 0, MCI_COMMAND_HEAD,
L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"handle\0", 0x00010000L, MCI_CONSTANT,
L"default\0", 0x00000000L, MCI_
INTEGER
,
L"default\0", 0x00000000L, MCI_
HWND
,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"state\0", 0x00040000L, MCI_CONSTANT,
L"hide\0", 0x00000000L, MCI_INTEGER,
...
...
@@ -674,7 +674,7 @@ L"update\0", MCI_UPDATE, 0, MCI_COMMAND_HEAD,
L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"at\0", 0x00010000L, MCI_RECT,
L"hdc\0", 0x00020000L, MCI_
INTEGER
,
L"hdc\0", 0x00020000L, MCI_
HDC
,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"\0", 0x00000000L, MCI_END_COMMAND_LIST
END
...
...
@@ -694,7 +694,7 @@ L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
L"popup\0", 0x80880000L, MCI_INTEGER,
L"child\0", 0x40000000L, MCI_INTEGER,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"parent\0", 0x00020000L, MCI_
INTEGER
,
L"parent\0", 0x00020000L, MCI_
HWND
,
L"\0", 0x00000000L, MCI_END_COMMAND,
L"status\0", MCI_STATUS, 0, MCI_COMMAND_HEAD,
L"\0", MCI_DWORD_PTR, 0, MCI_RETURN,
...
...
@@ -744,7 +744,7 @@ L"window\0", MCI_WINDOW, 0, MCI_COMMAND_HEAD,
L"notify\0", 0x00000001L, MCI_FLAG,
L"wait\0", 0x00000002L, MCI_FLAG,
L"handle\0", 0x00010000L, MCI_CONSTANT,
L"default\0", 0x00000000L, MCI_
INTEGER
,
L"default\0", 0x00000000L, MCI_
HWND
,
L"\0", 0x00000000L, MCI_END_CONSTANT,
L"state\0", 0x00040000L, MCI_CONSTANT,
L"hide\0", 0x00000000L, MCI_INTEGER,
...
...
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