ReactOS  0.4.15-dev-1187-g119f102
reader.c
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Austin English
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #include "wmvcore.h"
20 
21 #include "wmsdk.h"
22 #include "wine/debug.h"
23 #include "wine/heap.h"
24 
26 
27 typedef struct {
42 } WMReader;
43 
44 static inline WMReader *impl_from_IWMReader(IWMReader *iface)
45 {
46  return CONTAINING_RECORD(iface, WMReader, IWMReader_iface);
47 }
48 
50 {
52 
54  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
55  *ppv = &This->IWMReader_iface;
56  }else if(IsEqualGUID(riid, &IID_IWMReader)) {
57  TRACE("(%p)->(IID_IWMReader %p)\n", This, ppv);
58  *ppv = &This->IWMReader_iface;
59  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced)) {
60  TRACE("(%p)->(IID_IWMReaderAdvanced %p)\n", This, ppv);
61  *ppv = &This->IWMReaderAdvanced6_iface;
62  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced2)) {
63  TRACE("(%p)->(IID_IWMReaderAdvanced2 %p)\n", This, ppv);
64  *ppv = &This->IWMReaderAdvanced6_iface;
65  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced3)) {
66  TRACE("(%p)->(IID_IWMReaderAdvanced3 %p)\n", This, ppv);
67  *ppv = &This->IWMReaderAdvanced6_iface;
68  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced4)) {
69  TRACE("(%p)->(IID_IWMReaderAdvanced4 %p)\n", This, ppv);
70  *ppv = &This->IWMReaderAdvanced6_iface;
71  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced5)) {
72  TRACE("(%p)->(IID_IWMReaderAdvanced5 %p)\n", This, ppv);
73  *ppv = &This->IWMReaderAdvanced6_iface;
74  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced6)) {
75  TRACE("(%p)->(IID_IWMReaderAdvanced6 %p)\n", This, ppv);
76  *ppv = &This->IWMReaderAdvanced6_iface;
77  }else if(IsEqualGUID(riid, &IID_IWMReaderAccelerator)) {
78  TRACE("(%p)->(IID_IWMReaderAccelerator %p)\n", This, ppv);
79  *ppv = &This->IWMReaderAccelerator_iface;
80  }else if(IsEqualGUID(riid, &IID_IWMReaderNetworkConfig)) {
81  TRACE("(%p)->(IWMReaderNetworkConfig %p)\n", This, ppv);
82  *ppv = &This->IWMReaderNetworkConfig2_iface;
83  }else if(IsEqualGUID(riid, &IID_IWMReaderNetworkConfig2)) {
84  TRACE("(%p)->(IWMReaderNetworkConfig2 %p)\n", This, ppv);
85  *ppv = &This->IWMReaderNetworkConfig2_iface;
86  }else if(IsEqualGUID(riid, &IID_IWMReaderStreamClock)) {
87  TRACE("(%p)->(IWMReaderStreamClock %p)\n", This, ppv);
88  *ppv = &This->IWMReaderStreamClock_iface;
89  }else if(IsEqualGUID(riid, &IID_IWMReaderTypeNegotiation)) {
90  TRACE("(%p)->(IWMReaderTypeNegotiation %p)\n", This, ppv);
91  *ppv = &This->IWMReaderTypeNegotiation_iface;
92  }else if(IsEqualGUID(riid, &IID_IWMReaderTimecode)) {
93  TRACE("(%p)->(IWMReaderTimecode %p)\n", This, ppv);
94  *ppv = &This->IWMReaderTimecode_iface;
95  }else if(IsEqualGUID(riid, &IID_IWMReaderPlaylistBurn)) {
96  TRACE("(%p)->(IWMReaderPlaylistBurn %p)\n", This, ppv);
97  *ppv = &This->IWMReaderPlaylistBurn_iface;
98  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo)) {
99  TRACE("(%p)->(IWMHeaderInfo %p)\n", This, ppv);
100  *ppv = &This->IWMHeaderInfo3_iface;
101  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo2)) {
102  TRACE("(%p)->(IWMHeaderInfo2 %p)\n", This, ppv);
103  *ppv = &This->IWMHeaderInfo3_iface;
104  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo3)) {
105  TRACE("(%p)->(IWMHeaderInfo3 %p)\n", This, ppv);
106  *ppv = &This->IWMHeaderInfo3_iface;
107  }else if(IsEqualGUID(riid, &IID_IWMLanguageList)) {
108  TRACE("(%p)->(IWMLanguageList %p)\n", This, ppv);
109  *ppv = &This->IWMLanguageList_iface;
110  }else if(IsEqualGUID(riid, &IID_IReferenceClock)) {
111  TRACE("(%p)->(IWMLanguageList %p)\n", This, ppv);
112  *ppv = &This->IReferenceClock_iface;
113  }else if(IsEqualGUID(riid, &IID_IWMProfile)) {
114  TRACE("(%p)->(IWMProfile %p)\n", This, ppv);
115  *ppv = &This->IWMProfile3_iface;
116  }else if(IsEqualGUID(riid, &IID_IWMProfile2)) {
117  TRACE("(%p)->(IWMProfile2 %p)\n", This, ppv);
118  *ppv = &This->IWMProfile3_iface;
119  }else if(IsEqualGUID(riid, &IID_IWMProfile3)) {
120  TRACE("(%p)->(IWMProfile3 %p)\n", This, ppv);
121  *ppv = &This->IWMProfile3_iface;
122  }else if(IsEqualGUID(riid, &IID_IWMPacketSize)) {
123  TRACE("(%p)->(IWMPacketSize %p)\n", This, ppv);
124  *ppv = &This->IWMPacketSize2_iface;
125  }else if(IsEqualGUID(riid, &IID_IWMPacketSize2)) {
126  TRACE("(%p)->(IWMPacketSize2 %p)\n", This, ppv);
127  *ppv = &This->IWMPacketSize2_iface;
128  }else {
129  *ppv = NULL;
130  FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
131  return E_NOINTERFACE;
132  }
133 
134  IUnknown_AddRef((IUnknown*)*ppv);
135  return S_OK;
136 }
137 
139 {
142 
143  TRACE("(%p) ref=%d\n", This, ref);
144 
145  return ref;
146 }
147 
149 {
152 
153  TRACE("(%p) ref=%d\n", This, ref);
154 
155  if(!ref)
156  heap_free(This);
157 
158  return ref;
159 }
160 
162 {
164  FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(url), callback, context);
165  return E_NOTIMPL;
166 }
167 
169 {
171  FIXME("(%p)\n", This);
172  return E_NOTIMPL;
173 }
174 
176 {
178  FIXME("(%p)->(%p)\n", This, outputs);
179  return E_NOTIMPL;
180 }
181 
183 {
185  FIXME("(%p)->(%u %p)\n", This, output_num, output);
186  return E_NOTIMPL;
187 }
188 
190 {
192  FIXME("(%p)->(%u %p)\n", This, output_num, output);
193  return E_NOTIMPL;
194 }
195 
197 {
199  FIXME("(%p)->(%u %p)\n", This, output_num, formats);
200  return E_NOTIMPL;
201 }
202 
204 {
206  FIXME("(%p)->(%u %u %p)\n", This, output_num, format_num, props);
207  return E_NOTIMPL;
208 }
209 
210 static HRESULT WINAPI WMReader_Start(IWMReader *iface, QWORD start, QWORD duration, float rate, void *context)
211 {
213  FIXME("(%p)->(%s %s %f %p)\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration), rate, context);
214  return E_NOTIMPL;
215 }
216 
218 {
220  FIXME("(%p)\n", This);
221  return E_NOTIMPL;
222 }
223 
225 {
227  FIXME("(%p)\n", This);
228  return E_NOTIMPL;
229 }
230 
232 {
234  FIXME("(%p)\n", This);
235  return E_NOTIMPL;
236 }
237 
238 static const IWMReaderVtbl WMReaderVtbl = {
253 };
254 
256 {
257  return CONTAINING_RECORD(iface, WMReader, IWMReaderAdvanced6_iface);
258 }
259 
261 {
263  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
264 }
265 
267 {
269  return IWMReader_AddRef(&This->IWMReader_iface);
270 }
271 
273 {
275  return IWMReader_Release(&This->IWMReader_iface);
276 }
277 
279 {
281  FIXME("(%p)->(%x)\n", This, user_clock);
282  return E_NOTIMPL;
283 }
284 
286 {
288  FIXME("(%p)->(%p)\n", This, user_clock);
289  return E_NOTIMPL;
290 }
291 
293 {
295  FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(time));
296  return E_NOTIMPL;
297 }
298 
300 {
302  FIXME("(%p)->(%x)\n", This, selection);
303  return E_NOTIMPL;
304 }
305 
307 {
309  FIXME("(%p)->(%p)\n", This, selection);
310  return E_NOTIMPL;
311 }
312 
314  WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
315 {
317  FIXME("(%p)->(%d %p %p)\n", This, stream_count, stream_numbers, selections);
318  return E_NOTIMPL;
319 }
320 
323 {
325  FIXME("(%p)->(%d %p)\n", This, stream_num, selection);
326  return E_NOTIMPL;
327 }
328 
330 {
332  FIXME("(%p)->(%x)\n", This, get_callbacks);
333  return E_NOTIMPL;
334 }
335 
337 {
339  FIXME("(%p)->(%p)\n", This, get_callbacks);
340  return E_NOTIMPL;
341 }
342 
344  BOOL receive_stream_samples)
345 {
347  FIXME("(%p)->(%d %x)\n", This, stream_num, receive_stream_samples);
348  return E_NOTIMPL;
349 }
350 
352  BOOL *receive_stream_samples)
353 {
355  FIXME("(%p)->(%d %p)\n", This, stream_num, receive_stream_samples);
356  return E_NOTIMPL;
357 }
358 
360 {
362  FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
363  return E_NOTIMPL;
364 }
365 
367 {
369  FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
370  return E_NOTIMPL;
371 }
372 
374 {
376  FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
377  return E_NOTIMPL;
378 }
379 
381 {
383  FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
384  return E_NOTIMPL;
385 }
386 
388 {
390  FIXME("(%p)->(%p)\n", This, statistics);
391  return E_NOTIMPL;
392 }
393 
395 {
397  FIXME("(%p)->(%p)\n", This, client_info);
398  return E_NOTIMPL;
399 }
400 
402 {
404  FIXME("(%p)->(%d %p)\n", This, output, max);
405  return E_NOTIMPL;
406 }
407 
409 {
411  FIXME("(%p)->(%d %p)\n", This, stream, max);
412  return E_NOTIMPL;
413 }
414 
416 {
418  FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(lateness));
419  return E_NOTIMPL;
420 }
421 
423 {
425  FIXME("(%p)->(%d)\n", This, mode);
426  return E_NOTIMPL;
427 }
428 
430 {
432  FIXME("(%p)->(%p)\n", This, mode);
433  return E_NOTIMPL;
434 }
435 
437 {
439  FIXME("(%p)->(%p %p)\n", This, percent, buffering);
440  return E_NOTIMPL;
441 }
442 
444  QWORD *bytes_downloaded, QWORD *download)
445 {
447  FIXME("(%p)->(%p %p %p)\n", This, percent, bytes_downloaded, download);
448  return E_NOTIMPL;
449 }
450 
452 {
454  FIXME("(%p)->(%p)\n", This, percent);
455  return E_NOTIMPL;
456 }
457 
459 {
461  FIXME("(%p)->(%s)\n", This, debugstr_w(filename));
462  return E_NOTIMPL;
463 }
464 
466 {
468  FIXME("(%p)->(%p %p)\n", This, protocol, protocol_len);
469  return E_NOTIMPL;
470 }
471 
473  QWORD duration, float rate, void *context)
474 {
476  FIXME("(%p)->(%d %s %f %p)\n", This, marker_index, wine_dbgstr_longlong(duration), rate, context);
477  return E_NOTIMPL;
478 }
479 
482 {
484  FIXME("(%p)->(%d %s %p %p %p)\n", This, output_num, debugstr_w(name), type, value, length);
485  return E_NOTIMPL;
486 }
487 
490 {
492  FIXME("(%p)->(%d %s %d %p %d)\n", This, output_num, debugstr_w(name), type, value, length);
493  return E_NOTIMPL;
494 }
495 
497 {
499  FIXME("(%p)->(%s %s %f)\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration), rate);
500  return E_NOTIMPL;
501 }
502 
504 {
506  FIXME("(%p)->(%x)\n", This, log_client_id);
507  return E_NOTIMPL;
508 }
509 
511 {
513  FIXME("(%p)->(%p)\n", This, log_client_id);
514  return E_NOTIMPL;
515 }
516 
518 {
520  FIXME("(%p)\n", This);
521  return E_NOTIMPL;
522 }
523 
526 {
528  FIXME("(%p)->(%p %p %p)\n", This, stream, callback, context);
529  return E_NOTIMPL;
530 }
531 
533 {
535  FIXME("(%p)\n", This);
536  return E_NOTIMPL;
537 }
538 
540  void *offset_start, void *duration, WMT_OFFSET_FORMAT format, float rate, void *context)
541 {
543  FIXME("(%p)->(%d %p %p %d %f %p)\n", This, stream_num, offset_start, duration, format, rate, context);
544  return E_NOTIMPL;
545 }
546 
548 {
550  FIXME("(%p)->(%d %p)\n", This, output_num, language_count);
551  return E_NOTIMPL;
552 }
553 
555  WORD language, WCHAR *language_string, WORD *language_string_len)
556 {
558  FIXME("(%p)->(%d %x %p %p)\n", This, output_num, language, language_string, language_string_len);
559  return E_NOTIMPL;
560 }
561 
563 {
565  FIXME("(%p)->(%p)\n", This, factor);
566  return E_NOTIMPL;
567 }
568 
570 {
572  FIXME("(%p)->(%p)\n", This, using_fast_cache);
573  return E_NOTIMPL;
574 }
575 
577  const WCHAR *name, const WCHAR *value)
578 {
580  FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(namespace), debugstr_w(name), debugstr_w(value));
581  return E_NOTIMPL;
582 }
583 
585 {
587  FIXME("(%p)\n", This);
588  return E_NOTIMPL;
589 }
590 
592 {
594  FIXME("(%p)->(%p)\n", This, can_save);
595  return E_NOTIMPL;
596 }
597 
599 {
601  FIXME("(%p)\n", This);
602  return E_NOTIMPL;
603 }
604 
606 {
608  FIXME("(%p)->(%p %p)\n", This, url, url_len);
609  return E_NOTIMPL;
610 }
611 
613 {
615  FIXME("(%p)->(%d %p)\n", This, output_num, hook);
616  return E_NOTIMPL;
617 }
618 
620  DWORD cert_size, DWORD cert_type, DWORD flags, BYTE *initialization_vector, DWORD *initialization_vector_size)
621 {
623  FIXME("(%p)->(%p %d %d %x %p %p)\n", This, cert, cert_size, cert_type, flags, initialization_vector,
624  initialization_vector_size);
625  return E_NOTIMPL;
626 }
627 
628 static const IWMReaderAdvanced6Vtbl WMReaderAdvanced6Vtbl = {
680 };
681 
683 {
684  return CONTAINING_RECORD(iface, WMReader, IWMReaderAccelerator_iface);
685 }
686 
688 {
690  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, object);
691 }
692 
694 {
696  return IWMReader_AddRef(&This->IWMReader_iface);
697 }
698 
700 {
702  return IWMReader_Release(&This->IWMReader_iface);
703 }
704 
706 {
708 
709  FIXME("%p, %d, %s, %p\n", This, output, debugstr_guid(riid), codec);
710 
711  return E_NOTIMPL;
712 }
713 
715 {
717 
718  FIXME("%p, %d, %p\n", This, output, subtype);
719 
720  return E_NOTIMPL;
721 }
722 
723 static const IWMReaderAcceleratorVtbl WMReaderAcceleratorVtbl = {
729 };
730 
732 {
733  return CONTAINING_RECORD(iface, WMReader, IWMReaderNetworkConfig2_iface);
734 }
735 
737 {
739  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
740 }
741 
743 {
745  return IWMReader_AddRef(&This->IWMReader_iface);
746 }
747 
749 {
751  return IWMReader_Release(&This->IWMReader_iface);
752 }
753 
755 {
757  FIXME("%p, %p\n", This, buffering_time);
758  return E_NOTIMPL;
759 }
760 
762 {
764  FIXME("%p, %s\n", This, wine_dbgstr_longlong(buffering_time));
765  return E_NOTIMPL;
766 }
767 
769  DWORD *ranges)
770 {
772  FIXME("%p, %p, %p\n", This, array, ranges);
773  return E_NOTIMPL;
774 }
775 
777  DWORD ranges)
778 {
780  FIXME("%p, %p, %u\n", This, array, ranges);
781  return E_NOTIMPL;
782 }
783 
786 {
788  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), proxy);
789  return E_NOTIMPL;
790 }
791 
794 {
796  FIXME("%p, %s, %d\n", This, debugstr_w(protocol), proxy);
797  return E_NOTIMPL;
798 }
799 
802 {
804  FIXME("%p, %s, %p, %p\n", This, debugstr_w(protocol), hostname, size);
805  return E_NOTIMPL;
806 }
807 
809  const WCHAR *hostname)
810 {
812  FIXME("%p, %s, %s\n", This, debugstr_w(protocol), debugstr_w(hostname));
813  return E_NOTIMPL;
814 }
815 
817  DWORD *port)
818 {
820  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), port);
821  return E_NOTIMPL;
822 }
823 
825  DWORD port)
826 {
828  FIXME("%p, %s, %u\n", This, debugstr_w(protocol), port);
829  return E_NOTIMPL;
830 }
831 
833  WCHAR *exceptions, DWORD *count)
834 {
836  FIXME("%p, %s, %p, %p\n", This, debugstr_w(protocol), exceptions, count);
837  return E_NOTIMPL;
838 }
839 
841  const WCHAR *exceptions)
842 {
844  FIXME("%p, %s, %s\n", This, debugstr_w(protocol), debugstr_w(exceptions));
845  return E_NOTIMPL;
846 }
847 
849  BOOL *bypass)
850 {
852  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), bypass);
853  return E_NOTIMPL;
854 }
855 
857  BOOL bypass)
858 {
860  FIXME("%p, %s, %d\n", This, debugstr_w(protocol), bypass);
861  return E_NOTIMPL;
862 }
863 
865  BOOL *detection)
866 {
868  FIXME("%p, %p\n", This, detection);
869  return E_NOTIMPL;
870 }
871 
873  BOOL detection)
874 {
876  FIXME("%p, %d\n", This, detection);
877  return E_NOTIMPL;
878 }
879 
881 {
883  FIXME("%p, %p\n", This, multicast);
884  return E_NOTIMPL;
885 }
886 
888 {
890  FIXME("%p, %d\n", This, multicast);
891  return E_NOTIMPL;
892 }
893 
895 {
897  FIXME("%p, %p\n", This, enable);
898  return E_NOTIMPL;
899 }
900 
902 {
904  FIXME("%p, %d\n", This, enable);
905  return E_NOTIMPL;
906 }
907 
909 {
911  FIXME("%p, %p\n", This, enable);
912  return E_NOTIMPL;
913 }
914 
916 {
918  FIXME("%p, %d\n", This, enable);
919  return E_NOTIMPL;
920 }
921 
923 {
925  FIXME("%p, %p\n", This, enable);
926  return E_NOTIMPL;
927 }
928 
930 {
932  FIXME("%p, %d\n", This, enable);
933  return E_NOTIMPL;
934 }
935 
937 {
939  FIXME("%p\n", This);
940  return E_NOTIMPL;
941 }
942 
944 {
946  FIXME("%p, %p\n", This, bandwidth);
947  return E_NOTIMPL;
948 }
949 
951 {
953  FIXME("%p, %u\n", This, bandwidth);
954  return E_NOTIMPL;
955 }
956 
958 {
960  FIXME("%p, %p\n", This, protocols);
961  return E_NOTIMPL;
962 }
963 
966 {
968  FIXME("%p, %u, %p %p\n", This, protocol_num, protocol, size);
969  return E_NOTIMPL;
970 }
971 
973 {
975  FIXME("%p, %s\n", This, debugstr_w(url));
976  return E_NOTIMPL;
977 }
978 
980  DWORD *size)
981 {
983  FIXME("%p, %u, %p, %p\n", This, index, url, size);
984  return E_NOTIMPL;
985 }
986 
988 {
990  FIXME("%p, %p\n", This, count);
991  return E_NOTIMPL;
992 }
993 
995 {
997  FIXME("%p\n", This);
998  return E_NOTIMPL;
999 }
1000 
1002 {
1004  FIXME("%p, %p\n", This, enable);
1005  return E_NOTIMPL;
1006 }
1007 
1009 {
1011  FIXME("%p, %d\n", This, enable);
1012  return E_NOTIMPL;
1013 }
1014 
1016 {
1018  FIXME("%p, %p\n", This, enable);
1019  return E_NOTIMPL;
1020 }
1021 
1023 {
1025  FIXME("%p, %d\n", This, enable);
1026  return E_NOTIMPL;
1027 }
1028 
1030  QWORD *duration)
1031 {
1033  FIXME("%p, %p\n", This, duration);
1034  return E_NOTIMPL;
1035 }
1036 
1038  QWORD duration)
1039 {
1041  FIXME("%p, %s\n", This, wine_dbgstr_longlong(duration));
1042  return E_NOTIMPL;
1043 }
1044 
1046 {
1048  FIXME("%p, %p\n", This, limit);
1049  return E_NOTIMPL;
1050 }
1051 
1053 {
1055  FIXME("%p, %u\n", This, limit);
1056  return E_NOTIMPL;
1057 }
1058 
1060 {
1062  FIXME("%p, %p\n", This, enable);
1063  return E_NOTIMPL;
1064 }
1065 
1067 {
1069  FIXME("%p, %u\n", This, enable);
1070  return E_NOTIMPL;
1071 }
1072 
1074 {
1076  FIXME("%p, %p\n", This, enable);
1077  return E_NOTIMPL;
1078 }
1079 
1081 {
1083  FIXME("%p, %u\n", This, enable);
1084  return E_NOTIMPL;
1085 }
1086 
1088 {
1090  FIXME("%p, %p\n", This, packet_size);
1091  return E_NOTIMPL;
1092 }
1093 
1094 static const IWMReaderNetworkConfig2Vtbl WMReaderNetworkConfig2Vtbl =
1095 {
1145 };
1146 
1148 {
1149  return CONTAINING_RECORD(iface, WMReader, IWMReaderStreamClock_iface);
1150 }
1151 
1153 {
1155  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1156 }
1157 
1159 {
1161  return IWMReader_AddRef(&This->IWMReader_iface);
1162 }
1163 
1165 {
1167  return IWMReader_Release(&This->IWMReader_iface);
1168 }
1169 
1171 {
1173  FIXME("%p, %p\n", This, now);
1174  return E_NOTIMPL;
1175 }
1176 
1178 {
1180  FIXME("%p, %s, %p, %p\n", This, wine_dbgstr_longlong(when), param, id);
1181  return E_NOTIMPL;
1182 }
1183 
1185 {
1187  FIXME("%p, %d\n", This, id);
1188  return E_NOTIMPL;
1189 }
1190 
1191 static const IWMReaderStreamClockVtbl WMReaderStreamClockVtbl =
1192 {
1199 };
1200 
1202 {
1203  return CONTAINING_RECORD(iface, WMReader, IWMReaderTypeNegotiation_iface);
1204 }
1205 
1207 {
1209  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1210 }
1211 
1213 {
1215  return IWMReader_AddRef(&This->IWMReader_iface);
1216 }
1217 
1219 {
1221  return IWMReader_Release(&This->IWMReader_iface);
1222 }
1223 
1225 {
1227  FIXME("%p, %d, %p\n", This, output, props);
1228  return E_NOTIMPL;
1229 }
1230 
1231 static const IWMReaderTypeNegotiationVtbl WMReaderTypeNegotiationVtbl =
1232 {
1237 };
1238 
1240 {
1241  return CONTAINING_RECORD(iface, WMReader, IWMReaderTimecode_iface);
1242 }
1243 
1245 {
1247  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1248 }
1249 
1251 {
1253  return IWMReader_AddRef(&This->IWMReader_iface);
1254 }
1255 
1257 {
1259  return IWMReader_Release(&This->IWMReader_iface);
1260 }
1261 
1263 {
1265  FIXME("%p, %d, %p\n", This, num, count);
1266  return E_NOTIMPL;
1267 }
1268 
1270  DWORD *start_timecode, DWORD *end_timecode)
1271 {
1273  FIXME("%p, %d, %d, %p, %p\n", This, stream, range, start_timecode, end_timecode);
1274  return E_NOTIMPL;
1275 }
1276 
1277 static const IWMReaderTimecodeVtbl WMReaderTimecodeVtbl =
1278 {
1284 };
1285 
1286 
1288 {
1289  return CONTAINING_RECORD(iface, WMReader, IWMReaderPlaylistBurn_iface);
1290 }
1291 
1293 {
1295  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1296 }
1297 
1299 {
1301  return IWMReader_AddRef(&This->IWMReader_iface);
1302 }
1303 
1305 {
1307  return IWMReader_Release(&This->IWMReader_iface);
1308 }
1309 
1312 {
1314  FIXME("%p, %d, %p, %p, %p\n", This, count, filenames, callback, context);
1315  return E_NOTIMPL;
1316 }
1317 
1319 {
1321  FIXME("%p, %d, %p\n", This, count, stat);
1322  return E_NOTIMPL;
1323 }
1324 
1326 {
1328  FIXME("%p\n", This);
1329  return E_NOTIMPL;
1330 }
1331 
1333 {
1335  FIXME("%p, 0x%08x\n", This, result);
1336  return E_NOTIMPL;
1337 }
1338 
1339 static const IWMReaderPlaylistBurnVtbl WMReaderPlaylistBurnVtbl =
1340 {
1348 };
1349 
1351 {
1352  return CONTAINING_RECORD(iface, WMReader, IWMHeaderInfo3_iface);
1353 }
1354 
1356 {
1358  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1359 }
1360 
1362 {
1364  return IWMReader_AddRef(&This->IWMReader_iface);
1365 }
1366 
1368 {
1370  return IWMReader_Release(&This->IWMReader_iface);
1371 }
1372 
1373 static HRESULT WINAPI headerinfo_GetAttributeCount(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
1374 {
1376  FIXME("%p, %d, %p\n", This, stream_num, attributes);
1377  return E_NOTIMPL;
1378 }
1379 
1382 {
1384  FIXME("%p, %d, %p, %p, %p, %p, %p, %p\n", This, index, stream_num, name, name_len, type,
1385  value, length);
1386  return E_NOTIMPL;
1387 }
1388 
1391 {
1393  FIXME("%p, %p, %s, %p, %p, %p\n", This, stream_num, debugstr_w(name), type, value, length);
1394  return E_NOTIMPL;
1395 }
1396 
1399 {
1401  FIXME("%p, %d, %s, %d, %p, %d\n", This, stream_num, debugstr_w(name), type, value, length);
1402  return E_NOTIMPL;
1403 }
1404 
1406 {
1408  FIXME("%p, %p\n", This, markers);
1409  return E_NOTIMPL;
1410 }
1411 
1413  WORD *marker_len, QWORD *marker_time)
1414 {
1416  FIXME("%p, %d, %p, %p, %p\n", This, index, marker_name, marker_len, marker_time);
1417  return E_NOTIMPL;
1418 }
1419 
1421  QWORD marker_time)
1422 {
1424  FIXME("%p, %p, %s\n", This, marker_name, wine_dbgstr_longlong(marker_time));
1425  return E_NOTIMPL;
1426 }
1427 
1429 {
1431  FIXME("%p, %d\n", This, index);
1432  return E_NOTIMPL;
1433 }
1434 
1436 {
1438  FIXME("%p, %p\n", This, scripts);
1439  return E_NOTIMPL;
1440 }
1441 
1443  WORD *type_len, WCHAR *command, WORD *command_len, QWORD *script_time)
1444 {
1446  FIXME("%p, %d, %p, %p, %p, %p, %p\n", This, index, type, type_len, command, command_len, script_time);
1447  return E_NOTIMPL;
1448 }
1449 
1451  LPCWSTR_WMSDK_TYPE_SAFE command, QWORD script_time)
1452 {
1454  FIXME("%p, %s, %s, %s\n", This, debugstr_w(type), debugstr_w(command), wine_dbgstr_longlong(script_time));
1455  return E_NOTIMPL;
1456 }
1457 
1459 {
1461  FIXME("%p, %d\n", This, index);
1462  return E_NOTIMPL;
1463 }
1464 
1466 {
1468  FIXME("%p, %p\n", This, codec_infos);
1469  return E_NOTIMPL;
1470 }
1471 
1473  WCHAR *name, WORD *description_len, WCHAR *description, WMT_CODEC_INFO_TYPE *codec_type,
1474  WORD *codec_info_cnt, BYTE *codec_info)
1475 {
1477  FIXME("%p, %d, %p, %p, %p, %p, %p, %p, %p\n", This, index, name_len, name, description_len,
1478  description, codec_type, codec_info_cnt, codec_info);
1479  return E_NOTIMPL;
1480 }
1481 
1482 static HRESULT WINAPI headerinfo_GetAttributeCountEx(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
1483 {
1485  FIXME("%p, %d, %p\n", This, stream_num, attributes);
1486  return E_NOTIMPL;
1487 }
1488 
1490  WORD *lang_index, WORD *indices, WORD *count)
1491 {
1493  FIXME("%p, %d, %s, %p, %p, %p\n", This, stream_num, debugstr_w(name), lang_index, indices, count);
1494  return E_NOTIMPL;
1495 }
1496 
1498  WORD index, LPWSTR name, WORD *name_len, WMT_ATTR_DATATYPE *type, WORD *lang_index,
1499  BYTE *value, DWORD *data_len)
1500 {
1502  FIXME("%p, %d, %d, %s, %p, %p, %p, %p, %p\n", This, stream_num, index, debugstr_w(name), name_len,
1503  type, lang_index, value, data_len);
1504  return E_NOTIMPL;
1505 }
1506 
1508  WORD index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
1509 {
1511  FIXME("%p, %d, %d, %d, %d, %p, %d\n", This, stream_num, index, type, lang_index, value, length);
1512  return E_NOTIMPL;
1513 }
1514 
1516  WORD *index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
1517 {
1519  FIXME("%p, %d, %s, %p, %d, %d, %p, %d\n", This, stream_num, debugstr_w(name), index,
1520  type, lang_index, value, length);
1521  return E_NOTIMPL;
1522 }
1523 
1525 {
1527  FIXME("%p, %d, %d\n", This, stream_num, index);
1528  return E_NOTIMPL;
1529 }
1530 
1532  LPCWSTR_WMSDK_TYPE_SAFE description, WMT_CODEC_INFO_TYPE codec_type, WORD codec_info_cnt,
1533  BYTE *codec_info)
1534 {
1536  FIXME("%p, %p, %p, %d, %d, %p\n", This, name, description, codec_type, codec_info_cnt,
1537  codec_info);
1538  return E_NOTIMPL;
1539 }
1540 
1541 static const IWMHeaderInfo3Vtbl WMHeaderInfo3Vtbl =
1542 {
1567 };
1568 
1569 
1571 {
1572  return CONTAINING_RECORD(iface, WMReader, IWMLanguageList_iface);
1573 }
1574 
1576 {
1578  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1579 }
1580 
1582 {
1584  return IWMReader_AddRef(&This->IWMReader_iface);
1585 }
1586 
1588 {
1590  return IWMReader_Release(&This->IWMReader_iface);
1591 }
1592 
1594 {
1596  FIXME("%p, %p\n", This, count);
1597  return E_NOTIMPL;
1598 }
1599 
1601  WCHAR *language, WORD *length)
1602 {
1604  FIXME("%p, %d, %p, %p\n", This, index, language, length);
1605  return E_NOTIMPL;
1606 }
1607 
1609  WORD *index)
1610 {
1612  FIXME("%p, %p, %p\n", This, language, index);
1613  return E_NOTIMPL;
1614 }
1615 
1616 static const IWMLanguageListVtbl WMLanguageListVtbl =
1617 {
1624 };
1625 
1627 {
1628  return CONTAINING_RECORD(iface, WMReader, IReferenceClock_iface);
1629 }
1630 
1632 {
1634  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1635 }
1636 
1638 {
1640  return IWMReader_AddRef(&This->IWMReader_iface);
1641 }
1642 
1644 {
1646  return IWMReader_Release(&This->IWMReader_iface);
1647 }
1648 
1650 {
1652  FIXME("%p, %p\n", This, time);
1653  return E_NOTIMPL;
1654 }
1655 
1657  REFERENCE_TIME streamtime, HEVENT event, DWORD_PTR *cookie)
1658 {
1660  FIXME("%p, %s, %s, %lu, %p\n", This, wine_dbgstr_longlong(basetime),
1661  wine_dbgstr_longlong(streamtime), event, cookie);
1662  return E_NOTIMPL;
1663 }
1664 
1667 {
1669  FIXME("%p, %s, %s, %lu, %p\n", This, wine_dbgstr_longlong(starttime),
1671  return E_NOTIMPL;
1672 }
1673 
1675 {
1677  FIXME("%p, %lu\n", This, cookie);
1678  return E_NOTIMPL;
1679 }
1680 
1681 static const IReferenceClockVtbl ReferenceClockVtbl =
1682 {
1690 };
1691 
1693 {
1694  return CONTAINING_RECORD(iface, WMReader, IWMProfile3_iface);
1695 }
1696 
1698 {
1700  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1701 }
1702 
1704 {
1706  return IWMReader_AddRef(&This->IWMReader_iface);
1707 }
1708 
1710 {
1712  return IWMReader_Release(&This->IWMReader_iface);
1713 }
1714 
1716 {
1718  FIXME("%p, %p\n", This, version);
1719  return E_NOTIMPL;
1720 }
1721 
1723 {
1725  FIXME("%p, %p, %p\n", This, name, length);
1726  return E_NOTIMPL;
1727 }
1728 
1730 {
1732  FIXME("%p, %s\n", This, debugstr_w(name));
1733  return E_NOTIMPL;
1734 }
1735 
1737 {
1739  FIXME("%p, %p, %p\n", This, description, length);
1740  return E_NOTIMPL;
1741 }
1742 
1744 {
1746  FIXME("%p, %s\n", This, debugstr_w(description));
1747  return E_NOTIMPL;
1748 }
1749 
1751 {
1753  FIXME("%p, %p\n", This, count);
1754  return E_NOTIMPL;
1755 }
1756 
1758 {
1760  FIXME("%p, %d, %p\n", This, index, config);
1761  return E_NOTIMPL;
1762 }
1763 
1765 {
1767  FIXME("%p, %d, %p\n", This, stream, config);
1768  return E_NOTIMPL;
1769 }
1770 
1772 {
1774  FIXME("%p, %p\n", This, config);
1775  return E_NOTIMPL;
1776 }
1777 
1779 {
1781  FIXME("%p, %d\n", This, stream);
1782  return E_NOTIMPL;
1783 }
1784 
1786 {
1788  FIXME("%p, %p\n", This, config);
1789  return E_NOTIMPL;
1790 }
1791 
1793 {
1795  FIXME("%p, %p\n", This, config);
1796  return E_NOTIMPL;
1797 }
1798 
1800 {
1802  FIXME("%p, %s, %p\n", This, debugstr_guid(type), config);
1803  return E_NOTIMPL;
1804 }
1805 
1807 {
1809  FIXME("%p, %p\n", This, count);
1810  return E_NOTIMPL;
1811 }
1812 
1814 {
1816  FIXME("%p, %d, %p\n", This, index, mutual);
1817  return E_NOTIMPL;
1818 }
1819 
1821 {
1823  FIXME("%p, %p\n", This, mutual);
1824  return E_NOTIMPL;
1825 }
1826 
1828 {
1830  FIXME("%p, %p\n", This, mutual);
1831  return E_NOTIMPL;
1832 }
1833 
1835 {
1837  FIXME("%p, %p\n", This, mutual);
1838  return E_NOTIMPL;
1839 }
1840 
1842 {
1844  FIXME("%p, %p\n", This, guid);
1845  return E_NOTIMPL;
1846 }
1847 
1849 {
1851  FIXME("%p, %p\n", This, storage);
1852  return E_NOTIMPL;
1853 }
1854 
1856 {
1858  FIXME("%p, %d\n", This, storage);
1859  return E_NOTIMPL;
1860 }
1861 
1863 {
1865  FIXME("%p, %p\n", This, count);
1866  return E_NOTIMPL;
1867 }
1868 
1870 {
1872  FIXME("%p, %d, %p\n", This, index, bandwidth);
1873  return E_NOTIMPL;
1874 }
1875 
1877 {
1879  FIXME("%p, %p\n", This, bandwidth);
1880  return E_NOTIMPL;
1881 }
1882 
1884 {
1886  FIXME("%p, %p\n", This, bandwidth);
1887  return E_NOTIMPL;
1888 }
1889 
1891 {
1893  FIXME("%p, %p\n", This, bandwidth);
1894  return E_NOTIMPL;
1895 }
1896 
1898 {
1900  FIXME("%p, %p\n", This, stream);
1901  return E_NOTIMPL;
1902 }
1903 
1905 {
1907  FIXME("%p, %p\n", This, stream);
1908  return E_NOTIMPL;
1909 }
1910 
1912 {
1914  FIXME("%p\n", This);
1915  return E_NOTIMPL;
1916 }
1917 
1919 {
1921  FIXME("%p, %p\n", This, stream);
1922  return E_NOTIMPL;
1923 }
1924 
1926 {
1928  FIXME("%p, %s, %p\n", This, wine_dbgstr_longlong(duration), packets);
1929  return E_NOTIMPL;
1930 }
1931 
1932 static const IWMProfile3Vtbl WMProfile3Vtbl =
1933 {
1968 };
1969 
1971 {
1972  return CONTAINING_RECORD(iface, WMReader, IWMPacketSize2_iface);
1973 }
1974 
1976 {
1978  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1979 }
1980 
1982 {
1984  return IWMReader_AddRef(&This->IWMReader_iface);
1985 }
1986 
1988 {
1990  return IWMReader_Release(&This->IWMReader_iface);
1991 }
1992 
1994 {
1996  FIXME("%p, %p\n", This, size);
1997  return E_NOTIMPL;
1998 }
1999 
2001 {
2003  FIXME("%p, %d\n", This, size);
2004  return E_NOTIMPL;
2005 }
2006 
2008 {
2010  FIXME("%p, %p\n", This, size);
2011  return E_NOTIMPL;
2012 }
2013 
2015 {
2017  FIXME("%p, %d\n", This, size);
2018  return E_NOTIMPL;
2019 }
2020 
2021 static const IWMPacketSize2Vtbl WMPacketSize2Vtbl =
2022 {
2030 };
2031 
2033 {
2034  WMReader *reader;
2035 
2036  TRACE("(%p, %x, %p)\n", reserved, rights, ret_reader);
2037 
2038  reader = heap_alloc(sizeof(*reader));
2039  if(!reader)
2040  return E_OUTOFMEMORY;
2041 
2042  reader->IWMReader_iface.lpVtbl = &WMReaderVtbl;
2043  reader->IWMReaderAdvanced6_iface.lpVtbl = &WMReaderAdvanced6Vtbl;
2044  reader->IWMReaderAccelerator_iface.lpVtbl = &WMReaderAcceleratorVtbl;
2045  reader->IWMReaderNetworkConfig2_iface.lpVtbl = &WMReaderNetworkConfig2Vtbl;
2046  reader->IWMReaderStreamClock_iface.lpVtbl = &WMReaderStreamClockVtbl;
2047  reader->IWMReaderTypeNegotiation_iface.lpVtbl = &WMReaderTypeNegotiationVtbl;
2048  reader->IWMReaderTimecode_iface.lpVtbl = &WMReaderTimecodeVtbl;
2049  reader->IWMReaderPlaylistBurn_iface.lpVtbl = &WMReaderPlaylistBurnVtbl;
2050  reader->IWMHeaderInfo3_iface.lpVtbl = &WMHeaderInfo3Vtbl;
2051  reader->IWMLanguageList_iface.lpVtbl = &WMLanguageListVtbl;
2052  reader->IReferenceClock_iface.lpVtbl = &ReferenceClockVtbl;
2053  reader->IWMProfile3_iface.lpVtbl = &WMProfile3Vtbl;
2054  reader->IWMPacketSize2_iface.lpVtbl = &WMPacketSize2Vtbl;
2055  reader->ref = 1;
2056 
2057  *ret_reader = &reader->IWMReader_iface;
2058  return S_OK;
2059 }
2060 
2062 {
2063  return WMCreateReader(NULL, 0, ret_reader);
2064 }
2065 
2066 typedef struct {
2069 } WMSyncReader;
2070 
2072 {
2073  return CONTAINING_RECORD(iface, WMSyncReader, IWMSyncReader_iface);
2074 }
2075 
2077 {
2079 
2080  if(IsEqualGUID(riid, &IID_IUnknown)) {
2081  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
2082  *ppv = &This->IWMSyncReader_iface;
2083  }else if(IsEqualGUID(riid, &IID_IWMSyncReader)) {
2084  TRACE("(%p)->(IID_IWMSyncReader %p)\n", This, ppv);
2085  *ppv = &This->IWMSyncReader_iface;
2086  }else {
2087  *ppv = NULL;
2088  FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
2089  return E_NOINTERFACE;
2090  }
2091 
2092  IUnknown_AddRef((IUnknown*)*ppv);
2093  return S_OK;
2094 }
2095 
2097 {
2099  LONG ref = InterlockedIncrement(&This->ref);
2100 
2101  TRACE("(%p) ref=%d\n", This, ref);
2102 
2103  return ref;
2104 }
2105 
2107 {
2109  LONG ref = InterlockedDecrement(&This->ref);
2110 
2111  TRACE("(%p) ref=%d\n", This, ref);
2112 
2113  if(!ref)
2114  heap_free(This);
2115 
2116  return ref;
2117 }
2118 
2120 {
2122  FIXME("(%p): stub!\n", This);
2123  return E_NOTIMPL;
2124 }
2125 
2127 {
2129  FIXME("(%p)->(%d %p): stub!\n", This, output, max);
2130  return E_NOTIMPL;
2131 }
2132 
2134 {
2136  FIXME("(%p)->(%d %p): stub!\n", This, stream, max);
2137  return E_NOTIMPL;
2138 }
2139 
2141  QWORD *sample_time, QWORD *sample_duration, DWORD *flags, DWORD *output_num, WORD *stream_num)
2142 {
2144  FIXME("(%p)->(%d %p %p %p %p %p %p): stub!\n", This, stream, sample, sample_time,
2145  sample_duration, flags, output_num, stream_num);
2146  return E_NOTIMPL;
2147 }
2148 
2150 {
2152  FIXME("(%p)->(%p): stub!\n", This, outputs);
2153  return E_NOTIMPL;
2154 }
2155 
2156 static HRESULT WINAPI WMSyncReader_GetOutputFormat(IWMSyncReader *iface, DWORD output_num, DWORD format_num,
2158 {
2160  FIXME("(%p)->(%u %u %p): stub!\n", This, output_num, format_num, props);
2161  return E_NOTIMPL;
2162 }
2163 
2165 {
2167  FIXME("(%p)->(%u %p): stub!\n", This, output_num, formats);
2168  return E_NOTIMPL;
2169 }
2170 
2172 {
2174  FIXME("(%p)->(%u %p): stub!\n", This, stream_num, output_num);
2175  return E_NOTIMPL;
2176 }
2177 
2179 {
2181  FIXME("(%p)->(%u %p): stub!\n", This, output_num, output);
2182  return E_NOTIMPL;
2183 }
2184 
2187 {
2189  FIXME("(%p)->(%u %s %p %p %p): stub!\n", This, output_num, debugstr_w(name), type, value, length);
2190  return E_NOTIMPL;
2191 }
2192 
2194 {
2196  FIXME("(%p)->(%d %p): stub!\n", This, stream_num, compressed);
2197  return E_NOTIMPL;
2198 }
2199 
2201 {
2203  FIXME("(%p)->(%u %p): stub!\n", This, output, stream_num);
2204  return S_OK;
2205 }
2206 
2208 {
2210  FIXME("(%p)->(%d %p): stub!\n", This, stream_num, selection);
2211  return E_NOTIMPL;
2212 }
2213 
2215 {
2217  FIXME("(%p)->(%s): stub!\n", This, debugstr_w(filename));
2218  return E_NOTIMPL;
2219 }
2220 
2222 {
2224  FIXME("(%p)->(%p): stub!\n", This, stream);
2225  return S_OK;
2226 }
2227 
2229 {
2231  FIXME("(%p)->(%u %p): stub!\n", This, output_num, output);
2232  return E_NOTIMPL;
2233 }
2234 
2237 {
2239  FIXME("(%p)->(%d %s %d %p %d): stub!\n", This, output_num, debugstr_w(name), type, value, length);
2240  return E_NOTIMPL;
2241 }
2242 
2244 {
2246  FIXME("(%p)->(%s %s): stub!\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration));
2247  return E_NOTIMPL;
2248 }
2249 
2251  LONGLONG frames)
2252 {
2254  FIXME("(%p)->(%d %s %s): stub!\n", This, stream_num, wine_dbgstr_longlong(frame_num), wine_dbgstr_longlong(frames));
2255  return E_NOTIMPL;
2256 }
2257 
2259 {
2261  FIXME("(%p)->(%u %x): stub!\n", This, stream_num, compressed);
2262  return E_NOTIMPL;
2263 }
2264 
2266  WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
2267 {
2269  FIXME("(%p)->(%d %p %p): stub!\n", This, stream_count, stream_numbers, selections);
2270  return S_OK;
2271 }
2272 
2273 static const IWMSyncReaderVtbl WMSyncReaderVtbl = {
2298 };
2299 
2301 {
2302  WMSyncReader *sync;
2303 
2304  TRACE("(%p, %x, %p)\n", pcert, rights, syncreader);
2305 
2306  sync = heap_alloc(sizeof(*sync));
2307 
2308  if (!sync)
2309  return E_OUTOFMEMORY;
2310 
2311  sync->IWMSyncReader_iface.lpVtbl = &WMSyncReaderVtbl;
2312  sync->ref = 1;
2313 
2314  *syncreader = &sync->IWMSyncReader_iface;
2315 
2316  return S_OK;
2317 }
2318 
2320 {
2321  return WMCreateSyncReader(NULL, 0, syncreader);
2322 }
static ULONG WINAPI reader_accl_Release(IWMReaderAccelerator *iface)
Definition: reader.c:699
static HRESULT WINAPI WMReaderAdvanced6_SetProtextStreamSamples(IWMReaderAdvanced6 *iface, BYTE *cert, DWORD cert_size, DWORD cert_type, DWORD flags, BYTE *initialization_vector, DWORD *initialization_vector_size)
Definition: reader.c:619
static HRESULT WINAPI profile3_RemoveStreamPrioritization(IWMProfile3 *iface)
Definition: reader.c:1911
static HRESULT WINAPI WMReader_Start(IWMReader *iface, QWORD start, QWORD duration, float rate, void *context)
Definition: reader.c:210
HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **ret_reader)
Definition: reader.c:2032
static HRESULT WINAPI packetsize_QueryInterface(IWMPacketSize2 *iface, REFIID riid, void **ppv)
Definition: reader.c:1975
static HRESULT WINAPI WMSyncReader_SetRange(IWMSyncReader *iface, QWORD start, LONGLONG duration)
Definition: reader.c:2243
static HRESULT WINAPI WMReaderAdvanced_QueryInterface(IWMReaderAdvanced6 *iface, REFIID riid, void **ppv)
Definition: reader.c:260
static HRESULT WINAPI networkconfig_SetEnableResends(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:1066
static HRESULT WINAPI WMSyncReader_GetOutputFormat(IWMSyncReader *iface, DWORD output_num, DWORD format_num, IWMOutputMediaProps **props)
Definition: reader.c:2156
static HRESULT WINAPI WMSyncReader_GetOutputProps(IWMSyncReader *iface, DWORD output_num, IWMOutputMediaProps **output)
Definition: reader.c:2178
static HRESULT WINAPI profile3_GetName(IWMProfile3 *iface, WCHAR *name, DWORD *length)
Definition: reader.c:1722
static HRESULT WINAPI WMReaderAdvanced4_GetLanguageCount(IWMReaderAdvanced6 *iface, DWORD output_num, WORD *language_count)
Definition: reader.c:547
static HRESULT WINAPI WMReaderAdvanced2_GetLogClientID(IWMReaderAdvanced6 *iface, BOOL *log_client_id)
Definition: reader.c:510
GLuint GLuint GLsizei GLenum const GLvoid * indices
Definition: gl.h:1545
static ULONG WINAPI langlist_Release(IWMLanguageList *iface)
Definition: reader.c:1587
#define max(a, b)
Definition: svc.c:63
static HRESULT WINAPI WMReader_Stop(IWMReader *iface)
Definition: reader.c:217
static const IWMReaderTypeNegotiationVtbl WMReaderTypeNegotiationVtbl
Definition: reader.c:1231
static HRESULT WINAPI headerinfo_ModifyAttribute(IWMHeaderInfo3 *iface, WORD stream_num, WORD index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
Definition: reader.c:1507
int proxy
Definition: main.c:67
#define REFIID
Definition: guiddef.h:118
static UCHAR ULONG UCHAR ULONG UCHAR * output
Definition: bcrypt.c:29
#define E_NOINTERFACE
Definition: winerror.h:2364
IWMReaderNetworkConfig2 IWMReaderNetworkConfig2_iface
Definition: reader.c:31
static HRESULT WINAPI packetsize_GetMinPacketSize(IWMPacketSize2 *iface, DWORD *size)
Definition: reader.c:2007
static HRESULT WINAPI networkconfig_GetBufferingTime(IWMReaderNetworkConfig2 *iface, QWORD *buffering_time)
Definition: reader.c:754
static HRESULT WINAPI WMReaderAdvanced_DeliverTime(IWMReaderAdvanced6 *iface, QWORD time)
Definition: reader.c:292
static HRESULT WINAPI networkconfig_SetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2 *iface, BOOL detection)
Definition: reader.c:872
static const IWMProfile3Vtbl WMProfile3Vtbl
Definition: reader.c:1932
static HRESULT WINAPI headerinfo_QueryInterface(IWMHeaderInfo3 *iface, REFIID riid, void **ppv)
Definition: reader.c:1355
static HRESULT WINAPI WMSyncReader_GetOutputNumberForStream(IWMSyncReader *iface, WORD stream_num, DWORD *output_num)
Definition: reader.c:2171
Definition: scsiwmi.h:51
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
static HRESULT WINAPI WMReader_Pause(IWMReader *iface)
Definition: reader.c:224
static HRESULT WINAPI WMSyncReader_SetStreamsSelected(IWMSyncReader *iface, WORD stream_count, WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
Definition: reader.c:2265
static WMReader * impl_from_IWMLanguageList(IWMLanguageList *iface)
Definition: reader.c:1570
static WMReader * impl_from_IWMReaderPlaylistBurn(IWMReaderPlaylistBurn *iface)
Definition: reader.c:1287
WMT_PROXY_SETTINGS
Definition: wmsdkidl.idl:191
static HRESULT WINAPI WMReaderAdvanced2_GetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
Definition: reader.c:480
static HRESULT WINAPI timecode_GetTimecodeRangeCount(IWMReaderTimecode *iface, WORD num, WORD *count)
Definition: reader.c:1262
Definition: http.c:7094
static HRESULT WINAPI WMSyncReader_QueryInterface(IWMSyncReader *iface, REFIID riid, void **ppv)
Definition: reader.c:2076
static ULONG WINAPI readclock_Release(IWMReaderStreamClock *iface)
Definition: reader.c:1164
static WMReader * impl_from_IWMProfile3(IWMProfile3 *iface)
Definition: reader.c:1692
static HRESULT WINAPI WMReader_SetOutputProps(IWMReader *iface, DWORD output_num, IWMOutputMediaProps *output)
Definition: reader.c:189
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint factor
Definition: glfuncs.h:178
static HRESULT WINAPI WMReaderAdvanced4_IsUsingFastCache(IWMReaderAdvanced6 *iface, BOOL *using_fast_cache)
Definition: reader.c:569
REFIID riid
Definition: precomp.h:44
IWMPacketSize2 IWMPacketSize2_iface
Definition: reader.c:40
static ULONG WINAPI WMReader_Release(IWMReader *iface)
Definition: reader.c:148
static HRESULT WINAPI networkconfig_SetEnableMulticast(IWMReaderNetworkConfig2 *iface, BOOL multicast)
Definition: reader.c:887
static HRESULT WINAPI profile3_RemoveStreamByNumber(IWMProfile3 *iface, WORD stream)
Definition: reader.c:1778
static HRESULT WINAPI networkconfig_SetEnableHTTP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:901
static HRESULT WINAPI headerinfo_GetMarkerCount(IWMHeaderInfo3 *iface, WORD *markers)
Definition: reader.c:1405
GLuint GLuint GLsizei count
Definition: gl.h:1545
static ULONG WINAPI WMSyncReader_AddRef(IWMSyncReader *iface)
Definition: reader.c:2096
static HRESULT WINAPI networkconfig_SetEnableUDP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:915
static const IWMReaderVtbl WMReaderVtbl
Definition: reader.c:238
static HRESULT WINAPI WMReaderAdvanced_SetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num, BOOL receive_stream_samples)
Definition: reader.c:343
static HRESULT WINAPI profile3_SetStorageFormat(IWMProfile3 *iface, WMT_STORAGE_FORMAT storage)
Definition: reader.c:1855
static HRESULT WINAPI networkconfig_SetProxyPort(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, DWORD port)
Definition: reader.c:824
static const struct pixel_format_desc formats[]
Definition: util.c:57
static ULONG WINAPI profile3_Release(IWMProfile3 *iface)
Definition: reader.c:1709
static WMSyncReader * impl_from_IWMSyncReader(IWMSyncReader *iface)
Definition: reader.c:2071
static HRESULT WINAPI WMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL get_callbacks)
Definition: reader.c:329
REFIID LPVOID * ppv
Definition: atlbase.h:39
WMT_CODEC_INFO_TYPE
Definition: wmsdkidl.idl:184
static HRESULT WINAPI WMReaderAdvanced2_StopBuffering(IWMReaderAdvanced6 *iface)
Definition: reader.c:517
static HRESULT WINAPI headerinfo_GetAttributeCountEx(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
Definition: reader.c:1482
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL allocate)
Definition: reader.c:373
static const IWMReaderTimecodeVtbl WMReaderTimecodeVtbl
Definition: reader.c:1277
static HRESULT WINAPI profile3_GetStorageFormat(IWMProfile3 *iface, WMT_STORAGE_FORMAT *storage)
Definition: reader.c:1848
WMT_VERSION
Definition: wmsdkidl.idl:159
static HRESULT WINAPI packetsize_GetMaxPacketSize(IWMPacketSize2 *iface, DWORD *size)
Definition: reader.c:1993
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
static HRESULT WINAPI refclock_Unadvise(IReferenceClock *iface, DWORD_PTR cookie)
Definition: reader.c:1674
static HRESULT WINAPI WMReaderAdvanced2_GetSaveAsProgress(IWMReaderAdvanced6 *iface, DWORD *percent)
Definition: reader.c:451
static HRESULT WINAPI networkconfig_GetAutoReconnectLimit(IWMReaderNetworkConfig2 *iface, DWORD *limit)
Definition: reader.c:1045
static HRESULT WINAPI networkconfig_SetBufferingTime(IWMReaderNetworkConfig2 *iface, QWORD buffering_time)
Definition: reader.c:761
HRESULT WINAPI WMCreateSyncReaderPriv(IWMSyncReader **syncreader)
Definition: reader.c:2319
IWMReader IWMReader_iface
Definition: reader.c:28
static HRESULT WINAPI profile3_GetStreamByNumber(IWMProfile3 *iface, WORD stream, IWMStreamConfig **config)
Definition: reader.c:1764
static HRESULT WINAPI headerinfo_AddMarker(IWMHeaderInfo3 *iface, LPCWSTR_WMSDK_TYPE_SAFE marker_name, QWORD marker_time)
Definition: reader.c:1420
static ULONG WINAPI WMReaderAdvanced_Release(IWMReaderAdvanced6 *iface)
Definition: reader.c:272
HRESULT WINAPI WMCreateSyncReader(IUnknown *pcert, DWORD rights, IWMSyncReader **syncreader)
Definition: reader.c:2300
static HRESULT WINAPI WMSyncReader_SetRangeByFrame(IWMSyncReader *iface, WORD stream_num, QWORD frame_num, LONGLONG frames)
Definition: reader.c:2250
static HRESULT WINAPI WMReader_GetOutputProps(IWMReader *iface, DWORD output_num, IWMOutputMediaProps **output)
Definition: reader.c:182
static HRESULT WINAPI networkconfig_SetEnableFastCache(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:1022
__u16 time
Definition: mkdosfs.c:366
const char * description
Definition: directx.c:2497
int rate
Definition: pcmconverter.c:97
static ULONG WINAPI negotiation_AddRef(IWMReaderTypeNegotiation *iface)
Definition: reader.c:1212
static HRESULT WINAPI networkconfig_GetUDPPortRanges(IWMReaderNetworkConfig2 *iface, WM_PORT_NUMBER_RANGE *array, DWORD *ranges)
Definition: reader.c:768
static ULONG WINAPI timecode_AddRef(IWMReaderTimecode *iface)
Definition: reader.c:1250
static WMReader * impl_from_IWMReaderAccelerator(IWMReaderAccelerator *iface)
Definition: reader.c:682
const char * filename
Definition: ioapi.h:135
static HRESULT WINAPI networkconfig_SetProxyExceptionList(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, const WCHAR *exceptions)
Definition: reader.c:840
static HRESULT WINAPI WMReader_Open(IWMReader *iface, const WCHAR *url, IWMReaderCallback *callback, void *context)
Definition: reader.c:161
static HRESULT WINAPI WMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced6 *iface, WORD stream_count, WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
Definition: reader.c:313
static HRESULT WINAPI networkconfig_GetEnableTCP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:922
static WMReader * impl_from_IWMReaderStreamClock(IWMReaderStreamClock *iface)
Definition: reader.c:1147
static HRESULT WINAPI headerinfo_GetScript(IWMHeaderInfo3 *iface, WORD index, WCHAR *type, WORD *type_len, WCHAR *command, WORD *command_len, QWORD *script_time)
Definition: reader.c:1442
static const IWMReaderAcceleratorVtbl WMReaderAcceleratorVtbl
Definition: reader.c:723
Definition: send.c:48
int selection
Definition: ctm.c:92
static HRESULT WINAPI refclock_GetTime(IReferenceClock *iface, REFERENCE_TIME *time)
Definition: reader.c:1649
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
static HRESULT WINAPI WMReaderAdvanced4_GetURL(IWMReaderAdvanced6 *iface, WCHAR *url, DWORD *url_len)
Definition: reader.c:605
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL *allocate)
Definition: reader.c:380
static HRESULT WINAPI playlist_EndPlaylistBurn(IWMReaderPlaylistBurn *iface, HRESULT result)
Definition: reader.c:1332
static HRESULT WINAPI profile3_GetMutualExclusionCount(IWMProfile3 *iface, DWORD *count)
Definition: reader.c:1806
static HRESULT WINAPI headerinfo_RemoveScript(IWMHeaderInfo3 *iface, WORD index)
Definition: reader.c:1458
static HRESULT WINAPI WMReaderAdvanced3_StartAtPosition(IWMReaderAdvanced6 *iface, WORD stream_num, void *offset_start, void *duration, WMT_OFFSET_FORMAT format, float rate, void *context)
Definition: reader.c:539
GLint limit
Definition: glext.h:10326
static HRESULT WINAPI networkconfig_GetEnableResends(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:1059
char * hostname
Definition: ftp.c:88
static HRESULT WINAPI profile3_SetDescription(IWMProfile3 *iface, const WCHAR *description)
Definition: reader.c:1743
static const IReferenceClockVtbl ReferenceClockVtbl
Definition: reader.c:1681
static HRESULT WINAPI networkconfig_SetUDPPortRanges(IWMReaderNetworkConfig2 *iface, WM_PORT_NUMBER_RANGE *array, DWORD ranges)
Definition: reader.c:776
static ULONG WINAPI networkconfig_Release(IWMReaderNetworkConfig2 *iface)
Definition: reader.c:748
static HRESULT WINAPI WMReader_QueryInterface(IWMReader *iface, REFIID riid, void **ppv)
Definition: reader.c:49
static ULONG WINAPI packetsize_Release(IWMPacketSize2 *iface)
Definition: reader.c:1987
static WMReader * impl_from_IWMReaderAdvanced6(IWMReaderAdvanced6 *iface)
Definition: reader.c:255
static HRESULT WINAPI WMSyncReader_SetOutputProps(IWMSyncReader *iface, DWORD output_num, IWMOutputMediaProps *output)
Definition: reader.c:2228
static HRESULT WINAPI timecode_GetTimecodeRangeBounds(IWMReaderTimecode *iface, WORD stream, WORD range, DWORD *start_timecode, DWORD *end_timecode)
Definition: reader.c:1269
static ULONG WINAPI profile3_AddRef(IWMProfile3 *iface)
Definition: reader.c:1703
const GUID * guid
static ULONG WINAPI WMSyncReader_Release(IWMSyncReader *iface)
Definition: reader.c:2106
static HRESULT WINAPI networkconfig_SetProxySettings(IWMReaderNetworkConfig2 *iface, LPCWSTR protocol, WMT_PROXY_SETTINGS proxy)
Definition: reader.c:792
static HRESULT WINAPI WMReaderAdvanced5_SetPlayerHook(IWMReaderAdvanced6 *iface, DWORD output_num, IWMPlayerHook *hook)
Definition: reader.c:612
static ULONG WINAPI negotiation_Release(IWMReaderTypeNegotiation *iface)
Definition: reader.c:1218
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
IWMProfile3 IWMProfile3_iface
Definition: reader.c:39
WINE_DEFAULT_DEBUG_CHANNEL(richedit)
unsigned int BOOL
Definition: ntddk_ex.h:94
static HRESULT WINAPI networkconfig_GetSupportedProtocolName(IWMReaderNetworkConfig2 *iface, DWORD protocol_num, WCHAR *protocol, DWORD *size)
Definition: reader.c:964
static HRESULT WINAPI WMReaderAdvanced2_SetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
Definition: reader.c:488
long LONG
Definition: pedump.c:60
time_t now
Definition: finger.c:65
static HRESULT WINAPI timecode_QueryInterface(IWMReaderTimecode *iface, REFIID riid, void **ppv)
Definition: reader.c:1244
#define debugstr_w
Definition: kernel32.h:32
static HRESULT WINAPI WMReaderAdvanced_GetStatistics(IWMReaderAdvanced6 *iface, WM_READER_STATISTICS *statistics)
Definition: reader.c:387
GLenum GLint ref
Definition: glext.h:6028
#define FIXME(fmt,...)
Definition: debug.h:111
static ULONG WINAPI headerinfo_AddRef(IWMHeaderInfo3 *iface)
Definition: reader.c:1361
r reserved
Definition: btrfs.c:2940
static HRESULT WINAPI langlist_GetLanguageCount(IWMLanguageList *iface, WORD *count)
Definition: reader.c:1593
static HRESULT WINAPI headerinfo_GetAttributeByIndex(IWMHeaderInfo3 *iface, WORD index, WORD *stream_num, WCHAR *name, WORD *name_len, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
Definition: reader.c:1380
IWMReaderTypeNegotiation IWMReaderTypeNegotiation_iface
Definition: reader.c:33
static ULONG WINAPI langlist_AddRef(IWMLanguageList *iface)
Definition: reader.c:1581
static HRESULT WINAPI reader_accl_QueryInterface(IWMReaderAccelerator *iface, REFIID riid, void **object)
Definition: reader.c:687
static WMReader * impl_from_IWMReaderTimecode(IWMReaderTimecode *iface)
Definition: reader.c:1239
static HRESULT WINAPI readclock_KillTimer(IWMReaderStreamClock *iface, DWORD id)
Definition: reader.c:1184
static HRESULT WINAPI headerinfo_GetAttributeByName(IWMHeaderInfo3 *iface, WORD *stream_num, LPCWSTR name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
Definition: reader.c:1389
static HRESULT WINAPI WMSyncReader_SetReadStreamSamples(IWMSyncReader *iface, WORD stream_num, BOOL compressed)
Definition: reader.c:2258
static HRESULT WINAPI networkconfig_SetAcceleratedStreamingDuration(IWMReaderNetworkConfig2 *iface, QWORD duration)
Definition: reader.c:1037
smooth NULL
Definition: ftsmooth.c:416
static const WCHAR version[]
Definition: asmname.c:66
static HRESULT WINAPI WMSyncReader_OpenStream(IWMSyncReader *iface, IStream *stream)
Definition: reader.c:2221
static HRESULT WINAPI WMReaderAdvanced2_GetDownloadProgress(IWMReaderAdvanced6 *iface, DWORD *percent, QWORD *bytes_downloaded, QWORD *download)
Definition: reader.c:443
static HRESULT WINAPI profile3_AddBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing *bandwidth)
Definition: reader.c:1883
static ULONG WINAPI refclock_Release(IReferenceClock *iface)
Definition: reader.c:1643
static HRESULT WINAPI refclock_QueryInterface(IReferenceClock *iface, REFIID riid, void **ppv)
Definition: reader.c:1631
static HRESULT WINAPI profile3_GetStreamCount(IWMProfile3 *iface, DWORD *count)
Definition: reader.c:1750
static HRESULT WINAPI WMReaderAdvanced_SetClientInfo(IWMReaderAdvanced6 *iface, WM_READER_CLIENTINFO *client_info)
Definition: reader.c:394
static BYTE cert[]
Definition: msg.c:1437
IWMReaderTimecode IWMReaderTimecode_iface
Definition: reader.c:34
static HRESULT WINAPI networkconfig_SetProxyBypassForLocal(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, BOOL bypass)
Definition: reader.c:856
GLuint index
Definition: glext.h:6031
static ULONG WINAPI refclock_AddRef(IReferenceClock *iface)
Definition: reader.c:1637
static WMReader * impl_from_IWMReader(IWMReader *iface)
Definition: reader.c:44
static HRESULT WINAPI profile3_SetName(IWMProfile3 *iface, const WCHAR *name)
Definition: reader.c:1729
IWMReaderAdvanced6 IWMReaderAdvanced6_iface
Definition: reader.c:29
static HRESULT WINAPI WMReaderAdvanced2_SetLogClientID(IWMReaderAdvanced6 *iface, BOOL log_client_id)
Definition: reader.c:503
#define debugstr_guid
Definition: kernel32.h:35
static HRESULT WINAPI networkconfig_GetEnableContentCaching(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:1001
static HRESULT WINAPI networkconfig_ResetLoggingUrlList(IWMReaderNetworkConfig2 *iface)
Definition: reader.c:994
static ULONG WINAPI reader_accl_AddRef(IWMReaderAccelerator *iface)
Definition: reader.c:693
static HRESULT WINAPI WMSyncReader_GetOutputFormatCount(IWMSyncReader *iface, DWORD output_num, DWORD *formats)
Definition: reader.c:2164
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
IReferenceClock IReferenceClock_iface
Definition: reader.c:38
static WMReader * impl_from_IWMHeaderInfo3(IWMHeaderInfo3 *iface)
Definition: reader.c:1350
IWMHeaderInfo3 IWMHeaderInfo3_iface
Definition: reader.c:36
static HRESULT WINAPI networkconfig_GetEnableThinning(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:1073
static HRESULT WINAPI WMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL *selection)
Definition: reader.c:306
static HRESULT WINAPI negotiation_QueryInterface(IWMReaderTypeNegotiation *iface, REFIID riid, void **ppv)
Definition: reader.c:1206
static HRESULT WINAPI WMSyncReader_SetOutputSetting(IWMSyncReader *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
Definition: reader.c:2235
int64_t LONGLONG
Definition: typedefs.h:68
static const IWMReaderPlaylistBurnVtbl WMReaderPlaylistBurnVtbl
Definition: reader.c:1339
HANDLE semaphore
Definition: loader.c:2140
static HRESULT WINAPI WMReaderAdvanced4_SendLogParams(IWMReaderAdvanced6 *iface)
Definition: reader.c:584
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL allocate)
Definition: reader.c:359
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
static HRESULT WINAPI WMReaderAdvanced_GetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL *user_clock)
Definition: reader.c:285
static HRESULT WINAPI profile3_RemoveStream(IWMProfile3 *iface, IWMStreamConfig *config)
Definition: reader.c:1771
Definition: msg.h:42
static HRESULT WINAPI refclock_AdvisePeriodic(IReferenceClock *iface, REFERENCE_TIME starttime, REFERENCE_TIME period, HSEMAPHORE semaphore, DWORD_PTR *cookie)
Definition: reader.c:1665
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI playlist_GetInitResults(IWMReaderPlaylistBurn *iface, DWORD count, HRESULT *stat)
Definition: reader.c:1318
GLsizeiptr size
Definition: glext.h:5919
static HRESULT WINAPI profile3_GetExpectedPacketCount(IWMProfile3 *iface, QWORD duration, QWORD *packets)
Definition: reader.c:1925
static HRESULT WINAPI networkconfig_GetEnableFastCache(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:1015
static HRESULT WINAPI WMSyncReader_Open(IWMSyncReader *iface, const WCHAR *filename)
Definition: reader.c:2214
static HRESULT WINAPI networkconfig_GetMaxNetPacketSize(IWMReaderNetworkConfig2 *iface, DWORD *packet_size)
Definition: reader.c:1087
static ULONG WINAPI WMReader_AddRef(IWMReader *iface)
Definition: reader.c:138
DWORD_PTR HSEMAPHORE
Definition: axcore.idl:60
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
__wchar_t WCHAR
Definition: xmlstorage.h:180
static HRESULT WINAPI networkconfig_GetConnectionBandwidth(IWMReaderNetworkConfig2 *iface, DWORD *bandwidth)
Definition: reader.c:943
static HRESULT WINAPI networkconfig_GetEnableHTTP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:894
static HRESULT WINAPI WMReaderAdvanced2_SaveFileAs(IWMReaderAdvanced6 *iface, const WCHAR *filename)
Definition: reader.c:458
LONG HRESULT
Definition: typedefs.h:79
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
static const WCHAR url[]
Definition: encode.c:1432
enum tagWMT_STORAGE_FORMAT WMT_STORAGE_FORMAT
static HRESULT WINAPI WMSyncReader_GetOutputSetting(IWMSyncReader *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
Definition: reader.c:2185
const GUID IID_IUnknown
UINT64 QWORD
Definition: shimdbg.c:104
static HRESULT WINAPI WMReaderAdvanced2_GetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE *mode)
Definition: reader.c:429
static HRESULT WINAPI profile3_GetStream(IWMProfile3 *iface, DWORD index, IWMStreamConfig **config)
Definition: reader.c:1757
static WMReader * impl_from_IWMPacketSize2(IWMPacketSize2 *iface)
Definition: reader.c:1970
GLfloat param
Definition: glext.h:5796
static HRESULT WINAPI reader_accl_Notify(IWMReaderAccelerator *iface, DWORD output, WM_MEDIA_TYPE *subtype)
Definition: reader.c:714
#define WINAPI
Definition: msvc.h:6
static ULONG WINAPI readclock_AddRef(IWMReaderStreamClock *iface)
Definition: reader.c:1158
static HRESULT WINAPI profile3_GetMutualExclusion(IWMProfile3 *iface, DWORD index, IWMMutualExclusion **mutual)
Definition: reader.c:1813
unsigned short WORD
Definition: ntddk_ex.h:93
static HRESULT WINAPI headerinfo_GetAttributeByIndexEx(IWMHeaderInfo3 *iface, WORD stream_num, WORD index, LPWSTR name, WORD *name_len, WMT_ATTR_DATATYPE *type, WORD *lang_index, BYTE *value, DWORD *data_len)
Definition: reader.c:1497
static HRESULT WINAPI WMReaderAdvanced_SetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL user_clock)
Definition: reader.c:278
static HRESULT WINAPI packetsize_SetMaxPacketSize(IWMPacketSize2 *iface, DWORD size)
Definition: reader.c:2000
unsigned long DWORD
Definition: ntddk_ex.h:95
static HRESULT WINAPI headerinfo_GetCodecInfo(IWMHeaderInfo3 *iface, DWORD index, WORD *name_len, WCHAR *name, WORD *description_len, WCHAR *description, WMT_CODEC_INFO_TYPE *codec_type, WORD *codec_info_cnt, BYTE *codec_info)
Definition: reader.c:1472
GLuint GLuint num
Definition: glext.h:9618
static HRESULT WINAPI networkconfig_GetProxyBypassForLocal(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, BOOL *bypass)
Definition: reader.c:848
static HRESULT WINAPI networkconfig_GetLoggingUrl(IWMReaderNetworkConfig2 *iface, DWORD index, WCHAR *url, DWORD *size)
Definition: reader.c:979
static HRESULT WINAPI networkconfig_SetProxyHostName(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, const WCHAR *hostname)
Definition: reader.c:808
IWMSyncReader IWMSyncReader_iface
Definition: reader.c:2067
static HRESULT WINAPI networkconfig_GetLoggingUrlCount(IWMReaderNetworkConfig2 *iface, DWORD *count)
Definition: reader.c:987
static HRESULT WINAPI profile3_RemoveMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion *mutual)
Definition: reader.c:1820
static ULONG WINAPI networkconfig_AddRef(IWMReaderNetworkConfig2 *iface)
Definition: reader.c:742
static HRESULT WINAPI headerinfo_DeleteAttribute(IWMHeaderInfo3 *iface, WORD stream_num, WORD index)
Definition: reader.c:1524
static HRESULT WINAPI headerinfo_GetScriptCount(IWMHeaderInfo3 *iface, WORD *scripts)
Definition: reader.c:1435
static const IWMReaderNetworkConfig2Vtbl WMReaderNetworkConfig2Vtbl
Definition: reader.c:1094
static HRESULT WINAPI networkconfig_GetProxyExceptionList(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WCHAR *exceptions, DWORD *count)
Definition: reader.c:832
GLbitfield flags
Definition: glext.h:7161
static WMReader * impl_from_IWMReaderNetworkConfig2(IWMReaderNetworkConfig2 *iface)
Definition: reader.c:731
static HRESULT WINAPI negotiation_TryOutputProps(IWMReaderTypeNegotiation *iface, DWORD output, IWMOutputMediaProps *props)
Definition: reader.c:1224
static HRESULT WINAPI WMReader_Close(IWMReader *iface)
Definition: reader.c:168
HRESULT WINAPI WMCreateReaderPriv(IWMReader **ret_reader)
Definition: reader.c:2061
void sync()
Definition: prep.c:9
static HRESULT WINAPI profile3_AddMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion *mutual)
Definition: reader.c:1827
static const IWMReaderStreamClockVtbl WMReaderStreamClockVtbl
Definition: reader.c:1191
#define InterlockedDecrement
Definition: armddk.h:52
Definition: parse.h:22
static HRESULT WINAPI reader_accl_GetCodecInterface(IWMReaderAccelerator *iface, DWORD output, REFIID riid, void **codec)
Definition: reader.c:705
static HRESULT WINAPI WMReaderAdvanced4_CancelSaveFileAs(IWMReaderAdvanced6 *iface)
Definition: reader.c:598
static HRESULT WINAPI WMSyncReader_GetReadStreamSamples(IWMSyncReader *iface, WORD stream_num, BOOL *compressed)
Definition: reader.c:2193
Definition: stat.h:55
static HRESULT WINAPI networkconfig_GetAcceleratedStreamingDuration(IWMReaderNetworkConfig2 *iface, QWORD *duration)
Definition: reader.c:1029
static HRESULT WINAPI langlist_GetLanguageDetails(IWMLanguageList *iface, WORD index, WCHAR *language, WORD *length)
Definition: reader.c:1600
static HRESULT WINAPI WMReaderAdvanced_GetMaxOutputSampleSize(IWMReaderAdvanced6 *iface, DWORD output, DWORD *max)
Definition: reader.c:401
static HRESULT WINAPI WMReaderAdvanced_NotifyLateDelivery(IWMReaderAdvanced6 *iface, QWORD lateness)
Definition: reader.c:415
static HRESULT WINAPI networkconfig_GetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2 *iface, BOOL *detection)
Definition: reader.c:864
static HRESULT WINAPI networkconfig_SetEnableContentCaching(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:1008
struct _cl_event * event
Definition: glext.h:7739
static HRESULT WINAPI WMReaderAdvanced_GetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL *get_callbacks)
Definition: reader.c:336
uint32_t DWORD_PTR
Definition: typedefs.h:65
static HRESULT WINAPI networkconfig_GetProxySettings(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WMT_PROXY_SETTINGS *proxy)
Definition: reader.c:784
GLenum mode
Definition: glext.h:6217
unsigned char BYTE
Definition: xxhash.c:193
static HRESULT WINAPI WMSyncReader_GetMaxOutputSampleSize(IWMSyncReader *iface, DWORD output, DWORD *max)
Definition: reader.c:2126
static HRESULT WINAPI headerinfo_GetCodecInfoCount(IWMHeaderInfo3 *iface, DWORD *codec_infos)
Definition: reader.c:1465
static HRESULT WINAPI WMReaderAdvanced4_CanSaveFileAs(IWMReaderAdvanced6 *iface, BOOL *can_save)
Definition: reader.c:591
static HRESULT WINAPI WMReader_GetOutputFormat(IWMReader *iface, DWORD output_num, DWORD format_num, IWMOutputMediaProps **props)
Definition: reader.c:203
GLenum GLint * range
Definition: glext.h:7539
static WMReader * impl_from_IWMReaderTypeNegotiation(IWMReaderTypeNegotiation *iface)
Definition: reader.c:1201
static HRESULT WINAPI networkconfig_SetConnectionBandwidth(IWMReaderNetworkConfig2 *iface, DWORD bandwidth)
Definition: reader.c:950
WMT_STREAM_SELECTION
Definition: wmsdkidl.idl:152
static HRESULT WINAPI WMReaderAdvanced2_GetBufferProgress(IWMReaderAdvanced6 *iface, DWORD *percent, QWORD *buffering)
Definition: reader.c:436
static const IWMHeaderInfo3Vtbl WMHeaderInfo3Vtbl
Definition: reader.c:1541
static HRESULT WINAPI networkconfig_SetEnableThinning(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:1080
static HRESULT WINAPI profile3_CreateNewStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization **stream)
Definition: reader.c:1918
static HRESULT WINAPI WMSyncReader_Close(IWMSyncReader *iface)
Definition: reader.c:2119
static HRESULT WINAPI playlist_QueryInterface(IWMReaderPlaylistBurn *iface, REFIID riid, void **ppv)
Definition: reader.c:1292
static HRESULT WINAPI profile3_QueryInterface(IWMProfile3 *iface, REFIID riid, void **ppv)
Definition: reader.c:1697
static HRESULT WINAPI networkconfig_AddLoggingUrl(IWMReaderNetworkConfig2 *iface, const WCHAR *url)
Definition: reader.c:972
static HRESULT WINAPI langlist_QueryInterface(IWMLanguageList *iface, REFIID riid, void **ppv)
Definition: reader.c:1575
static HRESULT WINAPI WMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced6 *iface, WORD stream_num, WMT_STREAM_SELECTION *selection)
Definition: reader.c:321
#define S_OK
Definition: intsafe.h:51
static HRESULT WINAPI networkconfig_QueryInterface(IWMReaderNetworkConfig2 *iface, REFIID riid, void **ppv)
Definition: reader.c:736
static HRESULT WINAPI WMReaderAdvanced4_GetLanguage(IWMReaderAdvanced6 *iface, DWORD output_num, WORD language, WCHAR *language_string, WORD *language_string_len)
Definition: reader.c:554
GLboolean enable
Definition: glext.h:11120
static HRESULT WINAPI networkconfig_GetProxyPort(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, DWORD *port)
Definition: reader.c:816
#define InterlockedIncrement
Definition: armddk.h:53
static HRESULT WINAPI profile3_SetStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization *stream)
Definition: reader.c:1904
static HRESULT WINAPI networkconfig_GetNumProtocolsSupported(IWMReaderNetworkConfig2 *iface, DWORD *protocols)
Definition: reader.c:957
static HRESULT WINAPI profile3_ReconfigStream(IWMProfile3 *iface, IWMStreamConfig *config)
Definition: reader.c:1792
static HRESULT WINAPI networkconfig_GetProxyHostName(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WCHAR *hostname, DWORD *size)
Definition: reader.c:800
static HRESULT WINAPI headerinfo_AddCodecInfo(IWMHeaderInfo3 *iface, LPCWSTR_WMSDK_TYPE_SAFE name, LPCWSTR_WMSDK_TYPE_SAFE description, WMT_CODEC_INFO_TYPE codec_type, WORD codec_info_cnt, BYTE *codec_info)
Definition: reader.c:1531
static HRESULT WINAPI WMReaderAdvanced_GetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num, BOOL *receive_stream_samples)
Definition: reader.c:351
static HRESULT WINAPI WMReaderAdvanced4_AddLogParam(IWMReaderAdvanced6 *iface, const WCHAR *namespace, const WCHAR *name, const WCHAR *value)
Definition: reader.c:576
static HRESULT WINAPI WMReaderAdvanced_GetMaxStreamSampleSize(IWMReaderAdvanced6 *iface, WORD stream, DWORD *max)
Definition: reader.c:408
static HRESULT WINAPI profile3_CreateNewMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion **mutual)
Definition: reader.c:1834
struct protocol * protocols
Definition: dispatch.c:52
static HRESULT WINAPI profile3_GetProfileID(IWMProfile3 *iface, GUID *guid)
Definition: reader.c:1841
GLuint start
Definition: gl.h:1545
enum tagWMT_OFFSET_FORMAT WMT_OFFSET_FORMAT
IWMReaderStreamClock IWMReaderStreamClock_iface
Definition: reader.c:32
static HRESULT WINAPI profile3_GetStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization **stream)
Definition: reader.c:1897
static HRESULT WINAPI profile3_GetDescription(IWMProfile3 *iface, WCHAR *description, DWORD *length)
Definition: reader.c:1736
static HRESULT WINAPI WMSyncReader_GetStreamNumberForOutput(IWMSyncReader *iface, DWORD output, WORD *stream_num)
Definition: reader.c:2200
#define E_NOTIMPL
Definition: ddrawi.h:99
static HRESULT WINAPI readclock_QueryInterface(IWMReaderStreamClock *iface, REFIID riid, void **ppv)
Definition: reader.c:1152
IWMReaderAccelerator IWMReaderAccelerator_iface
Definition: reader.c:30
Definition: cookie.c:33
static HRESULT WINAPI profile3_AddStream(IWMProfile3 *iface, IWMStreamConfig *config)
Definition: reader.c:1785
static HRESULT WINAPI profile3_CreateNewBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing **bandwidth)
Definition: reader.c:1890
static HRESULT WINAPI networkconfig_SetEnableTCP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: reader.c:929
static HRESULT WINAPI profile3_CreateNewStream(IWMProfile3 *iface, REFGUID type, IWMStreamConfig **config)
Definition: reader.c:1799
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4112
static WMReader * impl_from_IReferenceClock(IReferenceClock *iface)
Definition: reader.c:1626
static HRESULT WINAPI readclock_GetTime(IWMReaderStreamClock *iface, QWORD *now)
Definition: reader.c:1170
WMT_ATTR_DATATYPE
Definition: wmsdkidl.idl:84
static ULONG WINAPI playlist_Release(IWMReaderPlaylistBurn *iface)
Definition: reader.c:1304
static HRESULT WINAPI networkconfig_GetEnableUDP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: reader.c:908
static HRESULT WINAPI refclock_AdviseTime(IReferenceClock *iface, REFERENCE_TIME basetime, REFERENCE_TIME streamtime, HEVENT event, DWORD_PTR *cookie)
Definition: reader.c:1656
static HRESULT WINAPI WMReaderAdvanced2_GetProtocolName(IWMReaderAdvanced6 *iface, WCHAR *protocol, DWORD *protocol_len)
Definition: reader.c:465
Definition: reader.h:83
LONG ref
Definition: reader.c:2068
static HRESULT WINAPI profile3_GetBandwidthSharing(IWMProfile3 *iface, DWORD index, IWMBandwidthSharing **bandwidth)
Definition: reader.c:1869
static HRESULT WINAPI WMReaderAdvanced4_GetMaxSpeedFactor(IWMReaderAdvanced6 *iface, double *factor)
Definition: reader.c:562
WMT_PLAY_MODE
Definition: wmsdkidl.idl:167
static const IWMLanguageListVtbl WMLanguageListVtbl
Definition: reader.c:1616
static const IWMSyncReaderVtbl WMSyncReaderVtbl
Definition: reader.c:2273
IWMLanguageList IWMLanguageList_iface
Definition: reader.c:37
static HRESULT WINAPI WMSyncReader_GetNextSample(IWMSyncReader *iface, WORD stream, INSSBuffer **sample, QWORD *sample_time, QWORD *sample_duration, DWORD *flags, DWORD *output_num, WORD *stream_num)
Definition: reader.c:2140
static HRESULT WINAPI playlist_Cancel(IWMReaderPlaylistBurn *iface)
Definition: reader.c:1325
static HRESULT WINAPI networkconfig_ResetProtocolRollover(IWMReaderNetworkConfig2 *iface)
Definition: reader.c:936
Definition: name.c:38
static HRESULT WINAPI networkconfig_SetAutoReconnectLimit(IWMReaderNetworkConfig2 *iface, DWORD limit)
Definition: reader.c:1052
static const WCHAR props[]
Definition: wbemdisp.c:288
static HRESULT WINAPI WMReaderAdvanced2_Preroll(IWMReaderAdvanced6 *iface, QWORD start, QWORD duration, float rate)
Definition: reader.c:496
static HRESULT WINAPI WMReader_Resume(IWMReader *iface)
Definition: reader.c:231
static ULONG WINAPI packetsize_AddRef(IWMPacketSize2 *iface)
Definition: reader.c:1981
unsigned int ULONG
Definition: retypes.h:1
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
Definition: compat.h:49
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL *allocate)
Definition: reader.c:366
static ULONG WINAPI headerinfo_Release(IWMHeaderInfo3 *iface)
Definition: reader.c:1367
static HRESULT WINAPI WMSyncReader_GetStreamSelected(IWMSyncReader *iface, WORD stream_num, WMT_STREAM_SELECTION *selection)
Definition: reader.c:2207
static ULONG WINAPI WMReaderAdvanced_AddRef(IWMReaderAdvanced6 *iface)
Definition: reader.c:266
static HRESULT WINAPI WMReaderAdvanced2_OpenStream(IWMReaderAdvanced6 *iface, IStream *stream, IWMReaderCallback *callback, void *context)
Definition: reader.c:524
static HRESULT WINAPI profile3_GetBandwidthSharingCount(IWMProfile3 *iface, DWORD *count)
Definition: reader.c:1862
static HRESULT WINAPI WMReaderAdvanced_SetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL selection)
Definition: reader.c:299
LONG ref
Definition: reader.c:41
static const IWMReaderAdvanced6Vtbl WMReaderAdvanced6Vtbl
Definition: reader.c:628
static HRESULT WINAPI headerinfo_GetAttributeIndices(IWMHeaderInfo3 *iface, WORD stream_num, LPCWSTR name, WORD *lang_index, WORD *indices, WORD *count)
Definition: reader.c:1489
static HRESULT WINAPI WMReader_GetOutputCount(IWMReader *iface, DWORD *outputs)
Definition: reader.c:175
static HRESULT WINAPI headerinfo_AddScript(IWMHeaderInfo3 *iface, LPCWSTR_WMSDK_TYPE_SAFE type, LPCWSTR_WMSDK_TYPE_SAFE command, QWORD script_time)
Definition: reader.c:1450
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE
Definition: wmsdkidl.idl:228
static HRESULT WINAPI profile3_GetVersion(IWMProfile3 *iface, WMT_VERSION *version)
Definition: reader.c:1715
static HRESULT WINAPI headerinfo_GetMarker(IWMHeaderInfo3 *iface, WORD index, WCHAR *marker_name, WORD *marker_len, QWORD *marker_time)
Definition: reader.c:1412
static HRESULT WINAPI langlist_AddLanguageByRFC1766String(IWMLanguageList *iface, LPCWSTR_WMSDK_TYPE_SAFE language, WORD *index)
Definition: reader.c:1608
static HRESULT WINAPI networkconfig_GetEnableMulticast(IWMReaderNetworkConfig2 *iface, BOOL *multicast)
Definition: reader.c:880
static HRESULT WINAPI headerinfo_SetAttribute(IWMHeaderInfo3 *iface, WORD stream_num, LPCWSTR name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
Definition: reader.c:1397
static ULONG WINAPI timecode_Release(IWMReaderTimecode *iface)
Definition: reader.c:1256
USHORT port
Definition: uri.c:228
GLuint64EXT * result
Definition: glext.h:11304
static HRESULT WINAPI headerinfo_RemoveMarker(IWMHeaderInfo3 *iface, WORD index)
Definition: reader.c:1428
static HRESULT WINAPI headerinfo_AddAttribute(IWMHeaderInfo3 *iface, WORD stream_num, LPCWSTR name, WORD *index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
Definition: reader.c:1515
IWMReaderPlaylistBurn IWMReaderPlaylistBurn_iface
Definition: reader.c:35
static HRESULT WINAPI playlist_InitPlaylistBurn(IWMReaderPlaylistBurn *iface, DWORD count, LPCWSTR_WMSDK_TYPE_SAFE *filenames, IWMStatusCallback *callback, void *context)
Definition: reader.c:1310
static HRESULT WINAPI packetsize_SetMinPacketSize(IWMPacketSize2 *iface, DWORD size)
Definition: reader.c:2014
static HRESULT WINAPI WMSyncReader_GetOutputCount(IWMSyncReader *iface, DWORD *outputs)
Definition: reader.c:2149
static HRESULT WINAPI WMReaderAdvanced3_StopNetStreaming(IWMReaderAdvanced6 *iface)
Definition: reader.c:532
static HRESULT WINAPI WMReaderAdvanced2_SetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE mode)
Definition: reader.c:422
static HRESULT WINAPI WMReaderAdvanced2_StartAtMarker(IWMReaderAdvanced6 *iface, WORD marker_index, QWORD duration, float rate, void *context)
Definition: reader.c:472
static HRESULT WINAPI WMReader_GetOutputFormatCount(IWMReader *iface, DWORD output_num, DWORD *formats)
Definition: reader.c:196
static const IWMPacketSize2Vtbl WMPacketSize2Vtbl
Definition: reader.c:2021
static HRESULT WINAPI WMSyncReader_GetMaxStreamSampleSize(IWMSyncReader *iface, WORD stream, DWORD *max)
Definition: reader.c:2133
static HRESULT WINAPI profile3_RemoveBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing *bandwidth)
Definition: reader.c:1876
static ULONG WINAPI playlist_AddRef(IWMReaderPlaylistBurn *iface)
Definition: reader.c:1298
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
static HRESULT WINAPI headerinfo_GetAttributeCount(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
Definition: reader.c:1373
DWORD_PTR HEVENT
Definition: axcore.idl:61
static HRESULT WINAPI readclock_SetTimer(IWMReaderStreamClock *iface, QWORD when, void *param, DWORD *id)
Definition: reader.c:1177