Commit 37ca889b authored by Alexandre Julliard's avatar Alexandre Julliard

wmp: Build with msvcrt.

parent 7c625772
MODULE = wmp.dll
IMPORTS = oleaut32 ole32 user32 gdi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
events.c \
oleobj.c \
......
......@@ -1435,7 +1435,7 @@ static HRESULT WINAPI WMPControls_get_isAvailable(IWMPControls *iface, BSTR bstr
TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrItem), pIsAvailable);
if (!This->filter_graph) {
*pIsAvailable = VARIANT_FALSE;
} else if (strcmpW(currentPosition, bstrItem) == 0) {
} else if (wcscmp(currentPosition, bstrItem) == 0) {
DWORD capabilities;
IMediaSeeking_GetCapabilities(This->media_seeking, &capabilities);
*pIsAvailable = (capabilities & AM_SEEKING_CanSeekAbsolute) ?
......
......@@ -20,7 +20,6 @@
#include "windows.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "ole2.h"
#include "dshow.h"
#include "wmp.h"
......@@ -121,7 +120,7 @@ static inline WCHAR *heap_strdupW(const WCHAR *str)
WCHAR *ret;
if(str) {
size_t size = strlenW(str)+1;
size_t size = lstrlenW(str)+1;
ret = heap_alloc(size*sizeof(WCHAR));
if(ret)
memcpy(ret, str, size*sizeof(WCHAR));
......
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