Commit 3e959202 authored by Alexandre Julliard's avatar Alexandre Julliard

mciavi32: Build with msvcrt.

parent 1b9706ef
MODULE = mciavi32.dll MODULE = mciavi32.dll
IMPORTS = msvfw32 winmm user32 gdi32 IMPORTS = msvfw32 winmm user32 gdi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
info.c \ info.c \
mciavi.c \ mciavi.c \
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <string.h> #include <string.h>
#include "private_mciavi.h" #include "private_mciavi.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(mciavi); WINE_DEFAULT_DEBUG_CHANNEL(mciavi);
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <string.h> #include <string.h>
#include "private_mciavi.h" #include "private_mciavi.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(mciavi); WINE_DEFAULT_DEBUG_CHANNEL(mciavi);
...@@ -253,13 +252,13 @@ static DWORD MCIAVI_mciOpen(UINT wDevID, DWORD dwFlags, ...@@ -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' */ /* 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)); TRACE("MCI_OPEN_ELEMENT %s!\n", debugstr_w(lpOpenParms->lpstrElementName));
wma->lpFileName = HeapAlloc(GetProcessHeap(), 0, (strlenW(lpOpenParms->lpstrElementName) + 1) * sizeof(WCHAR)); wma->lpFileName = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(lpOpenParms->lpstrElementName) + 1) * sizeof(WCHAR));
strcpyW(wma->lpFileName, lpOpenParms->lpstrElementName); lstrcpyW(wma->lpFileName, lpOpenParms->lpstrElementName);
if (lpOpenParms->lpstrElementName[0] == '@') { if (lpOpenParms->lpstrElementName[0] == '@') {
/* The file name @11223344 encodes an AVIFile handle in decimal notation /* 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). * 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)); FIXME("Using AVIFile/Stream %s NIY\n", debugstr_w(lpOpenParms->lpstrElementName));
} }
wma->hFile = mmioOpenW(lpOpenParms->lpstrElementName, NULL, wma->hFile = mmioOpenW(lpOpenParms->lpstrElementName, NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment