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
f65d4c5a
Commit
f65d4c5a
authored
May 18, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz32: Add command table from mciavi32.
parent
f5715f96
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
1 deletion
+8
-1
Makefile.in
dlls/mciqtz32/Makefile.in
+3
-1
mciavi_res.rc
dlls/mciqtz32/mciavi_res.rc
+0
-0
mciqtz.c
dlls/mciqtz32/mciqtz.c
+4
-0
mciqtz_private.h
dlls/mciqtz32/mciqtz_private.h
+1
-0
No files found.
dlls/mciqtz32/Makefile.in
View file @
f65d4c5a
...
...
@@ -8,6 +8,8 @@ IMPORTS = strmiids oleaut32 ole32 winmm user32 kernel32
C_SRCS
=
\
mciqtz.c
RC_SRCS
=
version.rc
RC_SRCS
=
\
mciavi_res.rc
\
version.rc
@MAKE_DLL_RULES@
dlls/mciqtz32/mciavi_res.rc
0 → 100644
View file @
f65d4c5a
This diff is collapsed.
Click to expand it.
dlls/mciqtz32/mciqtz.c
View file @
f65d4c5a
...
...
@@ -73,6 +73,7 @@ static WINE_MCIQTZ* MCIQTZ_mciGetOpenDev(UINT wDevID)
static
DWORD
MCIQTZ_drvOpen
(
LPCWSTR
str
,
LPMCI_OPEN_DRIVER_PARMSW
modp
)
{
WINE_MCIQTZ
*
wma
;
static
const
WCHAR
mciAviWStr
[]
=
{
'M'
,
'C'
,
'I'
,
'A'
,
'V'
,
'I'
,
0
};
TRACE
(
"(%s, %p)
\n
"
,
debugstr_w
(
str
),
modp
);
...
...
@@ -84,7 +85,9 @@ static DWORD MCIQTZ_drvOpen(LPCWSTR str, LPMCI_OPEN_DRIVER_PARMSW modp)
if
(
!
wma
)
return
0
;
modp
->
wType
=
MCI_DEVTYPE_DIGITAL_VIDEO
;
wma
->
wDevID
=
modp
->
wDeviceID
;
modp
->
wCustomCommandTable
=
wma
->
command_table
=
mciLoadCommandResource
(
MCIQTZ_hInstance
,
mciAviWStr
,
0
);
mciSetDriverData
(
wma
->
wDevID
,
(
DWORD_PTR
)
wma
);
return
modp
->
wDeviceID
;
...
...
@@ -105,6 +108,7 @@ static DWORD MCIQTZ_drvClose(DWORD dwDevID)
/* finish all outstanding things */
MCIQTZ_mciClose
(
dwDevID
,
MCI_WAIT
,
NULL
);
mciFreeCommandResource
(
wma
->
command_table
);
mciSetDriverData
(
dwDevID
,
0
);
HeapFree
(
GetProcessHeap
(),
0
,
wma
);
return
1
;
...
...
dlls/mciqtz32/mciqtz_private.h
View file @
f65d4c5a
...
...
@@ -33,6 +33,7 @@ typedef struct {
IMediaControl
*
pmctrl
;
BOOL
started
;
DWORD
time_format
;
UINT
command_table
;
}
WINE_MCIQTZ
;
#endif
/* __WINE_PRIVATE_MCIQTZ_H */
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