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
3e959202
Commit
3e959202
authored
Jun 10, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi32: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1b9706ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile.in
dlls/mciavi32/Makefile.in
+2
-0
info.c
dlls/mciavi32/info.c
+0
-1
mciavi.c
dlls/mciavi32/mciavi.c
+3
-4
No files found.
dlls/mciavi32/Makefile.in
View file @
3e959202
MODULE
=
mciavi32.dll
IMPORTS
=
msvfw32 winmm user32 gdi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
info.c
\
mciavi.c
\
...
...
dlls/mciavi32/info.c
View file @
3e959202
...
...
@@ -21,7 +21,6 @@
#include <string.h>
#include "private_mciavi.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mciavi
);
...
...
dlls/mciavi32/mciavi.c
View file @
3e959202
...
...
@@ -40,7 +40,6 @@
#include <string.h>
#include "private_mciavi.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mciavi
);
...
...
@@ -253,13 +252,13 @@ static DWORD MCIAVI_mciOpen(UINT wDevID, DWORD dwFlags,
/* FIXME : what should be done id wma->hFile is already != 0, or the driver is playin' */
TRACE
(
"MCI_OPEN_ELEMENT %s!
\n
"
,
debugstr_w
(
lpOpenParms
->
lpstrElementName
));
wma
->
lpFileName
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
strlenW
(
lpOpenParms
->
lpstrElementName
)
+
1
)
*
sizeof
(
WCHAR
));
strcpyW
(
wma
->
lpFileName
,
lpOpenParms
->
lpstrElementName
);
wma
->
lpFileName
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
l
strlenW
(
lpOpenParms
->
lpstrElementName
)
+
1
)
*
sizeof
(
WCHAR
));
l
strcpyW
(
wma
->
lpFileName
,
lpOpenParms
->
lpstrElementName
);
if
(
lpOpenParms
->
lpstrElementName
[
0
]
==
'@'
)
{
/* The file name @11223344 encodes an AVIFile handle in decimal notation
* in Win3.1 and w2k/NT, but this feature is absent in win95 (KB140750).
* wma->hFile = LongToHandle(
strtolW
(lpOpenParms->lpstrElementName+1, NULL, 10)); */
* wma->hFile = LongToHandle(
wcstol
(lpOpenParms->lpstrElementName+1, NULL, 10)); */
FIXME
(
"Using AVIFile/Stream %s NIY
\n
"
,
debugstr_w
(
lpOpenParms
->
lpstrElementName
));
}
wma
->
hFile
=
mmioOpenW
(
lpOpenParms
->
lpstrElementName
,
NULL
,
...
...
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