ReactOS  0.4.14-dev-57-g333b8f1
wmvcore_main.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 "initguid.h"
22 #include "wmsdk.h"
23 #include "wine/debug.h"
24 #include "wine/heap.h"
25 
27 
29 {
30  TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
31 
32  switch (fdwReason)
33  {
34  case DLL_WINE_PREATTACH:
35  return FALSE; /* prefer native version */
36  case DLL_PROCESS_ATTACH:
37  DisableThreadLibraryCalls(hinstDLL);
38  break;
39  }
40 
41  return TRUE;
42 }
43 
45 {
46  FIXME("(): stub\n");
47 
48  return S_OK;
49 }
50 
52 {
53  FIXME("(%s): stub\n", wine_dbgstr_w(scheme));
54 
55  return NS_E_INVALID_NAME;
56 }
57 
59 {
60  FIXME("(%p): stub\n", editor);
61 
62  *editor = NULL;
63 
64  return E_NOTIMPL;
65 }
66 
67 typedef struct {
82 } WMReader;
83 
84 static inline WMReader *impl_from_IWMReader(IWMReader *iface)
85 {
86  return CONTAINING_RECORD(iface, WMReader, IWMReader_iface);
87 }
88 
90 {
92 
94  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
95  *ppv = &This->IWMReader_iface;
96  }else if(IsEqualGUID(riid, &IID_IWMReader)) {
97  TRACE("(%p)->(IID_IWMReader %p)\n", This, ppv);
98  *ppv = &This->IWMReader_iface;
99  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced)) {
100  TRACE("(%p)->(IID_IWMReaderAdvanced %p)\n", This, ppv);
101  *ppv = &This->IWMReaderAdvanced6_iface;
102  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced2)) {
103  TRACE("(%p)->(IID_IWMReaderAdvanced2 %p)\n", This, ppv);
104  *ppv = &This->IWMReaderAdvanced6_iface;
105  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced3)) {
106  TRACE("(%p)->(IID_IWMReaderAdvanced3 %p)\n", This, ppv);
107  *ppv = &This->IWMReaderAdvanced6_iface;
108  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced4)) {
109  TRACE("(%p)->(IID_IWMReaderAdvanced4 %p)\n", This, ppv);
110  *ppv = &This->IWMReaderAdvanced6_iface;
111  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced5)) {
112  TRACE("(%p)->(IID_IWMReaderAdvanced5 %p)\n", This, ppv);
113  *ppv = &This->IWMReaderAdvanced6_iface;
114  }else if(IsEqualGUID(riid, &IID_IWMReaderAdvanced6)) {
115  TRACE("(%p)->(IID_IWMReaderAdvanced6 %p)\n", This, ppv);
116  *ppv = &This->IWMReaderAdvanced6_iface;
117  }else if(IsEqualGUID(riid, &IID_IWMReaderAccelerator)) {
118  TRACE("(%p)->(IID_IWMReaderAccelerator %p)\n", This, ppv);
119  *ppv = &This->IWMReaderAccelerator_iface;
120  }else if(IsEqualGUID(riid, &IID_IWMReaderNetworkConfig)) {
121  TRACE("(%p)->(IWMReaderNetworkConfig %p)\n", This, ppv);
122  *ppv = &This->IWMReaderNetworkConfig2_iface;
123  }else if(IsEqualGUID(riid, &IID_IWMReaderNetworkConfig2)) {
124  TRACE("(%p)->(IWMReaderNetworkConfig2 %p)\n", This, ppv);
125  *ppv = &This->IWMReaderNetworkConfig2_iface;
126  }else if(IsEqualGUID(riid, &IID_IWMReaderStreamClock)) {
127  TRACE("(%p)->(IWMReaderStreamClock %p)\n", This, ppv);
128  *ppv = &This->IWMReaderStreamClock_iface;
129  }else if(IsEqualGUID(riid, &IID_IWMReaderTypeNegotiation)) {
130  TRACE("(%p)->(IWMReaderTypeNegotiation %p)\n", This, ppv);
131  *ppv = &This->IWMReaderTypeNegotiation_iface;
132  }else if(IsEqualGUID(riid, &IID_IWMReaderTimecode)) {
133  TRACE("(%p)->(IWMReaderTimecode %p)\n", This, ppv);
134  *ppv = &This->IWMReaderTimecode_iface;
135  }else if(IsEqualGUID(riid, &IID_IWMReaderPlaylistBurn)) {
136  TRACE("(%p)->(IWMReaderPlaylistBurn %p)\n", This, ppv);
137  *ppv = &This->IWMReaderPlaylistBurn_iface;
138  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo)) {
139  TRACE("(%p)->(IWMHeaderInfo %p)\n", This, ppv);
140  *ppv = &This->IWMHeaderInfo3_iface;
141  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo2)) {
142  TRACE("(%p)->(IWMHeaderInfo2 %p)\n", This, ppv);
143  *ppv = &This->IWMHeaderInfo3_iface;
144  }else if(IsEqualGUID(riid, &IID_IWMHeaderInfo3)) {
145  TRACE("(%p)->(IWMHeaderInfo3 %p)\n", This, ppv);
146  *ppv = &This->IWMHeaderInfo3_iface;
147  }else if(IsEqualGUID(riid, &IID_IWMLanguageList)) {
148  TRACE("(%p)->(IWMLanguageList %p)\n", This, ppv);
149  *ppv = &This->IWMLanguageList_iface;
150  }else if(IsEqualGUID(riid, &IID_IReferenceClock)) {
151  TRACE("(%p)->(IWMLanguageList %p)\n", This, ppv);
152  *ppv = &This->IReferenceClock_iface;
153  }else if(IsEqualGUID(riid, &IID_IWMProfile)) {
154  TRACE("(%p)->(IWMProfile %p)\n", This, ppv);
155  *ppv = &This->IWMProfile3_iface;
156  }else if(IsEqualGUID(riid, &IID_IWMProfile2)) {
157  TRACE("(%p)->(IWMProfile2 %p)\n", This, ppv);
158  *ppv = &This->IWMProfile3_iface;
159  }else if(IsEqualGUID(riid, &IID_IWMProfile3)) {
160  TRACE("(%p)->(IWMProfile3 %p)\n", This, ppv);
161  *ppv = &This->IWMProfile3_iface;
162  }else if(IsEqualGUID(riid, &IID_IWMPacketSize)) {
163  TRACE("(%p)->(IWMPacketSize %p)\n", This, ppv);
164  *ppv = &This->IWMPacketSize2_iface;
165  }else if(IsEqualGUID(riid, &IID_IWMPacketSize2)) {
166  TRACE("(%p)->(IWMPacketSize2 %p)\n", This, ppv);
167  *ppv = &This->IWMPacketSize2_iface;
168  }else {
169  *ppv = NULL;
170  FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
171  return E_NOINTERFACE;
172  }
173 
174  IUnknown_AddRef((IUnknown*)*ppv);
175  return S_OK;
176 }
177 
179 {
182 
183  TRACE("(%p) ref=%d\n", This, ref);
184 
185  return ref;
186 }
187 
189 {
192 
193  TRACE("(%p) ref=%d\n", This, ref);
194 
195  if(!ref)
196  heap_free(This);
197 
198  return ref;
199 }
200 
202 {
204  FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(url), callback, context);
205  return E_NOTIMPL;
206 }
207 
209 {
211  FIXME("(%p)\n", This);
212  return E_NOTIMPL;
213 }
214 
216 {
218  FIXME("(%p)->(%p)\n", This, outputs);
219  return E_NOTIMPL;
220 }
221 
223 {
225  FIXME("(%p)->(%u %p)\n", This, output_num, output);
226  return E_NOTIMPL;
227 }
228 
230 {
232  FIXME("(%p)->(%u %p)\n", This, output_num, output);
233  return E_NOTIMPL;
234 }
235 
237 {
239  FIXME("(%p)->(%u %p)\n", This, output_num, formats);
240  return E_NOTIMPL;
241 }
242 
244 {
246  FIXME("(%p)->(%u %u %p)\n", This, output_num, format_num, props);
247  return E_NOTIMPL;
248 }
249 
250 static HRESULT WINAPI WMReader_Start(IWMReader *iface, QWORD start, QWORD duration, float rate, void *context)
251 {
253  FIXME("(%p)->(%s %s %f %p)\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration), rate, context);
254  return E_NOTIMPL;
255 }
256 
258 {
260  FIXME("(%p)\n", This);
261  return E_NOTIMPL;
262 }
263 
265 {
267  FIXME("(%p)\n", This);
268  return E_NOTIMPL;
269 }
270 
272 {
274  FIXME("(%p)\n", This);
275  return E_NOTIMPL;
276 }
277 
278 static const IWMReaderVtbl WMReaderVtbl = {
293 };
294 
296 {
297  return CONTAINING_RECORD(iface, WMReader, IWMReaderAdvanced6_iface);
298 }
299 
301 {
303  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
304 }
305 
307 {
309  return IWMReader_AddRef(&This->IWMReader_iface);
310 }
311 
313 {
315  return IWMReader_Release(&This->IWMReader_iface);
316 }
317 
319 {
321  FIXME("(%p)->(%x)\n", This, user_clock);
322  return E_NOTIMPL;
323 }
324 
326 {
328  FIXME("(%p)->(%p)\n", This, user_clock);
329  return E_NOTIMPL;
330 }
331 
333 {
335  FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(time));
336  return E_NOTIMPL;
337 }
338 
340 {
342  FIXME("(%p)->(%x)\n", This, selection);
343  return E_NOTIMPL;
344 }
345 
347 {
349  FIXME("(%p)->(%p)\n", This, selection);
350  return E_NOTIMPL;
351 }
352 
354  WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
355 {
357  FIXME("(%p)->(%d %p %p)\n", This, stream_count, stream_numbers, selections);
358  return E_NOTIMPL;
359 }
360 
363 {
365  FIXME("(%p)->(%d %p)\n", This, stream_num, selection);
366  return E_NOTIMPL;
367 }
368 
370 {
372  FIXME("(%p)->(%x)\n", This, get_callbacks);
373  return E_NOTIMPL;
374 }
375 
377 {
379  FIXME("(%p)->(%p)\n", This, get_callbacks);
380  return E_NOTIMPL;
381 }
382 
384  BOOL receive_stream_samples)
385 {
387  FIXME("(%p)->(%d %x)\n", This, stream_num, receive_stream_samples);
388  return E_NOTIMPL;
389 }
390 
392  BOOL *receive_stream_samples)
393 {
395  FIXME("(%p)->(%d %p)\n", This, stream_num, receive_stream_samples);
396  return E_NOTIMPL;
397 }
398 
400 {
402  FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
403  return E_NOTIMPL;
404 }
405 
407 {
409  FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
410  return E_NOTIMPL;
411 }
412 
414 {
416  FIXME("(%p)->(%d %x)\n", This, output_num, allocate);
417  return E_NOTIMPL;
418 }
419 
421 {
423  FIXME("(%p)->(%d %p)\n", This, output_num, allocate);
424  return E_NOTIMPL;
425 }
426 
428 {
430  FIXME("(%p)->(%p)\n", This, statistics);
431  return E_NOTIMPL;
432 }
433 
435 {
437  FIXME("(%p)->(%p)\n", This, client_info);
438  return E_NOTIMPL;
439 }
440 
442 {
444  FIXME("(%p)->(%d %p)\n", This, output, max);
445  return E_NOTIMPL;
446 }
447 
449 {
451  FIXME("(%p)->(%d %p)\n", This, stream, max);
452  return E_NOTIMPL;
453 }
454 
456 {
458  FIXME("(%p)->(%s)\n", This, wine_dbgstr_longlong(lateness));
459  return E_NOTIMPL;
460 }
461 
463 {
465  FIXME("(%p)->(%d)\n", This, mode);
466  return E_NOTIMPL;
467 }
468 
470 {
472  FIXME("(%p)->(%p)\n", This, mode);
473  return E_NOTIMPL;
474 }
475 
477 {
479  FIXME("(%p)->(%p %p)\n", This, percent, buffering);
480  return E_NOTIMPL;
481 }
482 
484  QWORD *bytes_downloaded, QWORD *download)
485 {
487  FIXME("(%p)->(%p %p %p)\n", This, percent, bytes_downloaded, download);
488  return E_NOTIMPL;
489 }
490 
492 {
494  FIXME("(%p)->(%p)\n", This, percent);
495  return E_NOTIMPL;
496 }
497 
499 {
501  FIXME("(%p)->(%s)\n", This, debugstr_w(filename));
502  return E_NOTIMPL;
503 }
504 
506 {
508  FIXME("(%p)->(%p %p)\n", This, protocol, protocol_len);
509  return E_NOTIMPL;
510 }
511 
513  QWORD duration, float rate, void *context)
514 {
516  FIXME("(%p)->(%d %s %f %p)\n", This, marker_index, wine_dbgstr_longlong(duration), rate, context);
517  return E_NOTIMPL;
518 }
519 
522 {
524  FIXME("(%p)->(%d %s %p %p %p)\n", This, output_num, debugstr_w(name), type, value, length);
525  return E_NOTIMPL;
526 }
527 
530 {
532  FIXME("(%p)->(%d %s %d %p %d)\n", This, output_num, debugstr_w(name), type, value, length);
533  return E_NOTIMPL;
534 }
535 
537 {
539  FIXME("(%p)->(%s %s %f)\n", This, wine_dbgstr_longlong(start), wine_dbgstr_longlong(duration), rate);
540  return E_NOTIMPL;
541 }
542 
544 {
546  FIXME("(%p)->(%x)\n", This, log_client_id);
547  return E_NOTIMPL;
548 }
549 
551 {
553  FIXME("(%p)->(%p)\n", This, log_client_id);
554  return E_NOTIMPL;
555 }
556 
558 {
560  FIXME("(%p)\n", This);
561  return E_NOTIMPL;
562 }
563 
566 {
568  FIXME("(%p)->(%p %p %p)\n", This, stream, callback, context);
569  return E_NOTIMPL;
570 }
571 
573 {
575  FIXME("(%p)\n", This);
576  return E_NOTIMPL;
577 }
578 
580  void *offset_start, void *duration, WMT_OFFSET_FORMAT format, float rate, void *context)
581 {
583  FIXME("(%p)->(%d %p %p %d %f %p)\n", This, stream_num, offset_start, duration, format, rate, context);
584  return E_NOTIMPL;
585 }
586 
588 {
590  FIXME("(%p)->(%d %p)\n", This, output_num, language_count);
591  return E_NOTIMPL;
592 }
593 
595  WORD language, WCHAR *language_string, WORD *language_string_len)
596 {
598  FIXME("(%p)->(%d %x %p %p)\n", This, output_num, language, language_string, language_string_len);
599  return E_NOTIMPL;
600 }
601 
603 {
605  FIXME("(%p)->(%p)\n", This, factor);
606  return E_NOTIMPL;
607 }
608 
610 {
612  FIXME("(%p)->(%p)\n", This, using_fast_cache);
613  return E_NOTIMPL;
614 }
615 
617  const WCHAR *name, const WCHAR *value)
618 {
620  FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(namespace), debugstr_w(name), debugstr_w(value));
621  return E_NOTIMPL;
622 }
623 
625 {
627  FIXME("(%p)\n", This);
628  return E_NOTIMPL;
629 }
630 
632 {
634  FIXME("(%p)->(%p)\n", This, can_save);
635  return E_NOTIMPL;
636 }
637 
639 {
641  FIXME("(%p)\n", This);
642  return E_NOTIMPL;
643 }
644 
646 {
648  FIXME("(%p)->(%p %p)\n", This, url, url_len);
649  return E_NOTIMPL;
650 }
651 
653 {
655  FIXME("(%p)->(%d %p)\n", This, output_num, hook);
656  return E_NOTIMPL;
657 }
658 
660  DWORD cert_size, DWORD cert_type, DWORD flags, BYTE *initialization_vector, DWORD *initialization_vector_size)
661 {
663  FIXME("(%p)->(%p %d %d %x %p %p)\n", This, cert, cert_size, cert_type, flags, initialization_vector,
664  initialization_vector_size);
665  return E_NOTIMPL;
666 }
667 
668 static const IWMReaderAdvanced6Vtbl WMReaderAdvanced6Vtbl = {
720 };
721 
723 {
724  return CONTAINING_RECORD(iface, WMReader, IWMReaderAccelerator_iface);
725 }
726 
728 {
730  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, object);
731 }
732 
734 {
736  return IWMReader_AddRef(&This->IWMReader_iface);
737 }
738 
740 {
742  return IWMReader_Release(&This->IWMReader_iface);
743 }
744 
746 {
748 
749  FIXME("%p, %d, %s, %p\n", This, output, debugstr_guid(riid), codec);
750 
751  return E_NOTIMPL;
752 }
753 
755 {
757 
758  FIXME("%p, %d, %p\n", This, output, subtype);
759 
760  return E_NOTIMPL;
761 }
762 
763 static const IWMReaderAcceleratorVtbl WMReaderAcceleratorVtbl = {
769 };
770 
772 {
773  return CONTAINING_RECORD(iface, WMReader, IWMReaderNetworkConfig2_iface);
774 }
775 
777 {
779  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
780 }
781 
783 {
785  return IWMReader_AddRef(&This->IWMReader_iface);
786 }
787 
789 {
791  return IWMReader_Release(&This->IWMReader_iface);
792 }
793 
795 {
797  FIXME("%p, %p\n", This, buffering_time);
798  return E_NOTIMPL;
799 }
800 
802 {
804  FIXME("%p, %s\n", This, wine_dbgstr_longlong(buffering_time));
805  return E_NOTIMPL;
806 }
807 
809  DWORD *ranges)
810 {
812  FIXME("%p, %p, %p\n", This, array, ranges);
813  return E_NOTIMPL;
814 }
815 
817  DWORD ranges)
818 {
820  FIXME("%p, %p, %u\n", This, array, ranges);
821  return E_NOTIMPL;
822 }
823 
826 {
828  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), proxy);
829  return E_NOTIMPL;
830 }
831 
834 {
836  FIXME("%p, %s, %d\n", This, debugstr_w(protocol), proxy);
837  return E_NOTIMPL;
838 }
839 
842 {
844  FIXME("%p, %s, %p, %p\n", This, debugstr_w(protocol), hostname, size);
845  return E_NOTIMPL;
846 }
847 
849  const WCHAR *hostname)
850 {
852  FIXME("%p, %s, %s\n", This, debugstr_w(protocol), debugstr_w(hostname));
853  return E_NOTIMPL;
854 }
855 
857  DWORD *port)
858 {
860  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), port);
861  return E_NOTIMPL;
862 }
863 
865  DWORD port)
866 {
868  FIXME("%p, %s, %u\n", This, debugstr_w(protocol), port);
869  return E_NOTIMPL;
870 }
871 
873  WCHAR *exceptions, DWORD *count)
874 {
876  FIXME("%p, %s, %p, %p\n", This, debugstr_w(protocol), exceptions, count);
877  return E_NOTIMPL;
878 }
879 
881  const WCHAR *exceptions)
882 {
884  FIXME("%p, %s, %s\n", This, debugstr_w(protocol), debugstr_w(exceptions));
885  return E_NOTIMPL;
886 }
887 
889  BOOL *bypass)
890 {
892  FIXME("%p, %s, %p\n", This, debugstr_w(protocol), bypass);
893  return E_NOTIMPL;
894 }
895 
897  BOOL bypass)
898 {
900  FIXME("%p, %s, %d\n", This, debugstr_w(protocol), bypass);
901  return E_NOTIMPL;
902 }
903 
905  BOOL *detection)
906 {
908  FIXME("%p, %p\n", This, detection);
909  return E_NOTIMPL;
910 }
911 
913  BOOL detection)
914 {
916  FIXME("%p, %d\n", This, detection);
917  return E_NOTIMPL;
918 }
919 
921 {
923  FIXME("%p, %p\n", This, multicast);
924  return E_NOTIMPL;
925 }
926 
928 {
930  FIXME("%p, %d\n", This, multicast);
931  return E_NOTIMPL;
932 }
933 
935 {
937  FIXME("%p, %p\n", This, enable);
938  return E_NOTIMPL;
939 }
940 
942 {
944  FIXME("%p, %d\n", This, enable);
945  return E_NOTIMPL;
946 }
947 
949 {
951  FIXME("%p, %p\n", This, enable);
952  return E_NOTIMPL;
953 }
954 
956 {
958  FIXME("%p, %d\n", This, enable);
959  return E_NOTIMPL;
960 }
961 
963 {
965  FIXME("%p, %p\n", This, enable);
966  return E_NOTIMPL;
967 }
968 
970 {
972  FIXME("%p, %d\n", This, enable);
973  return E_NOTIMPL;
974 }
975 
977 {
979  FIXME("%p\n", This);
980  return E_NOTIMPL;
981 }
982 
984 {
986  FIXME("%p, %p\n", This, bandwidth);
987  return E_NOTIMPL;
988 }
989 
991 {
993  FIXME("%p, %u\n", This, bandwidth);
994  return E_NOTIMPL;
995 }
996 
998 {
1000  FIXME("%p, %p\n", This, protocols);
1001  return E_NOTIMPL;
1002 }
1003 
1005  WCHAR *protocol, DWORD *size)
1006 {
1008  FIXME("%p, %u, %p %p\n", This, protocol_num, protocol, size);
1009  return E_NOTIMPL;
1010 }
1011 
1013 {
1015  FIXME("%p, %s\n", This, debugstr_w(url));
1016  return E_NOTIMPL;
1017 }
1018 
1020  DWORD *size)
1021 {
1023  FIXME("%p, %u, %p, %p\n", This, index, url, size);
1024  return E_NOTIMPL;
1025 }
1026 
1028 {
1030  FIXME("%p, %p\n", This, count);
1031  return E_NOTIMPL;
1032 }
1033 
1035 {
1037  FIXME("%p\n", This);
1038  return E_NOTIMPL;
1039 }
1040 
1042 {
1044  FIXME("%p, %p\n", This, enable);
1045  return E_NOTIMPL;
1046 }
1047 
1049 {
1051  FIXME("%p, %d\n", This, enable);
1052  return E_NOTIMPL;
1053 }
1054 
1056 {
1058  FIXME("%p, %p\n", This, enable);
1059  return E_NOTIMPL;
1060 }
1061 
1063 {
1065  FIXME("%p, %d\n", This, enable);
1066  return E_NOTIMPL;
1067 }
1068 
1070  QWORD *duration)
1071 {
1073  FIXME("%p, %p\n", This, duration);
1074  return E_NOTIMPL;
1075 }
1076 
1078  QWORD duration)
1079 {
1081  FIXME("%p, %s\n", This, wine_dbgstr_longlong(duration));
1082  return E_NOTIMPL;
1083 }
1084 
1086 {
1088  FIXME("%p, %p\n", This, limit);
1089  return E_NOTIMPL;
1090 }
1091 
1093 {
1095  FIXME("%p, %u\n", This, limit);
1096  return E_NOTIMPL;
1097 }
1098 
1100 {
1102  FIXME("%p, %p\n", This, enable);
1103  return E_NOTIMPL;
1104 }
1105 
1107 {
1109  FIXME("%p, %u\n", This, enable);
1110  return E_NOTIMPL;
1111 }
1112 
1114 {
1116  FIXME("%p, %p\n", This, enable);
1117  return E_NOTIMPL;
1118 }
1119 
1121 {
1123  FIXME("%p, %u\n", This, enable);
1124  return E_NOTIMPL;
1125 }
1126 
1128 {
1130  FIXME("%p, %p\n", This, packet_size);
1131  return E_NOTIMPL;
1132 }
1133 
1134 static const IWMReaderNetworkConfig2Vtbl WMReaderNetworkConfig2Vtbl =
1135 {
1185 };
1186 
1188 {
1189  return CONTAINING_RECORD(iface, WMReader, IWMReaderStreamClock_iface);
1190 }
1191 
1193 {
1195  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1196 }
1197 
1199 {
1201  return IWMReader_AddRef(&This->IWMReader_iface);
1202 }
1203 
1205 {
1207  return IWMReader_Release(&This->IWMReader_iface);
1208 }
1209 
1211 {
1213  FIXME("%p, %p\n", This, now);
1214  return E_NOTIMPL;
1215 }
1216 
1218 {
1220  FIXME("%p, %s, %p, %p\n", This, wine_dbgstr_longlong(when), param, id);
1221  return E_NOTIMPL;
1222 }
1223 
1225 {
1227  FIXME("%p, %d\n", This, id);
1228  return E_NOTIMPL;
1229 }
1230 
1231 static const IWMReaderStreamClockVtbl WMReaderStreamClockVtbl =
1232 {
1239 };
1240 
1242 {
1243  return CONTAINING_RECORD(iface, WMReader, IWMReaderTypeNegotiation_iface);
1244 }
1245 
1247 {
1249  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1250 }
1251 
1253 {
1255  return IWMReader_AddRef(&This->IWMReader_iface);
1256 }
1257 
1259 {
1261  return IWMReader_Release(&This->IWMReader_iface);
1262 }
1263 
1265 {
1267  FIXME("%p, %d, %p\n", This, output, props);
1268  return E_NOTIMPL;
1269 }
1270 
1271 static const IWMReaderTypeNegotiationVtbl WMReaderTypeNegotiationVtbl =
1272 {
1277 };
1278 
1280 {
1281  return CONTAINING_RECORD(iface, WMReader, IWMReaderTimecode_iface);
1282 }
1283 
1285 {
1287  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1288 }
1289 
1291 {
1293  return IWMReader_AddRef(&This->IWMReader_iface);
1294 }
1295 
1297 {
1299  return IWMReader_Release(&This->IWMReader_iface);
1300 }
1301 
1303 {
1305  FIXME("%p, %d, %p\n", This, num, count);
1306  return E_NOTIMPL;
1307 }
1308 
1310  DWORD *start_timecode, DWORD *end_timecode)
1311 {
1313  FIXME("%p, %d, %d, %p, %p\n", This, stream, range, start_timecode, end_timecode);
1314  return E_NOTIMPL;
1315 }
1316 
1317 static const IWMReaderTimecodeVtbl WMReaderTimecodeVtbl =
1318 {
1324 };
1325 
1326 
1328 {
1329  return CONTAINING_RECORD(iface, WMReader, IWMReaderPlaylistBurn_iface);
1330 }
1331 
1333 {
1335  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1336 }
1337 
1339 {
1341  return IWMReader_AddRef(&This->IWMReader_iface);
1342 }
1343 
1345 {
1347  return IWMReader_Release(&This->IWMReader_iface);
1348 }
1349 
1352 {
1354  FIXME("%p, %d, %p, %p, %p\n", This, count, filenames, callback, context);
1355  return E_NOTIMPL;
1356 }
1357 
1359 {
1361  FIXME("%p, %d, %p\n", This, count, stat);
1362  return E_NOTIMPL;
1363 }
1364 
1366 {
1368  FIXME("%p\n", This);
1369  return E_NOTIMPL;
1370 }
1371 
1373 {
1375  FIXME("%p, 0x%08x\n", This, result);
1376  return E_NOTIMPL;
1377 }
1378 
1379 static const IWMReaderPlaylistBurnVtbl WMReaderPlaylistBurnVtbl =
1380 {
1388 };
1389 
1391 {
1392  return CONTAINING_RECORD(iface, WMReader, IWMHeaderInfo3_iface);
1393 }
1394 
1396 {
1398  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1399 }
1400 
1402 {
1404  return IWMReader_AddRef(&This->IWMReader_iface);
1405 }
1406 
1408 {
1410  return IWMReader_Release(&This->IWMReader_iface);
1411 }
1412 
1413 static HRESULT WINAPI headerinfo_GetAttributeCount(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
1414 {
1416  FIXME("%p, %d, %p\n", This, stream_num, attributes);
1417  return E_NOTIMPL;
1418 }
1419 
1422 {
1424  FIXME("%p, %d, %p, %p, %p, %p, %p, %p\n", This, index, stream_num, name, name_len, type,
1425  value, length);
1426  return E_NOTIMPL;
1427 }
1428 
1431 {
1433  FIXME("%p, %p, %s, %p, %p, %p\n", This, stream_num, debugstr_w(name), type, value, length);
1434  return E_NOTIMPL;
1435 }
1436 
1439 {
1441  FIXME("%p, %d, %s, %d, %p, %d\n", This, stream_num, debugstr_w(name), type, value, length);
1442  return E_NOTIMPL;
1443 }
1444 
1446 {
1448  FIXME("%p, %p\n", This, markers);
1449  return E_NOTIMPL;
1450 }
1451 
1453  WORD *marker_len, QWORD *marker_time)
1454 {
1456  FIXME("%p, %d, %p, %p, %p\n", This, index, marker_name, marker_len, marker_time);
1457  return E_NOTIMPL;
1458 }
1459 
1461  QWORD marker_time)
1462 {
1464  FIXME("%p, %p, %s\n", This, marker_name, wine_dbgstr_longlong(marker_time));
1465  return E_NOTIMPL;
1466 }
1467 
1469 {
1471  FIXME("%p, %d\n", This, index);
1472  return E_NOTIMPL;
1473 }
1474 
1476 {
1478  FIXME("%p, %p\n", This, scripts);
1479  return E_NOTIMPL;
1480 }
1481 
1483  WORD *type_len, WCHAR *command, WORD *command_len, QWORD *script_time)
1484 {
1486  FIXME("%p, %d, %p, %p, %p, %p, %p\n", This, index, type, type_len, command, command_len, script_time);
1487  return E_NOTIMPL;
1488 }
1489 
1491  LPCWSTR_WMSDK_TYPE_SAFE command, QWORD script_time)
1492 {
1494  FIXME("%p, %s, %s, %s\n", This, debugstr_w(type), debugstr_w(command), wine_dbgstr_longlong(script_time));
1495  return E_NOTIMPL;
1496 }
1497 
1499 {
1501  FIXME("%p, %d\n", This, index);
1502  return E_NOTIMPL;
1503 }
1504 
1506 {
1508  FIXME("%p, %p\n", This, codec_infos);
1509  return E_NOTIMPL;
1510 }
1511 
1513  WCHAR *name, WORD *description_len, WCHAR *description, WMT_CODEC_INFO_TYPE *codec_type,
1514  WORD *codec_info_cnt, BYTE *codec_info)
1515 {
1517  FIXME("%p, %d, %p, %p, %p, %p, %p, %p, %p\n", This, index, name_len, name, description_len,
1518  description, codec_type, codec_info_cnt, codec_info);
1519  return E_NOTIMPL;
1520 }
1521 
1522 static HRESULT WINAPI headerinfo_GetAttributeCountEx(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
1523 {
1525  FIXME("%p, %d, %p\n", This, stream_num, attributes);
1526  return E_NOTIMPL;
1527 }
1528 
1530  WORD *lang_index, WORD *indices, WORD *count)
1531 {
1533  FIXME("%p, %d, %s, %p, %p, %p\n", This, stream_num, debugstr_w(name), lang_index, indices, count);
1534  return E_NOTIMPL;
1535 }
1536 
1538  WORD index, LPWSTR name, WORD *name_len, WMT_ATTR_DATATYPE *type, WORD *lang_index,
1539  BYTE *value, DWORD *data_len)
1540 {
1542  FIXME("%p, %d, %d, %s, %p, %p, %p, %p, %p\n", This, stream_num, index, debugstr_w(name), name_len,
1543  type, lang_index, value, data_len);
1544  return E_NOTIMPL;
1545 }
1546 
1548  WORD index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
1549 {
1551  FIXME("%p, %d, %d, %d, %d, %p, %d\n", This, stream_num, index, type, lang_index, value, length);
1552  return E_NOTIMPL;
1553 }
1554 
1556  WORD *index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
1557 {
1559  FIXME("%p, %d, %s, %p, %d, %d, %p, %d\n", This, stream_num, debugstr_w(name), index,
1560  type, lang_index, value, length);
1561  return E_NOTIMPL;
1562 }
1563 
1565 {
1567  FIXME("%p, %d, %d\n", This, stream_num, index);
1568  return E_NOTIMPL;
1569 }
1570 
1572  LPCWSTR_WMSDK_TYPE_SAFE description, WMT_CODEC_INFO_TYPE codec_type, WORD codec_info_cnt,
1573  BYTE *codec_info)
1574 {
1576  FIXME("%p, %p, %p, %d, %d, %p\n", This, name, description, codec_type, codec_info_cnt,
1577  codec_info);
1578  return E_NOTIMPL;
1579 }
1580 
1581 static const IWMHeaderInfo3Vtbl WMHeaderInfo3Vtbl =
1582 {
1607 };
1608 
1609 
1611 {
1612  return CONTAINING_RECORD(iface, WMReader, IWMLanguageList_iface);
1613 }
1614 
1616 {
1618  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1619 }
1620 
1622 {
1624  return IWMReader_AddRef(&This->IWMReader_iface);
1625 }
1626 
1628 {
1630  return IWMReader_Release(&This->IWMReader_iface);
1631 }
1632 
1634 {
1636  FIXME("%p, %p\n", This, count);
1637  return E_NOTIMPL;
1638 }
1639 
1641  WCHAR *language, WORD *length)
1642 {
1644  FIXME("%p, %d, %p, %p\n", This, index, language, length);
1645  return E_NOTIMPL;
1646 }
1647 
1649  WORD *index)
1650 {
1652  FIXME("%p, %p, %p\n", This, language, index);
1653  return E_NOTIMPL;
1654 }
1655 
1656 static const IWMLanguageListVtbl WMLanguageListVtbl =
1657 {
1664 };
1665 
1667 {
1668  return CONTAINING_RECORD(iface, WMReader, IReferenceClock_iface);
1669 }
1670 
1672 {
1674  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1675 }
1676 
1678 {
1680  return IWMReader_AddRef(&This->IWMReader_iface);
1681 }
1682 
1684 {
1686  return IWMReader_Release(&This->IWMReader_iface);
1687 }
1688 
1690 {
1692  FIXME("%p, %p\n", This, time);
1693  return E_NOTIMPL;
1694 }
1695 
1697  REFERENCE_TIME streamtime, HEVENT event, DWORD_PTR *cookie)
1698 {
1700  FIXME("%p, %s, %s, %lu, %p\n", This, wine_dbgstr_longlong(basetime),
1701  wine_dbgstr_longlong(streamtime), event, cookie);
1702  return E_NOTIMPL;
1703 }
1704 
1706  REFERENCE_TIME period, HSEMAPHORE semaphore, DWORD_PTR *cookie)
1707 {
1709  FIXME("%p, %s, %s, %lu, %p\n", This, wine_dbgstr_longlong(starttime),
1710  wine_dbgstr_longlong(period), semaphore, cookie);
1711  return E_NOTIMPL;
1712 }
1713 
1715 {
1717  FIXME("%p, %lu\n", This, cookie);
1718  return E_NOTIMPL;
1719 }
1720 
1721 static const IReferenceClockVtbl ReferenceClockVtbl =
1722 {
1730 };
1731 
1733 {
1734  return CONTAINING_RECORD(iface, WMReader, IWMProfile3_iface);
1735 }
1736 
1738 {
1740  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
1741 }
1742 
1744 {
1746  return IWMReader_AddRef(&This->IWMReader_iface);
1747 }
1748 
1750 {
1752  return IWMReader_Release(&This->IWMReader_iface);
1753 }
1754 
1756 {
1758  FIXME("%p, %p\n", This, version);
1759  return E_NOTIMPL;
1760 }
1761 
1763 {
1765  FIXME("%p, %p, %p\n", This, name, length);
1766  return E_NOTIMPL;
1767 }
1768 
1770 {
1772  FIXME("%p, %s\n", This, debugstr_w(name));
1773  return E_NOTIMPL;
1774 }
1775 
1777 {
1779  FIXME("%p, %p, %p\n", This, description, length);
1780  return E_NOTIMPL;
1781 }
1782 
1784 {
1786  FIXME("%p, %s\n", This, debugstr_w(description));
1787  return E_NOTIMPL;
1788 }
1789 
1791 {
1793  FIXME("%p, %p\n", This, count);
1794  return E_NOTIMPL;
1795 }
1796 
1798 {
1800  FIXME("%p, %d, %p\n", This, index, config);
1801  return E_NOTIMPL;
1802 }
1803 
1805 {
1807  FIXME("%p, %d, %p\n", This, stream, config);
1808  return E_NOTIMPL;
1809 }
1810 
1812 {
1814  FIXME("%p, %p\n", This, config);
1815  return E_NOTIMPL;
1816 }
1817 
1819 {
1821  FIXME("%p, %d\n", This, stream);
1822  return E_NOTIMPL;
1823 }
1824 
1826 {
1828  FIXME("%p, %p\n", This, config);
1829  return E_NOTIMPL;
1830 }
1831 
1833 {
1835  FIXME("%p, %p\n", This, config);
1836  return E_NOTIMPL;
1837 }
1838 
1840 {
1842  FIXME("%p, %s, %p\n", This, debugstr_guid(type), config);
1843  return E_NOTIMPL;
1844 }
1845 
1847 {
1849  FIXME("%p, %p\n", This, count);
1850  return E_NOTIMPL;
1851 }
1852 
1854 {
1856  FIXME("%p, %d, %p\n", This, index, mutual);
1857  return E_NOTIMPL;
1858 }
1859 
1861 {
1863  FIXME("%p, %p\n", This, mutual);
1864  return E_NOTIMPL;
1865 }
1866 
1868 {
1870  FIXME("%p, %p\n", This, mutual);
1871  return E_NOTIMPL;
1872 }
1873 
1875 {
1877  FIXME("%p, %p\n", This, mutual);
1878  return E_NOTIMPL;
1879 }
1880 
1882 {
1884  FIXME("%p, %p\n", This, guid);
1885  return E_NOTIMPL;
1886 }
1887 
1889 {
1891  FIXME("%p, %p\n", This, storage);
1892  return E_NOTIMPL;
1893 }
1894 
1896 {
1898  FIXME("%p, %d\n", This, storage);
1899  return E_NOTIMPL;
1900 }
1901 
1903 {
1905  FIXME("%p, %p\n", This, count);
1906  return E_NOTIMPL;
1907 }
1908 
1910 {
1912  FIXME("%p, %d, %p\n", This, index, bandwidth);
1913  return E_NOTIMPL;
1914 }
1915 
1917 {
1919  FIXME("%p, %p\n", This, bandwidth);
1920  return E_NOTIMPL;
1921 }
1922 
1924 {
1926  FIXME("%p, %p\n", This, bandwidth);
1927  return E_NOTIMPL;
1928 }
1929 
1931 {
1933  FIXME("%p, %p\n", This, bandwidth);
1934  return E_NOTIMPL;
1935 }
1936 
1938 {
1940  FIXME("%p, %p\n", This, stream);
1941  return E_NOTIMPL;
1942 }
1943 
1945 {
1947  FIXME("%p, %p\n", This, stream);
1948  return E_NOTIMPL;
1949 }
1950 
1952 {
1954  FIXME("%p\n", This);
1955  return E_NOTIMPL;
1956 }
1957 
1959 {
1961  FIXME("%p, %p\n", This, stream);
1962  return E_NOTIMPL;
1963 }
1964 
1966 {
1968  FIXME("%p, %s, %p\n", This, wine_dbgstr_longlong(duration), packets);
1969  return E_NOTIMPL;
1970 }
1971 
1972 static const IWMProfile3Vtbl WMProfile3Vtbl =
1973 {
2008 };
2009 
2011 {
2012  return CONTAINING_RECORD(iface, WMReader, IWMPacketSize2_iface);
2013 }
2014 
2016 {
2018  return IWMReader_QueryInterface(&This->IWMReader_iface, riid, ppv);
2019 }
2020 
2022 {
2024  return IWMReader_AddRef(&This->IWMReader_iface);
2025 }
2026 
2028 {
2030  return IWMReader_Release(&This->IWMReader_iface);
2031 }
2032 
2034 {
2036  FIXME("%p, %p\n", This, size);
2037  return E_NOTIMPL;
2038 }
2039 
2041 {
2043  FIXME("%p, %d\n", This, size);
2044  return E_NOTIMPL;
2045 }
2046 
2048 {
2050  FIXME("%p, %p\n", This, size);
2051  return E_NOTIMPL;
2052 }
2053 
2055 {
2057  FIXME("%p, %d\n", This, size);
2058  return E_NOTIMPL;
2059 }
2060 
2061 static const IWMPacketSize2Vtbl WMPacketSize2Vtbl =
2062 {
2070 };
2071 
2073 {
2074  WMReader *reader;
2075 
2076  TRACE("(%p, %x, %p)\n", reserved, rights, ret_reader);
2077 
2078  reader = heap_alloc(sizeof(*reader));
2079  if(!reader)
2080  return E_OUTOFMEMORY;
2081 
2082  reader->IWMReader_iface.lpVtbl = &WMReaderVtbl;
2083  reader->IWMReaderAdvanced6_iface.lpVtbl = &WMReaderAdvanced6Vtbl;
2084  reader->IWMReaderAccelerator_iface.lpVtbl = &WMReaderAcceleratorVtbl;
2085  reader->IWMReaderNetworkConfig2_iface.lpVtbl = &WMReaderNetworkConfig2Vtbl;
2086  reader->IWMReaderStreamClock_iface.lpVtbl = &WMReaderStreamClockVtbl;
2087  reader->IWMReaderTypeNegotiation_iface.lpVtbl = &WMReaderTypeNegotiationVtbl;
2088  reader->IWMReaderTimecode_iface.lpVtbl = &WMReaderTimecodeVtbl;
2089  reader->IWMReaderPlaylistBurn_iface.lpVtbl = &WMReaderPlaylistBurnVtbl;
2090  reader->IWMHeaderInfo3_iface.lpVtbl = &WMHeaderInfo3Vtbl;
2091  reader->IWMLanguageList_iface.lpVtbl = &WMLanguageListVtbl;
2092  reader->IReferenceClock_iface.lpVtbl = &ReferenceClockVtbl;
2093  reader->IWMProfile3_iface.lpVtbl = &WMProfile3Vtbl;
2094  reader->IWMPacketSize2_iface.lpVtbl = &WMPacketSize2Vtbl;
2095  reader->ref = 1;
2096 
2097  *ret_reader = &reader->IWMReader_iface;
2098  return S_OK;
2099 }
2100 
2102 {
2103  return WMCreateReader(NULL, 0, ret_reader);
2104 }
2105 
2107 {
2108  FIXME("(%p, %x, %p): stub\n", pcert, rights, syncreader);
2109 
2110  *syncreader = NULL;
2111 
2112  return E_NOTIMPL;
2113 }
2114 
2115 typedef struct {
2119 
2121 {
2122  return CONTAINING_RECORD(iface, WMProfileManager, IWMProfileManager_iface);
2123 }
2124 
2126 {
2128 
2129  if(IsEqualGUID(&IID_IUnknown, riid)) {
2130  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
2131  *ppv = &This->IWMProfileManager_iface;
2132  }else if(IsEqualGUID(&IID_IWMProfileManager, riid)) {
2133  TRACE("(%p)->(IID_IWMProfileManager %p)\n", This, ppv);
2134  *ppv = &This->IWMProfileManager_iface;
2135  }else {
2136  FIXME("Unsupported iface %s\n", debugstr_guid(riid));
2137  *ppv = NULL;
2138  return E_NOINTERFACE;
2139  }
2140 
2141  IUnknown_AddRef((IUnknown*)*ppv);
2142  return S_OK;
2143 }
2144 
2146 {
2148  LONG ref = InterlockedIncrement(&This->ref);
2149 
2150  TRACE("(%p) ref=%d\n", This, ref);
2151 
2152  return ref;
2153 }
2154 
2156 {
2158  LONG ref = InterlockedDecrement(&This->ref);
2159 
2160  TRACE("(%p) ref=%d\n", This, ref);
2161 
2162  if(!ref)
2163  heap_free(This);
2164 
2165  return ref;
2166 }
2167 
2169 {
2171  FIXME("(%p)->(%x %p)\n", This, version, ret);
2172  return E_NOTIMPL;
2173 }
2174 
2176 {
2178  FIXME("(%p)->(%s %p)\n", This, debugstr_guid(guid), ret);
2179  return E_NOTIMPL;
2180 }
2181 
2183 {
2185  FIXME("(%p)->(%s %p)\n", This, debugstr_w(profile), ret);
2186  return E_NOTIMPL;
2187 }
2188 
2190 {
2192  FIXME("(%p)->(%p %p %p)\n", This, profile, profile_str, len);
2193  return E_NOTIMPL;
2194 }
2195 
2197 {
2199  FIXME("(%p)->(%p)\n", This, ret);
2200  return E_NOTIMPL;
2201 }
2202 
2204 {
2206  FIXME("(%p)->(%d %p)\n", This, index, ret);
2207  return E_NOTIMPL;
2208 }
2209 
2210 static const IWMProfileManagerVtbl WMProfileManagerVtbl = {
2220 };
2221 
2223 {
2224  WMProfileManager *profile_mgr;
2225 
2226  TRACE("(%p)\n", ret);
2227 
2228  profile_mgr = heap_alloc(sizeof(*profile_mgr));
2229  if(!profile_mgr)
2230  return E_OUTOFMEMORY;
2231 
2232  profile_mgr->IWMProfileManager_iface.lpVtbl = &WMProfileManagerVtbl;
2233  profile_mgr->ref = 1;
2234 
2235  *ret = &profile_mgr->IWMProfileManager_iface;
2236  return S_OK;
2237 }
static ULONG WINAPI WMProfileManager_Release(IWMProfileManager *iface)
static HRESULT WINAPI langlist_GetLanguageCount(IWMLanguageList *iface, WORD *count)
static ULONG WINAPI WMReader_Release(IWMReader *iface)
Definition: wmvcore_main.c:188
static ULONG WINAPI readclock_AddRef(IWMReaderStreamClock *iface)
static WMReader * impl_from_IWMReaderAdvanced6(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:295
static HRESULT WINAPI WMReaderAdvanced3_StartAtPosition(IWMReaderAdvanced6 *iface, WORD stream_num, void *offset_start, void *duration, WMT_OFFSET_FORMAT format, float rate, void *context)
Definition: wmvcore_main.c:579
static HRESULT WINAPI profile3_SetStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization *stream)
static HRESULT WINAPI networkconfig_GetEnableMulticast(IWMReaderNetworkConfig2 *iface, BOOL *multicast)
Definition: wmvcore_main.c:920
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)
GLuint GLuint GLsizei GLenum const GLvoid * indices
Definition: gl.h:1545
static HRESULT WINAPI headerinfo_QueryInterface(IWMHeaderInfo3 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI WMReaderAdvanced4_CancelSaveFileAs(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:638
#define max(a, b)
Definition: svc.c:63
static HRESULT WINAPI WMReader_GetOutputCount(IWMReader *iface, DWORD *outputs)
Definition: wmvcore_main.c:215
static HRESULT WINAPI WMReaderAdvanced4_GetMaxSpeedFactor(IWMReaderAdvanced6 *iface, double *factor)
Definition: wmvcore_main.c:602
int proxy
Definition: main.c:67
static HRESULT WINAPI langlist_QueryInterface(IWMLanguageList *iface, REFIID riid, void **ppv)
#define REFIID
Definition: guiddef.h:118
#define TRUE
Definition: types.h:120
static UCHAR ULONG UCHAR ULONG UCHAR * output
Definition: bcrypt.c:29
static HRESULT WINAPI WMReaderAdvanced2_SetLogClientID(IWMReaderAdvanced6 *iface, BOOL log_client_id)
Definition: wmvcore_main.c:543
static HRESULT WINAPI profile3_CreateNewStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization **stream)
static HRESULT WINAPI WMReaderAdvanced2_SetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE mode)
Definition: wmvcore_main.c:462
#define E_NOINTERFACE
Definition: winerror.h:2364
static ULONG WINAPI headerinfo_Release(IWMHeaderInfo3 *iface)
static const IWMReaderVtbl WMReaderVtbl
Definition: wmvcore_main.c:278
static ULONG WINAPI timecode_AddRef(IWMReaderTimecode *iface)
IWMReaderNetworkConfig2 IWMReaderNetworkConfig2_iface
Definition: wmvcore_main.c:71
static HRESULT WINAPI profile3_RemoveBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing *bandwidth)
static HRESULT WINAPI WMReader_GetOutputFormat(IWMReader *iface, DWORD output_num, DWORD format_num, IWMOutputMediaProps **props)
Definition: wmvcore_main.c:243
static WMReader * impl_from_IWMReaderAccelerator(IWMReaderAccelerator *iface)
Definition: wmvcore_main.c:722
static HRESULT WINAPI networkconfig_SetProxyPort(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, DWORD port)
Definition: wmvcore_main.c:864
HRESULT WINAPI WMCreateProfileManager(IWMProfileManager **ret)
static HRESULT WINAPI playlist_GetInitResults(IWMReaderPlaylistBurn *iface, DWORD count, HRESULT *stat)
static ULONG WINAPI WMReaderAdvanced_Release(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:312
static HRESULT WINAPI networkconfig_SetEnableUDP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: wmvcore_main.c:955
static WMReader * impl_from_IWMReaderTypeNegotiation(IWMReaderTypeNegotiation *iface)
Definition: scsiwmi.h:51
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
static const IWMReaderNetworkConfig2Vtbl WMReaderNetworkConfig2Vtbl
WMT_PROXY_SETTINGS
Definition: wmsdkidl.idl:193
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)
static HRESULT WINAPI networkconfig_GetAutoReconnectLimit(IWMReaderNetworkConfig2 *iface, DWORD *limit)
static HRESULT WINAPI profile3_RemoveMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion *mutual)
Definition: http.c:6587
static HRESULT WINAPI WMReaderAdvanced_SetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL user_clock)
Definition: wmvcore_main.c:318
static HRESULT WINAPI networkconfig_GetNumProtocolsSupported(IWMReaderNetworkConfig2 *iface, DWORD *protocols)
Definition: wmvcore_main.c:997
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 WMReaderAdvanced_SetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL selection)
Definition: wmvcore_main.c:339
REFIID riid
Definition: precomp.h:44
static HRESULT WINAPI WMReaderAdvanced2_SaveFileAs(IWMReaderAdvanced6 *iface, const WCHAR *filename)
Definition: wmvcore_main.c:498
static HRESULT WINAPI WMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL get_callbacks)
Definition: wmvcore_main.c:369
IWMPacketSize2 IWMPacketSize2_iface
Definition: wmvcore_main.c:80
char * wine_dbgstr_w(const wchar_t *wstr)
Definition: atltest.h:87
static HRESULT WINAPI WMReaderAdvanced_QueryInterface(IWMReaderAdvanced6 *iface, REFIID riid, void **ppv)
Definition: wmvcore_main.c:300
GLuint GLuint GLsizei count
Definition: gl.h:1545
static HRESULT WINAPI networkconfig_GetBufferingTime(IWMReaderNetworkConfig2 *iface, QWORD *buffering_time)
Definition: wmvcore_main.c:794
static HRESULT WINAPI networkconfig_GetConnectionBandwidth(IWMReaderNetworkConfig2 *iface, DWORD *bandwidth)
Definition: wmvcore_main.c:983
HRESULT WINAPI DllRegisterServer(void)
Definition: wmvcore_main.c:44
static HRESULT WINAPI WMReaderAdvanced_SetClientInfo(IWMReaderAdvanced6 *iface, WM_READER_CLIENTINFO *client_info)
Definition: wmvcore_main.c:434
static ULONG WINAPI WMReaderAdvanced_AddRef(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:306
static HRESULT WINAPI networkconfig_GetEnableTCP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: wmvcore_main.c:962
static const struct pixel_format_desc formats[]
Definition: util.c:57
static const IWMReaderAdvanced6Vtbl WMReaderAdvanced6Vtbl
Definition: wmvcore_main.c:668
static WMReader * impl_from_IWMReaderNetworkConfig2(IWMReaderNetworkConfig2 *iface)
Definition: wmvcore_main.c:771
static HRESULT WINAPI profile3_CreateNewStream(IWMProfile3 *iface, REFGUID type, IWMStreamConfig **config)
static HRESULT WINAPI WMReaderAdvanced4_GetLanguageCount(IWMReaderAdvanced6 *iface, DWORD output_num, WORD *language_count)
Definition: wmvcore_main.c:587
REFIID LPVOID * ppv
Definition: atlbase.h:39
WMT_CODEC_INFO_TYPE
Definition: wmsdkidl.idl:186
static HRESULT WINAPI WMReaderAdvanced4_SendLogParams(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:624
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
WMT_VERSION
Definition: wmsdkidl.idl:161
static HRESULT WINAPI profile3_GetStreamByNumber(IWMProfile3 *iface, WORD stream, IWMStreamConfig **config)
DWORD scheme
static HRESULT WINAPI networkconfig_SetEnableMulticast(IWMReaderNetworkConfig2 *iface, BOOL multicast)
Definition: wmvcore_main.c:927
static HRESULT WINAPI networkconfig_GetProxyBypassForLocal(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, BOOL *bypass)
Definition: wmvcore_main.c:888
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)
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
HRESULT WINAPI WMCheckURLScheme(const WCHAR *scheme)
Definition: wmvcore_main.c:51
static HRESULT WINAPI playlist_InitPlaylistBurn(IWMReaderPlaylistBurn *iface, DWORD count, LPCWSTR_WMSDK_TYPE_SAFE *filenames, IWMStatusCallback *callback, void *context)
static HRESULT WINAPI headerinfo_AddMarker(IWMHeaderInfo3 *iface, LPCWSTR_WMSDK_TYPE_SAFE marker_name, QWORD marker_time)
IWMReader IWMReader_iface
Definition: wmvcore_main.c:68
static HRESULT WINAPI WMProfileManager_QueryInterface(IWMProfileManager *iface, REFIID riid, void **ppv)
static HRESULT WINAPI networkconfig_GetProxyHostName(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WCHAR *hostname, DWORD *size)
Definition: wmvcore_main.c:840
static HRESULT WINAPI WMReader_Start(IWMReader *iface, QWORD start, QWORD duration, float rate, void *context)
Definition: wmvcore_main.c:250
static HRESULT WINAPI packetsize_GetMaxPacketSize(IWMPacketSize2 *iface, DWORD *size)
static HRESULT WINAPI networkconfig_SetProxyBypassForLocal(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, BOOL bypass)
Definition: wmvcore_main.c:896
static HRESULT WINAPI WMReader_SetOutputProps(IWMReader *iface, DWORD output_num, IWMOutputMediaProps *output)
Definition: wmvcore_main.c:229
static HRESULT WINAPI packetsize_QueryInterface(IWMPacketSize2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI langlist_AddLanguageByRFC1766String(IWMLanguageList *iface, LPCWSTR_WMSDK_TYPE_SAFE language, WORD *index)
static ULONG WINAPI readclock_Release(IWMReaderStreamClock *iface)
static HRESULT WINAPI refclock_GetTime(IReferenceClock *iface, REFERENCE_TIME *time)
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
static HRESULT WINAPI headerinfo_GetAttributeCountEx(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
static HRESULT WINAPI WMReaderAdvanced4_GetLanguage(IWMReaderAdvanced6 *iface, DWORD output_num, WORD language, WCHAR *language_string, WORD *language_string_len)
Definition: wmvcore_main.c:594
static HRESULT WINAPI WMProfileManager_CreateEmptyProfile(IWMProfileManager *iface, WMT_VERSION version, IWMProfile **ret)
static HRESULT WINAPI networkconfig_ResetLoggingUrlList(IWMReaderNetworkConfig2 *iface)
static HRESULT WINAPI WMReaderAdvanced2_SetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
Definition: wmvcore_main.c:528
static HRESULT WINAPI WMReaderAdvanced_DeliverTime(IWMReaderAdvanced6 *iface, QWORD time)
Definition: wmvcore_main.c:332
__u16 time
Definition: mkdosfs.c:366
const char * description
Definition: directx.c:2497
static HRESULT WINAPI profile3_GetVersion(IWMProfile3 *iface, WMT_VERSION *version)
int rate
Definition: pcmconverter.c:98
static ULONG WINAPI profile3_Release(IWMProfile3 *iface)
static ULONG WINAPI WMReader_AddRef(IWMReader *iface)
Definition: wmvcore_main.c:178
static HRESULT WINAPI WMReader_Open(IWMReader *iface, const WCHAR *url, IWMReaderCallback *callback, void *context)
Definition: wmvcore_main.c:201
const char * filename
Definition: ioapi.h:135
static WMProfileManager * impl_from_IWMProfileManager(IWMProfileManager *iface)
static HRESULT WINAPI profile3_CreateNewBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing **bandwidth)
static HRESULT WINAPI headerinfo_GetMarkerCount(IWMHeaderInfo3 *iface, WORD *markers)
static ULONG WINAPI packetsize_AddRef(IWMPacketSize2 *iface)
#define NS_E_INVALID_NAME
Definition: nserror.h:65
Definition: send.c:47
static HRESULT WINAPI WMReaderAdvanced_GetUserProvidedClock(IWMReaderAdvanced6 *iface, BOOL *user_clock)
Definition: wmvcore_main.c:325
int selection
Definition: ctm.c:92
static HRESULT WINAPI WMReader_Resume(IWMReader *iface)
Definition: wmvcore_main.c:271
static HRESULT WINAPI headerinfo_RemoveMarker(IWMHeaderInfo3 *iface, WORD index)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
static IN DWORD IN LPVOID lpvReserved
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
static HRESULT WINAPI profile3_GetProfileID(IWMProfile3 *iface, GUID *guid)
static HRESULT WINAPI networkconfig_SetEnableResends(IWMReaderNetworkConfig2 *iface, BOOL enable)
static HRESULT WINAPI profile3_CreateNewMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion **mutual)
HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **ret_reader)
GLint limit
Definition: glext.h:10326
char * hostname
Definition: ftp.c:88
static HRESULT WINAPI WMProfileManager_LoadSystemProfile(IWMProfileManager *iface, DWORD index, IWMProfile **ret)
static HRESULT WINAPI networkconfig_QueryInterface(IWMReaderNetworkConfig2 *iface, REFIID riid, void **ppv)
Definition: wmvcore_main.c:776
static HRESULT WINAPI WMReaderAdvanced4_GetURL(IWMReaderAdvanced6 *iface, WCHAR *url, DWORD *url_len)
Definition: wmvcore_main.c:645
static HRESULT WINAPI playlist_EndPlaylistBurn(IWMReaderPlaylistBurn *iface, HRESULT result)
static const IWMReaderAcceleratorVtbl WMReaderAcceleratorVtbl
Definition: wmvcore_main.c:763
static HRESULT WINAPI timecode_GetTimecodeRangeCount(IWMReaderTimecode *iface, WORD num, WORD *count)
static HRESULT WINAPI refclock_Unadvise(IReferenceClock *iface, DWORD_PTR cookie)
static WMReader * impl_from_IWMPacketSize2(IWMPacketSize2 *iface)
static HRESULT WINAPI networkconfig_SetConnectionBandwidth(IWMReaderNetworkConfig2 *iface, DWORD bandwidth)
Definition: wmvcore_main.c:990
const GUID * guid
static HRESULT WINAPI WMReaderAdvanced4_CanSaveFileAs(IWMReaderAdvanced6 *iface, BOOL *can_save)
Definition: wmvcore_main.c:631
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static HRESULT WINAPI headerinfo_GetAttributeByName(IWMHeaderInfo3 *iface, WORD *stream_num, LPCWSTR name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
IWMProfile3 IWMProfile3_iface
Definition: wmvcore_main.c:79
static HRESULT WINAPI WMReaderAdvanced_SetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num, BOOL receive_stream_samples)
Definition: wmvcore_main.c:383
unsigned int BOOL
Definition: ntddk_ex.h:94
static HRESULT WINAPI profile3_RemoveStream(IWMProfile3 *iface, IWMStreamConfig *config)
long LONG
Definition: pedump.c:60
time_t now
Definition: finger.c:65
static HRESULT WINAPI WMReaderAdvanced_GetMaxStreamSampleSize(IWMReaderAdvanced6 *iface, WORD stream, DWORD *max)
Definition: wmvcore_main.c:448
#define debugstr_w
Definition: kernel32.h:32
static HRESULT WINAPI WMReaderAdvanced2_GetOutputSetting(IWMReaderAdvanced6 *iface, DWORD output_num, const WCHAR *name, WMT_ATTR_DATATYPE *type, BYTE *value, WORD *length)
Definition: wmvcore_main.c:520
static HRESULT WINAPI WMReaderAdvanced_GetMaxOutputSampleSize(IWMReaderAdvanced6 *iface, DWORD output, DWORD *max)
Definition: wmvcore_main.c:441
GLenum GLint ref
Definition: glext.h:6028
static HRESULT WINAPI networkconfig_SetProxyHostName(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, const WCHAR *hostname)
Definition: wmvcore_main.c:848
#define FIXME(fmt,...)
Definition: debug.h:110
static const IReferenceClockVtbl ReferenceClockVtbl
static HRESULT WINAPI WMReaderAdvanced2_GetLogClientID(IWMReaderAdvanced6 *iface, BOOL *log_client_id)
Definition: wmvcore_main.c:550
static HRESULT WINAPI WMReaderAdvanced_GetStatistics(IWMReaderAdvanced6 *iface, WM_READER_STATISTICS *statistics)
Definition: wmvcore_main.c:427
r reserved
Definition: btrfs.c:2893
static HRESULT WINAPI profile3_RemoveStreamByNumber(IWMProfile3 *iface, WORD stream)
static HRESULT WINAPI networkconfig_GetEnableThinning(IWMReaderNetworkConfig2 *iface, BOOL *enable)
static WMReader * impl_from_IWMReaderTimecode(IWMReaderTimecode *iface)
static HRESULT WINAPI WMReaderAdvanced_NotifyLateDelivery(IWMReaderAdvanced6 *iface, QWORD lateness)
Definition: wmvcore_main.c:455
static HRESULT WINAPI networkconfig_GetProxyPort(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, DWORD *port)
Definition: wmvcore_main.c:856
static HRESULT WINAPI WMProfileManager_LoadProfileByID(IWMProfileManager *iface, REFGUID guid, IWMProfile **ret)
IWMReaderTypeNegotiation IWMReaderTypeNegotiation_iface
Definition: wmvcore_main.c:73
static HRESULT WINAPI headerinfo_SetAttribute(IWMHeaderInfo3 *iface, WORD stream_num, LPCWSTR name, WMT_ATTR_DATATYPE type, const BYTE *value, WORD length)
static HRESULT WINAPI WMReaderAdvanced2_StopBuffering(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:557
smooth NULL
Definition: ftsmooth.c:416
static HRESULT WINAPI refclock_AdviseTime(IReferenceClock *iface, REFERENCE_TIME basetime, REFERENCE_TIME streamtime, HEVENT event, DWORD_PTR *cookie)
static const WCHAR version[]
Definition: asmname.c:64
static HRESULT WINAPI profile3_GetStream(IWMProfile3 *iface, DWORD index, IWMStreamConfig **config)
static HRESULT WINAPI headerinfo_AddScript(IWMHeaderInfo3 *iface, LPCWSTR_WMSDK_TYPE_SAFE type, LPCWSTR_WMSDK_TYPE_SAFE command, QWORD script_time)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Definition: wmvcore_main.c:28
static BYTE cert[]
Definition: msg.c:1437
static ULONG WINAPI langlist_AddRef(IWMLanguageList *iface)
IWMReaderTimecode IWMReaderTimecode_iface
Definition: wmvcore_main.c:74
GLuint index
Definition: glext.h:6031
static HRESULT WINAPI headerinfo_DeleteAttribute(IWMHeaderInfo3 *iface, WORD stream_num, WORD index)
IWMReaderAdvanced6 IWMReaderAdvanced6_iface
Definition: wmvcore_main.c:69
static HRESULT WINAPI profile3_AddBandwidthSharing(IWMProfile3 *iface, IWMBandwidthSharing *bandwidth)
static HRESULT WINAPI WMProfileManager_GetSystemProfileCount(IWMProfileManager *iface, DWORD *ret)
static HRESULT WINAPI timecode_GetTimecodeRangeBounds(IWMReaderTimecode *iface, WORD stream, WORD range, DWORD *start_timecode, DWORD *end_timecode)
#define debugstr_guid
Definition: kernel32.h:35
static HRESULT WINAPI WMReader_QueryInterface(IWMReader *iface, REFIID riid, void **ppv)
Definition: wmvcore_main.c:89
static HRESULT WINAPI WMReader_GetOutputProps(IWMReader *iface, DWORD output_num, IWMOutputMediaProps **output)
Definition: wmvcore_main.c:222
static HRESULT WINAPI networkconfig_GetLoggingUrl(IWMReaderNetworkConfig2 *iface, DWORD index, WCHAR *url, DWORD *size)
static HRESULT WINAPI profile3_SetDescription(IWMProfile3 *iface, const WCHAR *description)
static HRESULT WINAPI networkconfig_GetUDPPortRanges(IWMReaderNetworkConfig2 *iface, WM_PORT_NUMBER_RANGE *array, DWORD *ranges)
Definition: wmvcore_main.c:808
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: wmvcore_main.c:78
static HRESULT WINAPI profile3_GetName(IWMProfile3 *iface, WCHAR *name, DWORD *length)
static HRESULT WINAPI headerinfo_ModifyAttribute(IWMHeaderInfo3 *iface, WORD stream_num, WORD index, WMT_ATTR_DATATYPE type, WORD lang_index, const BYTE *value, DWORD length)
static HRESULT WINAPI packetsize_SetMinPacketSize(IWMPacketSize2 *iface, DWORD size)
static ULONG WINAPI refclock_Release(IReferenceClock *iface)
IWMHeaderInfo3 IWMHeaderInfo3_iface
Definition: wmvcore_main.c:76
static HRESULT WINAPI WMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvanced6 *iface, BOOL *selection)
Definition: wmvcore_main.c:346
static HRESULT WINAPI profile3_GetStorageFormat(IWMProfile3 *iface, WMT_STORAGE_FORMAT *storage)
static HRESULT WINAPI negotiation_QueryInterface(IWMReaderTypeNegotiation *iface, REFIID riid, void **ppv)
static HRESULT WINAPI langlist_GetLanguageDetails(IWMLanguageList *iface, WORD index, WCHAR *language, WORD *length)
HANDLE semaphore
Definition: loader.c:2140
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
Definition: msg.h:42
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
static WMReader * impl_from_IWMReaderStreamClock(IWMReaderStreamClock *iface)
static const IWMPacketSize2Vtbl WMPacketSize2Vtbl
HRESULT WINAPI WMCreateReaderPriv(IWMReader **ret_reader)
static HRESULT WINAPI readclock_GetTime(IWMReaderStreamClock *iface, QWORD *now)
static const IWMReaderStreamClockVtbl WMReaderStreamClockVtbl
DWORD_PTR HSEMAPHORE
Definition: axcore.idl:60
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
static HRESULT WINAPI WMReaderAdvanced2_GetDownloadProgress(IWMReaderAdvanced6 *iface, DWORD *percent, QWORD *bytes_downloaded, QWORD *download)
Definition: wmvcore_main.c:483
__wchar_t WCHAR
Definition: xmlstorage.h:180
static HRESULT WINAPI WMReaderAdvanced2_OpenStream(IWMReaderAdvanced6 *iface, IStream *stream, IWMReaderCallback *callback, void *context)
Definition: wmvcore_main.c:564
static HRESULT WINAPI profile3_SetStorageFormat(IWMProfile3 *iface, WMT_STORAGE_FORMAT storage)
static const IWMReaderPlaylistBurnVtbl WMReaderPlaylistBurnVtbl
LONG HRESULT
Definition: typedefs.h:77
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
static const WCHAR url[]
Definition: encode.c:1432
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL allocate)
Definition: wmvcore_main.c:399
enum tagWMT_STORAGE_FORMAT WMT_STORAGE_FORMAT
static HRESULT WINAPI profile3_GetBandwidthSharingCount(IWMProfile3 *iface, DWORD *count)
static HRESULT WINAPI networkconfig_SetProxySettings(IWMReaderNetworkConfig2 *iface, LPCWSTR protocol, WMT_PROXY_SETTINGS proxy)
Definition: wmvcore_main.c:832
const GUID IID_IUnknown
UINT64 QWORD
Definition: shimdbg.c:104
GLfloat param
Definition: glext.h:5796
#define WINAPI
Definition: msvc.h:8
static HRESULT WINAPI networkconfig_SetUDPPortRanges(IWMReaderNetworkConfig2 *iface, WM_PORT_NUMBER_RANGE *array, DWORD ranges)
Definition: wmvcore_main.c:816
static HRESULT WINAPI profile3_GetMutualExclusionCount(IWMProfile3 *iface, DWORD *count)
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint GLuint num
Definition: glext.h:9618
static ULONG WINAPI headerinfo_AddRef(IWMHeaderInfo3 *iface)
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)
static ULONG WINAPI timecode_Release(IWMReaderTimecode *iface)
static HRESULT WINAPI headerinfo_GetScript(IWMHeaderInfo3 *iface, WORD index, WCHAR *type, WORD *type_len, WCHAR *command, WORD *command_len, QWORD *script_time)
static HRESULT WINAPI profile3_AddStream(IWMProfile3 *iface, IWMStreamConfig *config)
static ULONG WINAPI reader_accl_AddRef(IWMReaderAccelerator *iface)
Definition: wmvcore_main.c:733
GLbitfield flags
Definition: glext.h:7161
static HRESULT WINAPI profile3_SetName(IWMProfile3 *iface, const WCHAR *name)
static HRESULT WINAPI networkconfig_AddLoggingUrl(IWMReaderNetworkConfig2 *iface, const WCHAR *url)
static HRESULT WINAPI WMReaderAdvanced5_SetPlayerHook(IWMReaderAdvanced6 *iface, DWORD output_num, IWMPlayerHook *hook)
Definition: wmvcore_main.c:652
static ULONG WINAPI WMProfileManager_AddRef(IWMProfileManager *iface)
static HRESULT WINAPI networkconfig_SetEnableTCP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: wmvcore_main.c:969
static HRESULT WINAPI networkconfig_GetMaxNetPacketSize(IWMReaderNetworkConfig2 *iface, DWORD *packet_size)
int ret
static HRESULT WINAPI networkconfig_SetEnableFastCache(IWMReaderNetworkConfig2 *iface, BOOL enable)
static HRESULT WINAPI profile3_GetStreamCount(IWMProfile3 *iface, DWORD *count)
static HRESULT WINAPI reader_accl_QueryInterface(IWMReaderAccelerator *iface, REFIID riid, void **object)
Definition: wmvcore_main.c:727
static HRESULT WINAPI refclock_AdvisePeriodic(IReferenceClock *iface, REFERENCE_TIME starttime, REFERENCE_TIME period, HSEMAPHORE semaphore, DWORD_PTR *cookie)
static HRESULT WINAPI WMReader_Stop(IWMReader *iface)
Definition: wmvcore_main.c:257
static ULONG WINAPI langlist_Release(IWMLanguageList *iface)
#define InterlockedDecrement
Definition: armddk.h:52
Definition: parse.h:22
static HRESULT WINAPI readclock_QueryInterface(IWMReaderStreamClock *iface, REFIID riid, void **ppv)
static HRESULT WINAPI networkconfig_SetEnableContentCaching(IWMReaderNetworkConfig2 *iface, BOOL enable)
static HRESULT WINAPI WMReaderAdvanced4_AddLogParam(IWMReaderAdvanced6 *iface, const WCHAR *namespace, const WCHAR *name, const WCHAR *value)
Definition: wmvcore_main.c:616
static HRESULT WINAPI networkconfig_GetProxySettings(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WMT_PROXY_SETTINGS *proxy)
Definition: wmvcore_main.c:824
Definition: stat.h:55
static HRESULT WINAPI networkconfig_GetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2 *iface, BOOL *detection)
Definition: wmvcore_main.c:904
GLenum GLsizei len
Definition: glext.h:6722
static HRESULT WINAPI profile3_GetDescription(IWMProfile3 *iface, WCHAR *description, DWORD *length)
static HRESULT WINAPI headerinfo_GetMarker(IWMHeaderInfo3 *iface, WORD index, WCHAR *marker_name, WORD *marker_len, QWORD *marker_time)
static HRESULT WINAPI networkconfig_ResetProtocolRollover(IWMReaderNetworkConfig2 *iface)
Definition: wmvcore_main.c:976
unsigned char BYTE
Definition: mem.h:68
static const IWMReaderTimecodeVtbl WMReaderTimecodeVtbl
struct _cl_event * event
Definition: glext.h:7739
uint32_t DWORD_PTR
Definition: typedefs.h:63
static const IWMProfile3Vtbl WMProfile3Vtbl
GLenum mode
Definition: glext.h:6217
static HRESULT WINAPI headerinfo_RemoveScript(IWMHeaderInfo3 *iface, WORD index)
static HRESULT WINAPI WMReaderAdvanced_SetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL allocate)
Definition: wmvcore_main.c:413
static HRESULT WINAPI WMReader_GetOutputFormatCount(IWMReader *iface, DWORD output_num, DWORD *formats)
Definition: wmvcore_main.c:236
static HRESULT WINAPI WMReaderAdvanced2_StartAtMarker(IWMReaderAdvanced6 *iface, WORD marker_index, QWORD duration, float rate, void *context)
Definition: wmvcore_main.c:512
static HRESULT WINAPI WMReaderAdvanced2_GetBufferProgress(IWMReaderAdvanced6 *iface, DWORD *percent, QWORD *buffering)
Definition: wmvcore_main.c:476
static HRESULT WINAPI networkconfig_GetSupportedProtocolName(IWMReaderNetworkConfig2 *iface, DWORD protocol_num, WCHAR *protocol, DWORD *size)
static ULONG WINAPI negotiation_Release(IWMReaderTypeNegotiation *iface)
static HRESULT WINAPI headerinfo_GetAttributeCount(IWMHeaderInfo3 *iface, WORD stream_num, WORD *attributes)
GLenum GLint * range
Definition: glext.h:7539
WMT_STREAM_SELECTION
Definition: wmsdkidl.idl:154
static HRESULT WINAPI WMReaderAdvanced4_IsUsingFastCache(IWMReaderAdvanced6 *iface, BOOL *using_fast_cache)
Definition: wmvcore_main.c:609
static HRESULT WINAPI headerinfo_GetScriptCount(IWMHeaderInfo3 *iface, WORD *scripts)
static ULONG WINAPI networkconfig_AddRef(IWMReaderNetworkConfig2 *iface)
Definition: wmvcore_main.c:782
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore)
#define S_OK
Definition: intsafe.h:59
static HRESULT WINAPI WMReaderAdvanced2_Preroll(IWMReaderAdvanced6 *iface, QWORD start, QWORD duration, float rate)
Definition: wmvcore_main.c:536
GLboolean enable
Definition: glext.h:11120
static HRESULT WINAPI reader_accl_Notify(IWMReaderAccelerator *iface, DWORD output, WM_MEDIA_TYPE *subtype)
Definition: wmvcore_main.c:754
static HRESULT WINAPI networkconfig_SetBufferingTime(IWMReaderNetworkConfig2 *iface, QWORD buffering_time)
Definition: wmvcore_main.c:801
#define InterlockedIncrement
Definition: armddk.h:53
static HRESULT WINAPI WMReaderAdvanced2_GetSaveAsProgress(IWMReaderAdvanced6 *iface, DWORD *percent)
Definition: wmvcore_main.c:491
static WMReader * impl_from_IWMLanguageList(IWMLanguageList *iface)
static HRESULT WINAPI WMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced6 *iface, WORD stream_num, WMT_STREAM_SELECTION *selection)
Definition: wmvcore_main.c:361
struct protocol * protocols
Definition: dispatch.c:52
GLuint start
Definition: gl.h:1545
enum tagWMT_OFFSET_FORMAT WMT_OFFSET_FORMAT
IWMReaderStreamClock IWMReaderStreamClock_iface
Definition: wmvcore_main.c:72
static HRESULT WINAPI profile3_ReconfigStream(IWMProfile3 *iface, IWMStreamConfig *config)
static ULONG WINAPI reader_accl_Release(IWMReaderAccelerator *iface)
Definition: wmvcore_main.c:739
static HRESULT WINAPI WMReader_Pause(IWMReader *iface)
Definition: wmvcore_main.c:264
static HRESULT WINAPI timecode_QueryInterface(IWMReaderTimecode *iface, REFIID riid, void **ppv)
#define E_NOTIMPL
Definition: ddrawi.h:99
static HRESULT WINAPI headerinfo_GetAttributeIndices(IWMHeaderInfo3 *iface, WORD stream_num, LPCWSTR name, WORD *lang_index, WORD *indices, WORD *count)
static WMReader * impl_from_IWMHeaderInfo3(IWMHeaderInfo3 *iface)
static WMReader * impl_from_IWMReader(IWMReader *iface)
Definition: wmvcore_main.c:84
IWMReaderAccelerator IWMReaderAccelerator_iface
Definition: wmvcore_main.c:70
static HRESULT WINAPI profile3_GetBandwidthSharing(IWMProfile3 *iface, DWORD index, IWMBandwidthSharing **bandwidth)
static HRESULT WINAPI networkconfig_SetForceRerunAutoProxyDetection(IWMReaderNetworkConfig2 *iface, BOOL detection)
Definition: wmvcore_main.c:912
static HRESULT WINAPI packetsize_GetMinPacketSize(IWMPacketSize2 *iface, DWORD *size)
static ULONG WINAPI playlist_Release(IWMReaderPlaylistBurn *iface)
static const IWMProfileManagerVtbl WMProfileManagerVtbl
static WMReader * impl_from_IReferenceClock(IReferenceClock *iface)
static HRESULT WINAPI networkconfig_GetEnableFastCache(IWMReaderNetworkConfig2 *iface, BOOL *enable)
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
static HRESULT WINAPI profile3_GetExpectedPacketCount(IWMProfile3 *iface, QWORD duration, QWORD *packets)
static const IWMHeaderInfo3Vtbl WMHeaderInfo3Vtbl
static HRESULT WINAPI networkconfig_SetAcceleratedStreamingDuration(IWMReaderNetworkConfig2 *iface, QWORD duration)
static HRESULT WINAPI playlist_QueryInterface(IWMReaderPlaylistBurn *iface, REFIID riid, void **ppv)
WMT_ATTR_DATATYPE
Definition: wmsdkidl.idl:86
static HRESULT WINAPI WMReaderAdvanced3_StopNetStreaming(IWMReaderAdvanced6 *iface)
Definition: wmvcore_main.c:572
static HRESULT WINAPI networkconfig_SetEnableHTTP(IWMReaderNetworkConfig2 *iface, BOOL enable)
Definition: wmvcore_main.c:941
static const IWMReaderTypeNegotiationVtbl WMReaderTypeNegotiationVtbl
Definition: reader.h:83
static HRESULT WINAPI playlist_Cancel(IWMReaderPlaylistBurn *iface)
static HRESULT WINAPI WMReaderAdvanced_GetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL *get_callbacks)
Definition: wmvcore_main.c:376
static WMReader * impl_from_IWMProfile3(IWMProfile3 *iface)
WMT_PLAY_MODE
Definition: wmsdkidl.idl:169
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)
static HRESULT WINAPI WMProfileManager_SaveProfile(IWMProfileManager *iface, IWMProfile *profile, WCHAR *profile_str, DWORD *len)
IWMLanguageList IWMLanguageList_iface
Definition: wmvcore_main.c:77
HRESULT WINAPI WMCreateEditor(IWMMetadataEditor **editor)
Definition: wmvcore_main.c:58
static HRESULT WINAPI networkconfig_GetEnableResends(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: name.c:36
static const WCHAR props[]
Definition: wbemdisp.c:288
static HRESULT WINAPI negotiation_TryOutputProps(IWMReaderTypeNegotiation *iface, DWORD output, IWMOutputMediaProps *props)
static HRESULT WINAPI networkconfig_GetEnableUDP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: wmvcore_main.c:948
unsigned int ULONG
Definition: retypes.h:1
static HRESULT WINAPI WMReaderAdvanced2_GetPlayMode(IWMReaderAdvanced6 *iface, WMT_PLAY_MODE *mode)
Definition: wmvcore_main.c:469
static WMReader * impl_from_IWMReaderPlaylistBurn(IWMReaderPlaylistBurn *iface)
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
Definition: compat.h:41
static ULONG WINAPI refclock_AddRef(IReferenceClock *iface)
static HRESULT WINAPI profile3_RemoveStreamPrioritization(IWMProfile3 *iface)
static HRESULT WINAPI reader_accl_GetCodecInterface(IWMReaderAccelerator *iface, DWORD output, REFIID riid, void **codec)
Definition: wmvcore_main.c:745
static HRESULT WINAPI WMProfileManager_LoadProfileByData(IWMProfileManager *iface, const WCHAR *profile, IWMProfile **ret)
#define profile
Definition: kernel32.h:12
static HRESULT WINAPI networkconfig_GetEnableHTTP(IWMReaderNetworkConfig2 *iface, BOOL *enable)
Definition: wmvcore_main.c:934
static ULONG WINAPI negotiation_AddRef(IWMReaderTypeNegotiation *iface)
static HRESULT WINAPI refclock_QueryInterface(IReferenceClock *iface, REFIID riid, void **ppv)
static HRESULT WINAPI headerinfo_GetCodecInfoCount(IWMHeaderInfo3 *iface, DWORD *codec_infos)
static HRESULT WINAPI networkconfig_SetAutoReconnectLimit(IWMReaderNetworkConfig2 *iface, DWORD limit)
LONG ref
Definition: wmvcore_main.c:81
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForOutput(IWMReaderAdvanced6 *iface, DWORD output_num, BOOL *allocate)
Definition: wmvcore_main.c:406
static ULONG WINAPI profile3_AddRef(IWMProfile3 *iface)
static HRESULT WINAPI profile3_AddMutualExclusion(IWMProfile3 *iface, IWMMutualExclusion *mutual)
static HRESULT WINAPI WMReaderAdvanced_GetReceiveStreamSamples(IWMReaderAdvanced6 *iface, WORD stream_num, BOOL *receive_stream_samples)
Definition: wmvcore_main.c:391
static HRESULT WINAPI readclock_KillTimer(IWMReaderStreamClock *iface, DWORD id)
static HRESULT WINAPI networkconfig_GetLoggingUrlCount(IWMReaderNetworkConfig2 *iface, DWORD *count)
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE
Definition: wmsdkidl.idl:222
static ULONG WINAPI packetsize_Release(IWMPacketSize2 *iface)
static HRESULT WINAPI WMReaderAdvanced_GetAllocateForStream(IWMReaderAdvanced6 *iface, WORD output_num, BOOL *allocate)
Definition: wmvcore_main.c:420
static const IWMLanguageListVtbl WMLanguageListVtbl
HRESULT WINAPI WMCreateSyncReader(IUnknown *pcert, DWORD rights, IWMSyncReader **syncreader)
static ULONG WINAPI networkconfig_Release(IWMReaderNetworkConfig2 *iface)
Definition: wmvcore_main.c:788
USHORT port
Definition: uri.c:227
GLuint64EXT * result
Definition: glext.h:11304
static HRESULT WINAPI packetsize_SetMaxPacketSize(IWMPacketSize2 *iface, DWORD size)
static HRESULT WINAPI networkconfig_GetEnableContentCaching(IWMReaderNetworkConfig2 *iface, BOOL *enable)
static HRESULT WINAPI networkconfig_GetAcceleratedStreamingDuration(IWMReaderNetworkConfig2 *iface, QWORD *duration)
IWMReaderPlaylistBurn IWMReaderPlaylistBurn_iface
Definition: wmvcore_main.c:75
static HRESULT WINAPI profile3_GetMutualExclusion(IWMProfile3 *iface, DWORD index, IWMMutualExclusion **mutual)
static HRESULT WINAPI networkconfig_SetEnableThinning(IWMReaderNetworkConfig2 *iface, BOOL enable)
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: wmvcore_main.c:659
static HRESULT WINAPI WMReaderAdvanced2_GetProtocolName(IWMReaderAdvanced6 *iface, WCHAR *protocol, DWORD *protocol_len)
Definition: wmvcore_main.c:505
static HRESULT WINAPI networkconfig_SetProxyExceptionList(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, const WCHAR *exceptions)
Definition: wmvcore_main.c:880
static HRESULT WINAPI readclock_SetTimer(IWMReaderStreamClock *iface, QWORD when, void *param, DWORD *id)
static ULONG WINAPI playlist_AddRef(IWMReaderPlaylistBurn *iface)
static HRESULT WINAPI profile3_QueryInterface(IWMProfile3 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI WMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced6 *iface, WORD stream_count, WORD *stream_numbers, WMT_STREAM_SELECTION *selections)
Definition: wmvcore_main.c:353
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
static HRESULT WINAPI WMReader_Close(IWMReader *iface)
Definition: wmvcore_main.c:208
static HRESULT WINAPI profile3_GetStreamPrioritization(IWMProfile3 *iface, IWMStreamPrioritization **stream)
IWMProfileManager IWMProfileManager_iface
DWORD_PTR HEVENT
Definition: axcore.idl:61
static HRESULT WINAPI networkconfig_GetProxyExceptionList(IWMReaderNetworkConfig2 *iface, const WCHAR *protocol, WCHAR *exceptions, DWORD *count)
Definition: wmvcore_main.c:872