wmvcore: Added IWMReaderAdvanced* stub implementation.
This commit is contained in:
parent
533323d703
commit
1c9d6e72e5
|
@ -58,6 +58,7 @@ HRESULT WINAPI WMCreateEditor(IWMMetadataEditor **editor)
|
|||
|
||||
typedef struct {
|
||||
IWMReader IWMReader_iface;
|
||||
IWMReaderAdvanced6 IWMReaderAdvanced6_iface;
|
||||
LONG ref;
|
||||
} WMReader;
|
||||
|
||||
|
@ -76,6 +77,24 @@ static HRESULT WINAPI WMReader_QueryInterface(IWMReader *iface, REFIID riid, voi
|
|||
}else if(IsEqualGUID(riid, &IID_IWMReader)) {
|
||||
TRACE("(%p)->(IID_IWMReader %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReader_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced2)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced2 %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced3)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced3 %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced4)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced4 %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced5)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced5 %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced6)) {
|
||||
TRACE("(%p)->(IID_IWMReaderAdvanced6 %p)\n", This, ppv);
|
||||
*ppv = &This->IWMReaderAdvanced6_iface;
|
||||
}else {
|
||||
*ppv = NULL;
|
||||
FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
|
||||
|
@ -203,6 +222,433 @@ static const IWMReaderVtbl WMReaderVtbl = {
|
|||
WMReader_Resume
|
||||
};
|
||||
|
||||
static inline WMReader *impl_from_IWMReaderAdvanced6(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
return CONTAINING_RECORD(iface, WMReader, IWMReaderAdvanced6_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_QueryInterface(IWMReaderAdvanced6 *iface, REFIID riid, void **ppv)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
|
||||
}
|
||||
|
||||
static ULONG WINAPI WMReaderAdvanced_AddRef(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
return IWMReader_AddRef(&This->IWMReader_iface);
|
||||
}
|
||||
|
||||
static ULONG WINAPI WMReaderAdvanced_Release(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
return IWMReader_Release(&This->IWMReader_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL user_clock)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%x)\n", This, user_clock);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL *user_clock)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, user_clock);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_DeliverTime(IWMReaderAdvanced6 *iface, QWORD time)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(time));
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL selection)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%x)\n", This, selection);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL *selection)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, selection);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced6 *iface, WORD stream_count,
|
||||
WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p %p)\n", This, stream_count, stream_numbers, selections);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced6 *iface, WORD stream_num,
|
||||
WMT_STREAM_SELECTION *selection)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, stream_num, selection);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL get_callbacks)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%x)\n", This, get_callbacks);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL *get_callbacks)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, get_callbacks);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num,
|
||||
BOOL receive_stream_samples)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %x)\n", This, stream_num, receive_stream_samples);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num,
|
||||
BOOL *receive_stream_samples)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, stream_num, receive_stream_samples);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL allocate)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL *allocate)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL allocate)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL *allocate)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetStatistics(IWMReaderAdvanced6 *iface, WM_READER_STATISTICS *statistics)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, statistics);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_SetClientInfo(IWMReaderAdvanced6 *iface, WM_READER_CLIENTINFO *client_info)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, client_info);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetMaxOutputSampleSize(IWMReaderAdvanced6 *iface, DWORD output, DWORD *max)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, output, max);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_GetMaxStreamSampleSize(IWMReaderAdvanced6 *iface, WORD stream, DWORD *max)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, stream, max);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced_NotifyLateDelivery(IWMReaderAdvanced6 *iface, QWORD lateness)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(lateness));
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_SetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE mode)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d)\n", This, mode);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE *mode)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, mode);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetBufferProgress(IWMReaderAdvanced6 *iface, DWORD *percent, QWORD *buffering)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %p)\n", This, percent, buffering);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetDownloadProgress(IWMReaderAdvanced6 *iface, DWORD *percent,
|
||||
QWORD *bytes_downloaded, QWORD *download)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %p %p)\n", This, percent, bytes_downloaded, download);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetSaveAsProgress(IWMReaderAdvanced6 *iface, DWORD *percent)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, percent);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_SaveFileAs(IWMReaderAdvanced6 *iface, const WCHAR *filename)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%s)\n", This, debugstr_w(filename));
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetProtocolName(IWMReaderAdvanced6 *iface, WCHAR *protocol, DWORD *protocol_len)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %p)\n", This, protocol, protocol_len);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_StartAtMarker(IWMReaderAdvanced6 *iface, WORD marker_index,
|
||||
QWORD duration, float rate, void *context)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %s %f %p)\n", This, marker_index, wine_dbgstr_longlong(duration), rate, context);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num,
|
||||
const WCHAR *name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %s %p %p %p)\n", This, output_num, debugstr_w(name), type, value, length);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_SetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num,
|
||||
const WCHAR *name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %s %d %p %d)\n", This, output_num, debugstr_w(name), type, value, length);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_Preroll(IWMReaderAdvanced6 *iface, QWORD start, QWORD duration, float rate)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%s %s %f)\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration), rate);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_SetLogClientID(IWMReaderAdvanced6 *iface, BOOL log_client_id)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%x)\n", This, log_client_id);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_GetLogClientID(IWMReaderAdvanced6 *iface, BOOL *log_client_id)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, log_client_id);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_StopBuffering(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)\n", This);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced2_OpenStream(IWMReaderAdvanced6 *iface, IStream *stream,
|
||||
IWMReaderCallback *callback, void *context)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %p %p)\n", This, stream, callback, context);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced3_StopNetStreaming(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)\n", This);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced3_StartAtPosition(IWMReaderAdvanced6 *iface, WORD stream_num,
|
||||
void *offset_start, void *duration, WMT_OFFSET_FORMAT format, float rate, void *context)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p %p %d %f %p)\n", This, stream_num, offset_start, duration, format, rate, context);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_GetLanguageCount(IWMReaderAdvanced6 *iface, DWORD output_num, WORD *language_count)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, output_num, language_count);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_GetLanguage(IWMReaderAdvanced6 *iface, DWORD output_num,
|
||||
WORD language, WCHAR *language_string, WORD *language_string_len)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %x %p %p)\n", This, output_num, language, language_string, language_string_len);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_GetMaxSpeedFactor(IWMReaderAdvanced6 *iface, double *factor)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, factor);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_IsUsingFastCache(IWMReaderAdvanced6 *iface, BOOL *using_fast_cache)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, using_fast_cache);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_AddLogParam(IWMReaderAdvanced6 *iface, const WCHAR *namespace,
|
||||
const WCHAR *name, const WCHAR *value)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(namespace), debugstr_w(name), debugstr_w(value));
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_SendLogParams(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)\n", This);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_CanSaveFileAs(IWMReaderAdvanced6 *iface, BOOL *can_save)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p)\n", This, can_save);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_CancelSaveFileAs(IWMReaderAdvanced6 *iface)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)\n", This);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced4_GetURL(IWMReaderAdvanced6 *iface, WCHAR *url, DWORD *url_len)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %p)\n", This, url, url_len);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced5_SetPlayerHook(IWMReaderAdvanced6 *iface, DWORD output_num, IWMPlayerHook *hook)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%d %p)\n", This, output_num, hook);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WMReaderAdvanced6_SetProtextStreamSamples(IWMReaderAdvanced6 *iface, BYTE *cert,
|
||||
DWORD cert_size, DWORD cert_type, DWORD flags, BYTE *initialization_vector, DWORD *initialization_vector_size)
|
||||
{
|
||||
WMReader *This = impl_from_IWMReaderAdvanced6(iface);
|
||||
FIXME("(%p)->(%p %d %d %x %p %p)\n", This, cert, cert_size, cert_type, flags, initialization_vector,
|
||||
initialization_vector_size);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static const IWMReaderAdvanced6Vtbl WMReaderAdvanced6Vtbl = {
|
||||
WMReaderAdvanced_QueryInterface,
|
||||
WMReaderAdvanced_AddRef,
|
||||
WMReaderAdvanced_Release,
|
||||
WMReaderAdvanced_SetUserProvidedClock,
|
||||
WMReaderAdvanced_GetUserProvidedClock,
|
||||
WMReaderAdvanced_DeliverTime,
|
||||
WMReaderAdvanced_SetManualStreamSelection,
|
||||
WMReaderAdvanced_GetManualStreamSelection,
|
||||
WMReaderAdvanced_SetStreamsSelected,
|
||||
WMReaderAdvanced_GetStreamSelected,
|
||||
WMReaderAdvanced_SetReceiveSelectionCallbacks,
|
||||
WMReaderAdvanced_GetReceiveSelectionCallbacks,
|
||||
WMReaderAdvanced_SetReceiveStreamSamples,
|
||||
WMReaderAdvanced_GetReceiveStreamSamples,
|
||||
WMReaderAdvanced_SetAllocateForOutput,
|
||||
WMReaderAdvanced_GetAllocateForOutput,
|
||||
WMReaderAdvanced_SetAllocateForStream,
|
||||
WMReaderAdvanced_GetAllocateForStream,
|
||||
WMReaderAdvanced_GetStatistics,
|
||||
WMReaderAdvanced_SetClientInfo,
|
||||
WMReaderAdvanced_GetMaxOutputSampleSize,
|
||||
WMReaderAdvanced_GetMaxStreamSampleSize,
|
||||
WMReaderAdvanced_NotifyLateDelivery,
|
||||
WMReaderAdvanced2_SetPlayMode,
|
||||
WMReaderAdvanced2_GetPlayMode,
|
||||
WMReaderAdvanced2_GetBufferProgress,
|
||||
WMReaderAdvanced2_GetDownloadProgress,
|
||||
WMReaderAdvanced2_GetSaveAsProgress,
|
||||
WMReaderAdvanced2_SaveFileAs,
|
||||
WMReaderAdvanced2_GetProtocolName,
|
||||
WMReaderAdvanced2_StartAtMarker,
|
||||
WMReaderAdvanced2_GetOutputSetting,
|
||||
WMReaderAdvanced2_SetOutputSetting,
|
||||
WMReaderAdvanced2_Preroll,
|
||||
WMReaderAdvanced2_SetLogClientID,
|
||||
WMReaderAdvanced2_GetLogClientID,
|
||||
WMReaderAdvanced2_StopBuffering,
|
||||
WMReaderAdvanced2_OpenStream,
|
||||
WMReaderAdvanced3_StopNetStreaming,
|
||||
WMReaderAdvanced3_StartAtPosition,
|
||||
WMReaderAdvanced4_GetLanguageCount,
|
||||
WMReaderAdvanced4_GetLanguage,
|
||||
WMReaderAdvanced4_GetMaxSpeedFactor,
|
||||
WMReaderAdvanced4_IsUsingFastCache,
|
||||
WMReaderAdvanced4_AddLogParam,
|
||||
WMReaderAdvanced4_SendLogParams,
|
||||
WMReaderAdvanced4_CanSaveFileAs,
|
||||
WMReaderAdvanced4_CancelSaveFileAs,
|
||||
WMReaderAdvanced4_GetURL,
|
||||
WMReaderAdvanced5_SetPlayerHook,
|
||||
WMReaderAdvanced6_SetProtextStreamSamples
|
||||
};
|
||||
|
||||
HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **ret_reader)
|
||||
{
|
||||
WMReader *reader;
|
||||
|
@ -214,6 +660,7 @@ HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **ret_
|
|||
return E_OUTOFMEMORY;
|
||||
|
||||
reader->IWMReader_iface.lpVtbl = &WMReaderVtbl;
|
||||
reader->IWMReaderAdvanced6_iface.lpVtbl = &WMReaderAdvanced6Vtbl;
|
||||
reader->ref = 1;
|
||||
|
||||
*ret_reader = &reader->IWMReader_iface;
|
||||
|
|
Loading…
Reference in New Issue