mciavi32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1b9706ef9b
commit
3e95920286
|
@ -1,6 +1,8 @@
|
|||
MODULE = mciavi32.dll
|
||||
IMPORTS = msvfw32 winmm user32 gdi32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
info.c \
|
||||
mciavi.c \
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <string.h>
|
||||
#include "private_mciavi.h"
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(mciavi);
|
||||
|
||||
|
|
|
@ -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, (lstrlenW(lpOpenParms->lpstrElementName) + 1) * sizeof(WCHAR));
|
||||
lstrcpyW(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,
|
||||
|
|
Loading…
Reference in New Issue