wmvcore: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-22 09:43:52 +01:00 committed by Alexandre Julliard
parent b3f3e684a6
commit dcc72808f0
3 changed files with 18 additions and 19 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wmvcore.dll
IMPORTLIB = wmvcore
IMPORTS = kernel32

View File

@ -30,7 +30,7 @@ HRESULT WINAPI winegstreamer_create_wm_sync_reader(IWMSyncReader **reader);
HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **reader)
{
TRACE("reserved %p, rights %#x, reader %p.\n", reserved, rights, reader);
TRACE("reserved %p, rights %#lx, reader %p.\n", reserved, rights, reader);
return winegstreamer_create_wm_async_reader(reader);
}
@ -44,7 +44,7 @@ HRESULT WINAPI WMCreateReaderPriv(IWMReader **reader)
HRESULT WINAPI WMCreateSyncReader(IUnknown *reserved, DWORD rights, IWMSyncReader **reader)
{
TRACE("reserved %p, rights %#x, reader %p.\n", reserved, rights, reader);
TRACE("reserved %p, rights %#lx, reader %p.\n", reserved, rights, reader);
return winegstreamer_create_wm_sync_reader(reader);
}
@ -144,7 +144,7 @@ static ULONG WINAPI WMProfileManager_AddRef(IWMProfileManager2 *iface)
WMProfileManager *This = impl_from_IWMProfileManager2(iface);
LONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
return ref;
}
@ -154,7 +154,7 @@ static ULONG WINAPI WMProfileManager_Release(IWMProfileManager2 *iface)
WMProfileManager *This = impl_from_IWMProfileManager2(iface);
LONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
@ -200,7 +200,7 @@ static HRESULT WINAPI WMProfileManager_GetSystemProfileCount(IWMProfileManager2
static HRESULT WINAPI WMProfileManager_LoadSystemProfile(IWMProfileManager2 *iface, DWORD index, IWMProfile **ret)
{
WMProfileManager *This = impl_from_IWMProfileManager2(iface);
FIXME("(%p)->(%d %p)\n", This, index, ret);
FIXME("(%p)->(%ld %p)\n", This, index, ret);
return E_NOTIMPL;
}

View File

@ -69,7 +69,7 @@ static ULONG WINAPI WMWriter_AddRef(IWMWriter *iface)
WMWriter *This = impl_from_IWMWriter(iface);
LONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
return ref;
}
@ -79,7 +79,7 @@ static ULONG WINAPI WMWriter_Release(IWMWriter *iface)
WMWriter *This = impl_from_IWMWriter(iface);
LONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
@ -118,21 +118,21 @@ static HRESULT WINAPI WMWriter_GetInputCount(IWMWriter *iface, DWORD *pcInputs)
static HRESULT WINAPI WMWriter_GetInputProps(IWMWriter *iface, DWORD dwInputNum, IWMInputMediaProps **input)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %p)\n", This, dwInputNum, input);
FIXME("(%p)->(%ld %p)\n", This, dwInputNum, input);
return E_NOTIMPL;
}
static HRESULT WINAPI WMWriter_SetInputProps(IWMWriter *iface, DWORD dwInputNum, IWMInputMediaProps *input)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %p)\n", This, dwInputNum, input);
FIXME("(%p)->(%ld %p)\n", This, dwInputNum, input);
return E_NOTIMPL;
}
static HRESULT WINAPI WMWriter_GetInputFormatCount(IWMWriter *iface, DWORD dwInputNumber, DWORD *pcFormat)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %p)\n", This, dwInputNumber, pcFormat);
FIXME("(%p)->(%ld %p)\n", This, dwInputNumber, pcFormat);
return E_NOTIMPL;
}
@ -140,7 +140,7 @@ static HRESULT WINAPI WMWriter_GetInputFormat(IWMWriter *iface, DWORD dwInputNum
IWMInputMediaProps **props)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %d %p)\n", This, dwInputNumber, dwFormatNumber, props);
FIXME("(%p)->(%ld %ld %p)\n", This, dwInputNumber, dwFormatNumber, props);
return E_NOTIMPL;
}
@ -161,7 +161,7 @@ static HRESULT WINAPI WMWriter_EndWriting(IWMWriter *iface)
static HRESULT WINAPI WMWriter_AllocateSample(IWMWriter *iface, DWORD size, INSSBuffer **sample)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %p)\n", This, size, sample);
FIXME("(%p)->(%ld %p)\n", This, size, sample);
return E_NOTIMPL;
}
@ -169,7 +169,7 @@ static HRESULT WINAPI WMWriter_WriteSample(IWMWriter *iface, DWORD dwInputNum, Q
DWORD flags, INSSBuffer *sample)
{
WMWriter *This = impl_from_IWMWriter(iface);
FIXME("(%p)->(%d %s %x %p)\n", This, dwInputNum, wine_dbgstr_longlong(cnsSampleTime), flags, sample);
FIXME("(%p)->(%ld %s %lx %p)\n", This, dwInputNum, wine_dbgstr_longlong(cnsSampleTime), flags, sample);
return E_NOTIMPL;
}
@ -232,7 +232,7 @@ static HRESULT WINAPI WMWriterAdvanced_GetSinkCount(IWMWriterAdvanced3 *iface, D
static HRESULT WINAPI WMWriterAdvanced_GetSink(IWMWriterAdvanced3 *iface, DWORD sink_num, IWMWriterSink **sink)
{
WMWriter *This = impl_from_IWMWriterAdvanced3(iface);
FIXME("(%p)->(%u %p)\n", This, sink_num, sink);
FIXME("(%p)->(%lu %p)\n", This, sink_num, sink);
return E_NOTIMPL;
}
@ -254,7 +254,7 @@ static HRESULT WINAPI WMWriterAdvanced_WriteStreamSample(IWMWriterAdvanced3 *ifa
QWORD sample_time, DWORD sample_send_time, QWORD sample_duration, DWORD flags, INSSBuffer *sample)
{
WMWriter *This = impl_from_IWMWriterAdvanced3(iface);
FIXME("(%p)->(%u %s %u %s %x %p)\n", This, stream_num, wine_dbgstr_longlong(sample_time),
FIXME("(%p)->(%u %s %lu %s %lx %p)\n", This, stream_num, wine_dbgstr_longlong(sample_time),
sample_send_time, wine_dbgstr_longlong(sample_duration), flags, sample);
return E_NOTIMPL;
}
@ -290,7 +290,7 @@ static HRESULT WINAPI WMWriterAdvanced_GetStatistics(IWMWriterAdvanced3 *iface,
static HRESULT WINAPI WMWriterAdvanced_SetSyncTolerance(IWMWriterAdvanced3 *iface, DWORD window)
{
WMWriter *This = impl_from_IWMWriterAdvanced3(iface);
FIXME("(%p)->(%u)\n", This, window);
FIXME("(%p)->(%lu)\n", This, window);
return E_NOTIMPL;
}
@ -305,7 +305,7 @@ static HRESULT WINAPI WMWriterAdvanced2_GetInputSetting(IWMWriterAdvanced3 *ifac
const WCHAR *name, WMT_ATTR_DATATYPE *time, BYTE *value, WORD *length)
{
WMWriter *This = impl_from_IWMWriterAdvanced3(iface);
FIXME("(%p)->(%u %s %p %p %p)\n", This, input_num, debugstr_w(name), time, value, length);
FIXME("(%p)->(%lu %s %p %p %p)\n", This, input_num, debugstr_w(name), time, value, length);
return E_NOTIMPL;
}
@ -313,7 +313,7 @@ static HRESULT WINAPI WMWriterAdvanced2_SetInputSetting(IWMWriterAdvanced3 *ifac
const WCHAR *name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
{
WMWriter *This = impl_from_IWMWriterAdvanced3(iface);
FIXME("(%p)->(%u %s %d %p %u)\n", This, input_num, debugstr_w(name), type, value, length);
FIXME("(%p)->(%lu %s %d %p %u)\n", This, input_num, debugstr_w(name), type, value, length);
return E_NOTIMPL;
}