Commit fb504baa authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Build with msvcrt.

parent 0e55edaa
MODULE = amstream.dll MODULE = amstream.dll
IMPORTS = strmiids strmbase uuid ole32 advapi32 ddraw IMPORTS = strmiids strmbase uuid ole32 advapi32 ddraw
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
amstream.c \ amstream.c \
audiodata.c \ audiodata.c \
......
MODULE = evr.dll MODULE = evr.dll
IMPORTS = mfuuid strmiids strmbase uuid ole32 oleaut32 IMPORTS = mfuuid strmiids strmbase uuid ole32 oleaut32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
evr.c \ evr.c \
main.c main.c
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#define COBJMACROS #define COBJMACROS
#include "config.h"
#include "wine/debug.h" #include "wine/debug.h"
#include <stdio.h> #include <stdio.h>
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
#define COBJMACROS #define COBJMACROS
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"
......
MODULE = qedit.dll MODULE = qedit.dll
IMPORTS = strmiids strmbase uuid oleaut32 ole32 advapi32 IMPORTS = strmiids strmbase uuid oleaut32 ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
main.c \ main.c \
mediadet.c \ mediadet.c \
......
...@@ -2,6 +2,8 @@ MODULE = quartz.dll ...@@ -2,6 +2,8 @@ MODULE = quartz.dll
IMPORTLIB = quartz IMPORTLIB = quartz
IMPORTS = strmiids dxguid strmbase uuid dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32 IMPORTS = strmiids dxguid strmbase uuid dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
acmwrapper.c \ acmwrapper.c \
avidec.c \ avidec.c \
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "pin.h" #include "pin.h"
...@@ -34,7 +32,6 @@ ...@@ -34,7 +32,6 @@
#include <assert.h> #include <assert.h>
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "pin.h" #include "pin.h"
...@@ -35,7 +33,6 @@ ...@@ -35,7 +33,6 @@
#include <assert.h> #include <assert.h>
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include "vfwmsgs.h" #include "vfwmsgs.h"
#include "amvideo.h" #include "amvideo.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include <math.h> #include <math.h>
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "pin.h" #include "pin.h"
...@@ -33,7 +31,6 @@ ...@@ -33,7 +31,6 @@
#include "dsound.h" #include "dsound.h"
#include "amaudio.h" #include "amaudio.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "quartz_private.h" #include "quartz_private.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -72,7 +71,7 @@ HRESULT IEnumRegFiltersImpl_Construct(REGFILTER* pInRegFilters, const ULONG size ...@@ -72,7 +71,7 @@ HRESULT IEnumRegFiltersImpl_Construct(REGFILTER* pInRegFilters, const ULONG size
for(i = 0; i < size; i++) for(i = 0; i < size; i++)
{ {
pRegFilters[i].Clsid = pInRegFilters[i].Clsid; pRegFilters[i].Clsid = pInRegFilters[i].Clsid;
pRegFilters[i].Name = CoTaskMemAlloc((strlenW(pInRegFilters[i].Name)+1)*sizeof(WCHAR)); pRegFilters[i].Name = CoTaskMemAlloc((lstrlenW(pInRegFilters[i].Name)+1)*sizeof(WCHAR));
if (!pRegFilters[i].Name) if (!pRegFilters[i].Name)
{ {
while(i) while(i)
...@@ -81,7 +80,7 @@ HRESULT IEnumRegFiltersImpl_Construct(REGFILTER* pInRegFilters, const ULONG size ...@@ -81,7 +80,7 @@ HRESULT IEnumRegFiltersImpl_Construct(REGFILTER* pInRegFilters, const ULONG size
CoTaskMemFree(pEnumRegFilters); CoTaskMemFree(pEnumRegFilters);
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
} }
CopyMemory(pRegFilters[i].Name, pInRegFilters[i].Name, (strlenW(pInRegFilters[i].Name)+1)*sizeof(WCHAR)); CopyMemory(pRegFilters[i].Name, pInRegFilters[i].Name, (lstrlenW(pInRegFilters[i].Name)+1)*sizeof(WCHAR));
} }
pEnumRegFilters->IEnumRegFilters_iface.lpVtbl = &IEnumRegFiltersImpl_Vtbl; pEnumRegFilters->IEnumRegFilters_iface.lpVtbl = &IEnumRegFiltersImpl_Vtbl;
...@@ -164,7 +163,7 @@ static HRESULT WINAPI IEnumRegFiltersImpl_Next(IEnumRegFilters * iface, ULONG cF ...@@ -164,7 +163,7 @@ static HRESULT WINAPI IEnumRegFiltersImpl_Next(IEnumRegFilters * iface, ULONG cF
for(i = 0; i < cFetched; i++) for(i = 0; i < cFetched; i++)
{ {
/* The string in the REGFILTER structure must be allocated in the same block as the REGFILTER structure itself */ /* The string in the REGFILTER structure must be allocated in the same block as the REGFILTER structure itself */
ppRegFilter[i] = CoTaskMemAlloc(sizeof(REGFILTER)+(strlenW(This->RegFilters[This->uIndex + i].Name)+1)*sizeof(WCHAR)); ppRegFilter[i] = CoTaskMemAlloc(sizeof(REGFILTER)+(lstrlenW(This->RegFilters[This->uIndex + i].Name)+1)*sizeof(WCHAR));
if (!ppRegFilter[i]) if (!ppRegFilter[i])
{ {
while(i) while(i)
...@@ -177,7 +176,7 @@ static HRESULT WINAPI IEnumRegFiltersImpl_Next(IEnumRegFilters * iface, ULONG cF ...@@ -177,7 +176,7 @@ static HRESULT WINAPI IEnumRegFiltersImpl_Next(IEnumRegFilters * iface, ULONG cF
ppRegFilter[i]->Clsid = This->RegFilters[This->uIndex + i].Clsid; ppRegFilter[i]->Clsid = This->RegFilters[This->uIndex + i].Clsid;
ppRegFilter[i]->Name = (WCHAR*)((char*)ppRegFilter[i]+sizeof(REGFILTER)); ppRegFilter[i]->Name = (WCHAR*)((char*)ppRegFilter[i]+sizeof(REGFILTER));
CopyMemory(ppRegFilter[i]->Name, This->RegFilters[This->uIndex + i].Name, CopyMemory(ppRegFilter[i]->Name, This->RegFilters[This->uIndex + i].Name,
(strlenW(This->RegFilters[This->uIndex + i].Name)+1)*sizeof(WCHAR)); (lstrlenW(This->RegFilters[This->uIndex + i].Name)+1)*sizeof(WCHAR));
} }
This->uIndex += cFetched; This->uIndex += cFetched;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "quartz_private.h" #include "quartz_private.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include "pin.h" #include "pin.h"
#include "uuids.h" #include "uuids.h"
#include "vfwmsgs.h" #include "vfwmsgs.h"
...@@ -115,7 +114,7 @@ static HRESULT process_extensions(HKEY hkeyExtensions, LPCOLESTR pszFileName, GU ...@@ -115,7 +114,7 @@ static HRESULT process_extensions(HKEY hkeyExtensions, LPCOLESTR pszFileName, GU
return E_POINTER; return E_POINTER;
/* Get the part of the name that matters */ /* Get the part of the name that matters */
if (!(extension = strrchrW(pszFileName, '.'))) if (!(extension = wcsrchr(pszFileName, '.')))
return E_FAIL; return E_FAIL;
l = RegOpenKeyExW(hkeyExtensions, extension, 0, KEY_READ, &hsub); l = RegOpenKeyExW(hkeyExtensions, extension, 0, KEY_READ, &hsub);
...@@ -157,7 +156,7 @@ static HRESULT process_extensions(HKEY hkeyExtensions, LPCOLESTR pszFileName, GU ...@@ -157,7 +156,7 @@ static HRESULT process_extensions(HKEY hkeyExtensions, LPCOLESTR pszFileName, GU
static unsigned char byte_from_hex_char(WCHAR wHex) static unsigned char byte_from_hex_char(WCHAR wHex)
{ {
switch (tolowerW(wHex)) switch (towlower(wHex))
{ {
case '0': case '0':
case '1': case '1':
...@@ -196,14 +195,14 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p ...@@ -196,14 +195,14 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
/* format: "offset, bytestocompare, mask, value" */ /* format: "offset, bytestocompare, mask, value" */
ulOffset = strtolW(wszPatternString, NULL, 10); ulOffset = wcstol(wszPatternString, NULL, 10);
if (!(wszPatternString = strchrW(wszPatternString, ','))) if (!(wszPatternString = wcschr(wszPatternString, ',')))
return E_INVALIDARG; return E_INVALIDARG;
wszPatternString++; /* skip ',' */ wszPatternString++; /* skip ',' */
ulBytes = strtolW(wszPatternString, NULL, 10); ulBytes = wcstol(wszPatternString, NULL, 10);
pbMask = HeapAlloc(GetProcessHeap(), 0, ulBytes); pbMask = HeapAlloc(GetProcessHeap(), 0, ulBytes);
pbValue = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, ulBytes); pbValue = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, ulBytes);
...@@ -212,15 +211,15 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p ...@@ -212,15 +211,15 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
/* default mask is match everything */ /* default mask is match everything */
memset(pbMask, 0xFF, ulBytes); memset(pbMask, 0xFF, ulBytes);
if (!(wszPatternString = strchrW(wszPatternString, ','))) if (!(wszPatternString = wcschr(wszPatternString, ',')))
hr = E_INVALIDARG; hr = E_INVALIDARG;
if (hr == S_OK) if (hr == S_OK)
{ {
wszPatternString++; /* skip ',' */ wszPatternString++; /* skip ',' */
while (!isxdigitW(*wszPatternString) && (*wszPatternString != ',')) wszPatternString++; while (!iswxdigit(*wszPatternString) && (*wszPatternString != ',')) wszPatternString++;
for (strpos = 0; isxdigitW(*wszPatternString) && (strpos/2 < ulBytes); wszPatternString++, strpos++) for (strpos = 0; iswxdigit(*wszPatternString) && (strpos/2 < ulBytes); wszPatternString++, strpos++)
{ {
if ((strpos % 2) == 1) /* odd numbered position */ if ((strpos % 2) == 1) /* odd numbered position */
pbMask[strpos / 2] |= byte_from_hex_char(*wszPatternString); pbMask[strpos / 2] |= byte_from_hex_char(*wszPatternString);
...@@ -228,7 +227,7 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p ...@@ -228,7 +227,7 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
pbMask[strpos / 2] = byte_from_hex_char(*wszPatternString) << 4; pbMask[strpos / 2] = byte_from_hex_char(*wszPatternString) << 4;
} }
if (!(wszPatternString = strchrW(wszPatternString, ','))) if (!(wszPatternString = wcschr(wszPatternString, ',')))
hr = E_INVALIDARG; hr = E_INVALIDARG;
else else
wszPatternString++; /* skip ',' */ wszPatternString++; /* skip ',' */
...@@ -236,10 +235,10 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p ...@@ -236,10 +235,10 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
if (hr == S_OK) if (hr == S_OK)
{ {
for ( ; !isxdigitW(*wszPatternString) && (*wszPatternString != ','); wszPatternString++) for ( ; !iswxdigit(*wszPatternString) && (*wszPatternString != ','); wszPatternString++)
; ;
for (strpos = 0; isxdigitW(*wszPatternString) && (strpos/2 < ulBytes); wszPatternString++, strpos++) for (strpos = 0; iswxdigit(*wszPatternString) && (strpos/2 < ulBytes); wszPatternString++, strpos++)
{ {
if ((strpos % 2) == 1) /* odd numbered position */ if ((strpos % 2) == 1) /* odd numbered position */
pbValue[strpos / 2] |= byte_from_hex_char(*wszPatternString); pbValue[strpos / 2] |= byte_from_hex_char(*wszPatternString);
...@@ -268,7 +267,7 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p ...@@ -268,7 +267,7 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
/* if we encountered no errors with this string, and there is a following tuple, then we /* if we encountered no errors with this string, and there is a following tuple, then we
* have to match that as well to succeed */ * have to match that as well to succeed */
if ((hr == S_OK) && (wszPatternString = strchrW(wszPatternString, ','))) if ((hr == S_OK) && (wszPatternString = wcschr(wszPatternString, ',')))
return process_pattern_string(wszPatternString + 1, pReader); return process_pattern_string(wszPatternString + 1, pReader);
else else
return hr; return hr;
...@@ -310,7 +309,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID * ...@@ -310,7 +309,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
if (RegOpenKeyExW(hkeyMediaType, wszMajorKeyName, 0, KEY_READ, &hkeyMajor) != ERROR_SUCCESS) if (RegOpenKeyExW(hkeyMediaType, wszMajorKeyName, 0, KEY_READ, &hkeyMajor) != ERROR_SUCCESS)
break; break;
TRACE("%s\n", debugstr_w(wszMajorKeyName)); TRACE("%s\n", debugstr_w(wszMajorKeyName));
if (!strcmpW(wszExtensions, wszMajorKeyName)) if (!wcscmp(wszExtensions, wszMajorKeyName))
{ {
if (process_extensions(hkeyMajor, pszFileName, majorType, minorType, sourceFilter) == S_OK) if (process_extensions(hkeyMajor, pszFileName, majorType, minorType, sourceFilter) == S_OK)
bFound = TRUE; bFound = TRUE;
...@@ -355,7 +354,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID * ...@@ -355,7 +354,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
break; break;
} }
if (strcmpW(wszValueName, source_filter_name)==0) { if (wcscmp(wszValueName, source_filter_name)==0) {
HeapFree(GetProcessHeap(), 0, wszPatternString); HeapFree(GetProcessHeap(), 0, wszPatternString);
continue; continue;
} }
...@@ -558,7 +557,7 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi ...@@ -558,7 +557,7 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi
/* create pin */ /* create pin */
pin_info.dir = PINDIR_OUTPUT; pin_info.dir = PINDIR_OUTPUT;
pin_info.pFilter = &This->filter.IBaseFilter_iface; pin_info.pFilter = &This->filter.IBaseFilter_iface;
strcpyW(pin_info.achName, wszOutputPinName); lstrcpyW(pin_info.achName, wszOutputPinName);
strmbase_source_init(&This->source, &FileAsyncReaderPin_Vtbl, &pin_info, strmbase_source_init(&This->source, &FileAsyncReaderPin_Vtbl, &pin_info,
&output_BaseOutputFuncTable, &This->filter.csFilter); &output_BaseOutputFuncTable, &This->filter.csFilter);
BaseFilterImpl_IncrementPinVersion(&This->filter); BaseFilterImpl_IncrementPinVersion(&This->filter);
...@@ -575,8 +574,8 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi ...@@ -575,8 +574,8 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi
if (This->pmt) if (This->pmt)
DeleteMediaType(This->pmt); DeleteMediaType(This->pmt);
This->pszFileName = CoTaskMemAlloc((strlenW(pszFileName) + 1) * sizeof(WCHAR)); This->pszFileName = CoTaskMemAlloc((lstrlenW(pszFileName) + 1) * sizeof(WCHAR));
strcpyW(This->pszFileName, pszFileName); lstrcpyW(This->pszFileName, pszFileName);
This->pmt = CoTaskMemAlloc(sizeof(AM_MEDIA_TYPE)); This->pmt = CoTaskMemAlloc(sizeof(AM_MEDIA_TYPE));
if (!pmt) if (!pmt)
...@@ -606,8 +605,8 @@ static HRESULT WINAPI FileSource_GetCurFile(IFileSourceFilter * iface, LPOLESTR ...@@ -606,8 +605,8 @@ static HRESULT WINAPI FileSource_GetCurFile(IFileSourceFilter * iface, LPOLESTR
/* copy file name & media type if available, otherwise clear the outputs */ /* copy file name & media type if available, otherwise clear the outputs */
if (This->pszFileName) if (This->pszFileName)
{ {
*ppszFileName = CoTaskMemAlloc((strlenW(This->pszFileName) + 1) * sizeof(WCHAR)); *ppszFileName = CoTaskMemAlloc((lstrlenW(This->pszFileName) + 1) * sizeof(WCHAR));
strcpyW(*ppszFileName, This->pszFileName); lstrcpyW(*ppszFileName, This->pszFileName);
} }
else else
*ppszFileName = NULL; *ppszFileName = NULL;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#define COBJMACROS #define COBJMACROS
...@@ -38,7 +37,6 @@ ...@@ -38,7 +37,6 @@
#include "evcode.h" #include "evcode.h"
#include "wine/heap.h" #include "wine/heap.h"
#include "wine/list.h" #include "wine/list.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
...@@ -535,7 +533,7 @@ static IBaseFilter *find_filter_by_name(IFilterGraphImpl *graph, const WCHAR *na ...@@ -535,7 +533,7 @@ static IBaseFilter *find_filter_by_name(IFilterGraphImpl *graph, const WCHAR *na
LIST_FOR_EACH_ENTRY(filter, &graph->filters, struct filter, entry) LIST_FOR_EACH_ENTRY(filter, &graph->filters, struct filter, entry)
{ {
if (!strcmpW(filter->name, name)) if (!wcscmp(filter->name, name))
return filter->filter; return filter->filter;
} }
...@@ -558,7 +556,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter * ...@@ -558,7 +556,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
if (!pFilter) if (!pFilter)
return E_POINTER; return E_POINTER;
wszFilterName = CoTaskMemAlloc( (pName ? strlenW(pName) + 6 : 5) * sizeof(WCHAR) ); wszFilterName = CoTaskMemAlloc( (pName ? lstrlenW(pName) + 6 : 5) * sizeof(WCHAR) );
if (pName && find_filter_by_name(This, pName)) if (pName && find_filter_by_name(This, pName))
duplicate_name = TRUE; duplicate_name = TRUE;
...@@ -573,9 +571,9 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter * ...@@ -573,9 +571,9 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
{ {
/* Create name */ /* Create name */
if (pName) if (pName)
sprintfW(wszFilterName, wszFmt1, pName, This->nameIndex); swprintf(wszFilterName, pName ? lstrlenW(pName) + 6 : 5, wszFmt1, pName, This->nameIndex);
else else
sprintfW(wszFilterName, wszFmt2, This->nameIndex); swprintf(wszFilterName, pName ? lstrlenW(pName) + 6 : 5, wszFmt2, This->nameIndex);
TRACE("Generated name %s\n", debugstr_w(wszFilterName)); TRACE("Generated name %s\n", debugstr_w(wszFilterName));
if (This->nameIndex++ == 10000) if (This->nameIndex++ == 10000)
...@@ -592,7 +590,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter * ...@@ -592,7 +590,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
} }
} }
else else
memcpy(wszFilterName, pName, (strlenW(pName) + 1) * sizeof(WCHAR)); memcpy(wszFilterName, pName, (lstrlenW(pName) + 1) * sizeof(WCHAR));
hr = IBaseFilter_JoinFilterGraph(pFilter, (IFilterGraph *)&This->IFilterGraph2_iface, wszFilterName); hr = IBaseFilter_JoinFilterGraph(pFilter, (IFilterGraph *)&This->IFilterGraph2_iface, wszFilterName);
if (FAILED(hr)) if (FAILED(hr))
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "ole2.h" #include "ole2.h"
#include "olectl.h" #include "olectl.h"
#include "strmif.h" #include "strmif.h"
#include "wine/unicode.h"
#include "uuids.h" #include "uuids.h"
#include "initguid.h" #include "initguid.h"
#include "wine/fil_data.h" #include "wine/fil_data.h"
...@@ -278,10 +277,10 @@ static HRESULT WINAPI FilterMapper3_CreateCategory( ...@@ -278,10 +277,10 @@ static HRESULT WINAPI FilterMapper3_CreateCategory(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wClsidAMCat); lstrcatW(wszKeyName, wClsidAMCat);
strcatW(wszKeyName, wszSlashInstance); lstrcatW(wszKeyName, wszSlashInstance);
strcatW(wszKeyName, wClsidCategory); lstrcatW(wszKeyName, wClsidCategory);
lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL); lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -289,13 +288,13 @@ static HRESULT WINAPI FilterMapper3_CreateCategory( ...@@ -289,13 +288,13 @@ static HRESULT WINAPI FilterMapper3_CreateCategory(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
lRet = RegSetValueExW(hKey, wszFriendlyName, 0, REG_SZ, (const BYTE*)szDescription, (strlenW(szDescription) + 1) * sizeof(WCHAR)); lRet = RegSetValueExW(hKey, wszFriendlyName, 0, REG_SZ, (const BYTE*)szDescription, (lstrlenW(szDescription) + 1) * sizeof(WCHAR));
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
} }
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
lRet = RegSetValueExW(hKey, wszClsidName, 0, REG_SZ, (LPBYTE)wClsidCategory, (strlenW(wClsidCategory) + 1) * sizeof(WCHAR)); lRet = RegSetValueExW(hKey, wszClsidName, 0, REG_SZ, (LPBYTE)wClsidCategory, (lstrlenW(wClsidCategory) + 1) * sizeof(WCHAR));
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
} }
...@@ -332,16 +331,16 @@ static HRESULT WINAPI FilterMapper3_UnregisterFilter( ...@@ -332,16 +331,16 @@ static HRESULT WINAPI FilterMapper3_UnregisterFilter(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wClsidCategory); lstrcatW(wszKeyName, wClsidCategory);
strcatW(wszKeyName, wszSlashInstance); lstrcatW(wszKeyName, wszSlashInstance);
if (szInstance) if (szInstance)
strcatW(wszKeyName, szInstance); lstrcatW(wszKeyName, szInstance);
else else
{ {
hr = StringFromCLSID(Filter, &wFilter); hr = StringFromCLSID(Filter, &wFilter);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
strcatW(wszKeyName, wFilter); lstrcatW(wszKeyName, wFilter);
} }
} }
...@@ -706,7 +705,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter( ...@@ -706,7 +705,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter(
nameLen = ARRAY_SIZE(wszDevice) + CHARS_IN_GUID - 1 + 1; nameLen = ARRAY_SIZE(wszDevice) + CHARS_IN_GUID - 1 + 1;
if (szInstance) if (szInstance)
nameLen += strlenW(szInstance); nameLen += lstrlenW(szInstance);
else else
nameLen += CHARS_IN_GUID - 1; /* CHARS_IN_GUID includes null terminator */ nameLen += CHARS_IN_GUID - 1; /* CHARS_IN_GUID includes null terminator */
...@@ -714,8 +713,8 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter( ...@@ -714,8 +713,8 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter(
if (!pwszParseName) if (!pwszParseName)
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
strcpyW(pwszParseName, wszDevice); lstrcpyW(pwszParseName, wszDevice);
pCurrent += strlenW(wszDevice); pCurrent += lstrlenW(wszDevice);
hr = StringFromCLSID(pclsidCategory, &szClsidTemp); hr = StringFromCLSID(pclsidCategory, &szClsidTemp);
...@@ -726,7 +725,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter( ...@@ -726,7 +725,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter(
pCurrent[0] = '\\'; pCurrent[0] = '\\';
if (szInstance) if (szInstance)
strcpyW(pCurrent+1, szInstance); lstrcpyW(pCurrent+1, szInstance);
else else
{ {
CoTaskMemFree(szClsidTemp); CoTaskMemFree(szClsidTemp);
...@@ -734,7 +733,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter( ...@@ -734,7 +733,7 @@ static HRESULT WINAPI FilterMapper3_RegisterFilter(
hr = StringFromCLSID(clsidFilter, &szClsidTemp); hr = StringFromCLSID(clsidFilter, &szClsidTemp);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
strcpyW(pCurrent+1, szClsidTemp); lstrcpyW(pCurrent+1, szClsidTemp);
} }
} }
...@@ -853,7 +852,7 @@ static BOOL MatchTypes( ...@@ -853,7 +852,7 @@ static BOOL MatchTypes(
} }
/* internal helper function for qsort of MONIKER_MERIT array */ /* internal helper function for qsort of MONIKER_MERIT array */
static int mm_compare(const void * left, const void * right) static int __cdecl mm_compare(const void * left, const void * right)
{ {
const struct MONIKER_MERIT * mmLeft = left; const struct MONIKER_MERIT * mmLeft = left;
const struct MONIKER_MERIT * mmRight = right; const struct MONIKER_MERIT * mmRight = right;
...@@ -1228,7 +1227,7 @@ static HRESULT WINAPI FilterMapper_EnumMatchingFilters( ...@@ -1228,7 +1227,7 @@ static HRESULT WINAPI FilterMapper_EnumMatchingFilters(
if (SUCCEEDED(hrSub)) if (SUCCEEDED(hrSub))
{ {
len = (strlenW(V_BSTR(&var))+1) * sizeof(WCHAR); len = (lstrlenW(V_BSTR(&var))+1) * sizeof(WCHAR);
if (!(regfilters[idx].Name = CoTaskMemAlloc(len*2))) if (!(regfilters[idx].Name = CoTaskMemAlloc(len*2)))
hr = E_OUTOFMEMORY; hr = E_OUTOFMEMORY;
} }
...@@ -1274,8 +1273,8 @@ static HRESULT WINAPI FilterMapper_RegisterFilter(IFilterMapper * iface, CLSID c ...@@ -1274,8 +1273,8 @@ static HRESULT WINAPI FilterMapper_RegisterFilter(IFilterMapper * iface, CLSID c
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszFilterSlash); lstrcpyW(wszKeyName, wszFilterSlash);
strcatW(wszKeyName, wszClsid); lstrcatW(wszKeyName, wszClsid);
lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL); lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1283,15 +1282,15 @@ static HRESULT WINAPI FilterMapper_RegisterFilter(IFilterMapper * iface, CLSID c ...@@ -1283,15 +1282,15 @@ static HRESULT WINAPI FilterMapper_RegisterFilter(IFilterMapper * iface, CLSID c
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
lRet = RegSetValueExW(hKey, NULL, 0, REG_SZ, (const BYTE*)szName, (strlenW(szName) + 1) * sizeof(WCHAR)); lRet = RegSetValueExW(hKey, NULL, 0, REG_SZ, (const BYTE*)szName, (lstrlenW(szName) + 1) * sizeof(WCHAR));
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
RegCloseKey(hKey); RegCloseKey(hKey);
} }
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wszClsid); lstrcatW(wszKeyName, wszClsid);
lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL); lRet = RegCreateKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, NULL);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1344,8 +1343,8 @@ static HRESULT WINAPI FilterMapper_RegisterPin( ...@@ -1344,8 +1343,8 @@ static HRESULT WINAPI FilterMapper_RegisterPin(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wszClsid); lstrcatW(wszKeyName, wszClsid);
lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey); lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1353,16 +1352,16 @@ static HRESULT WINAPI FilterMapper_RegisterPin( ...@@ -1353,16 +1352,16 @@ static HRESULT WINAPI FilterMapper_RegisterPin(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
wszPinsKeyName = CoTaskMemAlloc((strlenW(wszPins) + 1 + strlenW(szName) + 1) * 2); wszPinsKeyName = CoTaskMemAlloc((lstrlenW(wszPins) + 1 + lstrlenW(szName) + 1) * 2);
if (!wszPinsKeyName) if (!wszPinsKeyName)
hr = E_OUTOFMEMORY; hr = E_OUTOFMEMORY;
} }
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszPinsKeyName, wszPins); lstrcpyW(wszPinsKeyName, wszPins);
strcatW(wszPinsKeyName, wszSlash); lstrcatW(wszPinsKeyName, wszSlash);
strcatW(wszPinsKeyName, szName); lstrcatW(wszPinsKeyName, szName);
lRet = RegCreateKeyExW(hKey, wszPinsKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hPinsKey, NULL); lRet = RegCreateKeyExW(hKey, wszPinsKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hPinsKey, NULL);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1446,22 +1445,22 @@ static HRESULT WINAPI FilterMapper_RegisterPinType( ...@@ -1446,22 +1445,22 @@ static HRESULT WINAPI FilterMapper_RegisterPinType(
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
wszTypesKey = CoTaskMemAlloc((strlenW(wszClsidSlash) + strlenW(wszClsid) + strlenW(wszPins) + wszTypesKey = CoTaskMemAlloc((lstrlenW(wszClsidSlash) + lstrlenW(wszClsid) + lstrlenW(wszPins) +
strlenW(szName) + strlenW(wszTypes) + 3 + 1) * 2); lstrlenW(szName) + lstrlenW(wszTypes) + 3 + 1) * 2);
if (!wszTypesKey) if (!wszTypesKey)
hr = E_OUTOFMEMORY; hr = E_OUTOFMEMORY;
} }
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszTypesKey, wszClsidSlash); lstrcpyW(wszTypesKey, wszClsidSlash);
strcatW(wszTypesKey, wszClsid); lstrcatW(wszTypesKey, wszClsid);
strcatW(wszTypesKey, wszSlash); lstrcatW(wszTypesKey, wszSlash);
strcatW(wszTypesKey, wszPins); lstrcatW(wszTypesKey, wszPins);
strcatW(wszTypesKey, wszSlash); lstrcatW(wszTypesKey, wszSlash);
strcatW(wszTypesKey, szName); lstrcatW(wszTypesKey, szName);
strcatW(wszTypesKey, wszSlash); lstrcatW(wszTypesKey, wszSlash);
strcatW(wszTypesKey, wszTypes); lstrcatW(wszTypesKey, wszTypes);
lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszTypesKey, 0, KEY_WRITE, &hKey); lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszTypesKey, 0, KEY_WRITE, &hKey);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1472,9 +1471,9 @@ static HRESULT WINAPI FilterMapper_RegisterPinType( ...@@ -1472,9 +1471,9 @@ static HRESULT WINAPI FilterMapper_RegisterPinType(
{ {
HKEY hkeyDummy = NULL; HKEY hkeyDummy = NULL;
strcpyW(wszKeyName, wszClsidMajorType); lstrcpyW(wszKeyName, wszClsidMajorType);
strcatW(wszKeyName, wszSlash); lstrcatW(wszKeyName, wszSlash);
strcatW(wszKeyName, wszClsidSubType); lstrcatW(wszKeyName, wszClsidSubType);
lRet = RegCreateKeyExW(hKey, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hkeyDummy, NULL); lRet = RegCreateKeyExW(hKey, wszKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hkeyDummy, NULL);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1517,8 +1516,8 @@ static HRESULT WINAPI FilterMapper_UnregisterFilter(IFilterMapper * iface, CLSID ...@@ -1517,8 +1516,8 @@ static HRESULT WINAPI FilterMapper_UnregisterFilter(IFilterMapper * iface, CLSID
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wszClsid); lstrcatW(wszKeyName, wszClsid);
lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey); lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey);
if (lRet == ERROR_FILE_NOT_FOUND) if (lRet == ERROR_FILE_NOT_FOUND)
...@@ -1572,8 +1571,8 @@ static HRESULT WINAPI FilterMapper_UnregisterPin(IFilterMapper * iface, CLSID Fi ...@@ -1572,8 +1571,8 @@ static HRESULT WINAPI FilterMapper_UnregisterPin(IFilterMapper * iface, CLSID Fi
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszKeyName, wszClsidSlash); lstrcpyW(wszKeyName, wszClsidSlash);
strcatW(wszKeyName, wszClsid); lstrcatW(wszKeyName, wszClsid);
lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey); lRet = RegOpenKeyExW(HKEY_CLASSES_ROOT, wszKeyName, 0, KEY_WRITE, &hKey);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
...@@ -1581,16 +1580,16 @@ static HRESULT WINAPI FilterMapper_UnregisterPin(IFilterMapper * iface, CLSID Fi ...@@ -1581,16 +1580,16 @@ static HRESULT WINAPI FilterMapper_UnregisterPin(IFilterMapper * iface, CLSID Fi
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
wszPinNameKey = CoTaskMemAlloc((strlenW(wszPins) + 1 + strlenW(Name) + 1) * 2); wszPinNameKey = CoTaskMemAlloc((lstrlenW(wszPins) + 1 + lstrlenW(Name) + 1) * 2);
if (!wszPinNameKey) if (!wszPinNameKey)
hr = E_OUTOFMEMORY; hr = E_OUTOFMEMORY;
} }
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
strcpyW(wszPinNameKey, wszPins); lstrcpyW(wszPinNameKey, wszPins);
strcatW(wszPinNameKey, wszSlash); lstrcatW(wszPinNameKey, wszSlash);
strcatW(wszPinNameKey, Name); lstrcatW(wszPinNameKey, Name);
lRet = RegDeleteTreeW(hKey, wszPinNameKey); lRet = RegDeleteTreeW(hKey, wszPinNameKey);
hr = HRESULT_FROM_WIN32(lRet); hr = HRESULT_FROM_WIN32(lRet);
......
...@@ -17,11 +17,9 @@ ...@@ -17,11 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
...@@ -335,7 +333,7 @@ DWORD WINAPI AMGetErrorTextW(HRESULT hr, LPWSTR buffer, DWORD maxlen) ...@@ -335,7 +333,7 @@ DWORD WINAPI AMGetErrorTextW(HRESULT hr, LPWSTR buffer, DWORD maxlen)
if (!buffer) return 0; if (!buffer) return 0;
wsprintfW(error, format, hr); wsprintfW(error, format, hr);
if ((len = strlenW(error)) >= maxlen) return 0; if ((len = lstrlenW(error)) >= maxlen) return 0;
lstrcpyW(buffer, error); lstrcpyW(buffer, error);
return len; return len;
} }
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "winternl.h" #include "winternl.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "parser.h" #include "parser.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "vfwmsgs.h" #include "vfwmsgs.h"
#include "amvideo.h" #include "amvideo.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include <math.h> #include <math.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "pin.h" #include "pin.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include "uuids.h" #include "uuids.h"
#include "vfwmsgs.h" #include "vfwmsgs.h"
#include <assert.h> #include <assert.h>
...@@ -177,7 +176,7 @@ static HRESULT PullPin_Init(const IPinVtbl *PullPin_Vtbl, const PIN_INFO *info, ...@@ -177,7 +176,7 @@ static HRESULT PullPin_Init(const IPinVtbl *PullPin_Vtbl, const PIN_INFO *info,
pPinImpl->pin.pConnectedTo = NULL; pPinImpl->pin.pConnectedTo = NULL;
pPinImpl->pin.pCritSec = pCritSec; pPinImpl->pin.pCritSec = pCritSec;
/* avoid copying uninitialized data */ /* avoid copying uninitialized data */
strcpyW(pPinImpl->pin.pinInfo.achName, info->achName); wcscpy(pPinImpl->pin.pinInfo.achName, info->achName);
pPinImpl->pin.pinInfo.dir = info->dir; pPinImpl->pin.pinInfo.dir = info->dir;
pPinImpl->pin.pinInfo.pFilter = info->pFilter; pPinImpl->pin.pinInfo.pFilter = info->pFilter;
ZeroMemory(&pPinImpl->pin.mtCurrent, sizeof(AM_MEDIA_TYPE)); ZeroMemory(&pPinImpl->pin.mtCurrent, sizeof(AM_MEDIA_TYPE));
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#define __QUARTZ_PRIVATE_INCLUDED__ #define __QUARTZ_PRIVATE_INCLUDED__
#include <stdarg.h> #include <stdarg.h>
#include <wchar.h>
#define COBJMACROS #define COBJMACROS
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include "strmif.h" #include "strmif.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "quartz_private.h" #include "quartz_private.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include <assert.h> #include <assert.h>
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "pin.h" #include "pin.h"
...@@ -35,7 +33,6 @@ ...@@ -35,7 +33,6 @@
#include "dvdmedia.h" #include "dvdmedia.h"
#include <assert.h> #include <assert.h>
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "quartz_private.h" #include "quartz_private.h"
#include "uuids.h" #include "uuids.h"
...@@ -38,7 +36,6 @@ ...@@ -38,7 +36,6 @@
#include "vmr9.h" #include "vmr9.h"
#include "pin.h" #include "pin.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(quartz); WINE_DEFAULT_DEBUG_CHANNEL(quartz);
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "vfwmsgs.h" #include "vfwmsgs.h"
#include "mmsystem.h" #include "mmsystem.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include <math.h> #include <math.h>
......
MODULE = libstrmbase.a MODULE = libstrmbase.a
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
dispatch.c \ dispatch.c \
dllfunc.c \ dllfunc.c \
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "wine/heap.h" #include "wine/heap.h"
#include "wine/list.h" #include "wine/list.h"
#include "wine/strmbase.h" #include "wine/strmbase.h"
#include "wine/unicode.h"
/* Quality Control */ /* Quality Control */
typedef struct QualityControlImpl { typedef struct QualityControlImpl {
......
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