-
Notifications
You must be signed in to change notification settings - Fork 8
/
tvpsnd.h
814 lines (545 loc) · 24.3 KB
/
tvpsnd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Tue Oct 03 00:37:04 2000
*/
/* Compiler settings for tvpsnd.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __tvpsnd_h__
#define __tvpsnd_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __ITSSMediaBaseInfo_FWD_DEFINED__
#define __ITSSMediaBaseInfo_FWD_DEFINED__
typedef interface ITSSMediaBaseInfo ITSSMediaBaseInfo;
#endif /* __ITSSMediaBaseInfo_FWD_DEFINED__ */
#ifndef __ITSSStorageProvider_FWD_DEFINED__
#define __ITSSStorageProvider_FWD_DEFINED__
typedef interface ITSSStorageProvider ITSSStorageProvider;
#endif /* __ITSSStorageProvider_FWD_DEFINED__ */
#ifndef __ITSSModule_FWD_DEFINED__
#define __ITSSModule_FWD_DEFINED__
typedef interface ITSSModule ITSSModule;
#endif /* __ITSSModule_FWD_DEFINED__ */
#ifndef __ITSSWaveDecoder_FWD_DEFINED__
#define __ITSSWaveDecoder_FWD_DEFINED__
typedef interface ITSSWaveDecoder ITSSWaveDecoder;
#endif /* __ITSSWaveDecoder_FWD_DEFINED__ */
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __TVPSndSysLib_LIBRARY_DEFINED__
#define __TVPSndSysLib_LIBRARY_DEFINED__
/* library TVPSndSysLib */
/* [helpstring][version][uuid] */
typedef /* [helpstring][version][uuid] */ struct tagTSSWaveFormat
{
/* [helpstring] */ unsigned long dwSamplesPerSec;
/* [helpstring] */ unsigned long dwChannels;
/* [helpstring] */ unsigned long dwBitsPerSample;
/* [helpstring] */ unsigned long dwSeekable;
/* [helpstring] */ unsigned __int64 ui64TotalSamples;
/* [helpstring] */ unsigned long dwTotalTime;
long dwReserved1;
long dwReserved2;
} TSSWaveFormat;
EXTERN_C const IID LIBID_TVPSndSysLib;
#ifndef __ITSSMediaBaseInfo_INTERFACE_DEFINED__
#define __ITSSMediaBaseInfo_INTERFACE_DEFINED__
/* interface ITSSMediaBaseInfo */
/* [object][helpstring][version][uuid] */
EXTERN_C const IID IID_ITSSMediaBaseInfo;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B4C4239B-7D27-43CC-8523-66955BDF59DF")
ITSSMediaBaseInfo : public IUnknown
{
public:
virtual /* [helpstring][id] */ HRESULT __stdcall GetMediaType(
/* [in] */ LPWSTR shortname,
/* [in] */ LPWSTR descbuf,
/* [in] */ unsigned long descbuflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetLength(
/* [retval][out] */ unsigned long __RPC_FAR *length) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetTitle(
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetCopyright(
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetComment(
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetArtist(
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen) = 0;
};
#else /* C style interface */
typedef struct ITSSMediaBaseInfoVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITSSMediaBaseInfo __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITSSMediaBaseInfo __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetMediaType )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR shortname,
/* [in] */ LPWSTR descbuf,
/* [in] */ unsigned long descbuflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetLength )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [retval][out] */ unsigned long __RPC_FAR *length);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetTitle )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetCopyright )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetComment )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetArtist )(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
END_INTERFACE
} ITSSMediaBaseInfoVtbl;
interface ITSSMediaBaseInfo
{
CONST_VTBL struct ITSSMediaBaseInfoVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITSSMediaBaseInfo_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITSSMediaBaseInfo_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITSSMediaBaseInfo_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITSSMediaBaseInfo_GetMediaType(This,shortname,descbuf,descbuflen) \
(This)->lpVtbl -> GetMediaType(This,shortname,descbuf,descbuflen)
#define ITSSMediaBaseInfo_GetLength(This,length) \
(This)->lpVtbl -> GetLength(This,length)
#define ITSSMediaBaseInfo_GetTitle(This,buf,buflen) \
(This)->lpVtbl -> GetTitle(This,buf,buflen)
#define ITSSMediaBaseInfo_GetCopyright(This,buf,buflen) \
(This)->lpVtbl -> GetCopyright(This,buf,buflen)
#define ITSSMediaBaseInfo_GetComment(This,buf,buflen) \
(This)->lpVtbl -> GetComment(This,buf,buflen)
#define ITSSMediaBaseInfo_GetArtist(This,buf,buflen) \
(This)->lpVtbl -> GetArtist(This,buf,buflen)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetMediaType_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR shortname,
/* [in] */ LPWSTR descbuf,
/* [in] */ unsigned long descbuflen);
void __RPC_STUB ITSSMediaBaseInfo_GetMediaType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetLength_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [retval][out] */ unsigned long __RPC_FAR *length);
void __RPC_STUB ITSSMediaBaseInfo_GetLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetTitle_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSMediaBaseInfo_GetTitle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetCopyright_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSMediaBaseInfo_GetCopyright_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetComment_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSMediaBaseInfo_GetComment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSMediaBaseInfo_GetArtist_Proxy(
ITSSMediaBaseInfo __RPC_FAR * This,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSMediaBaseInfo_GetArtist_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITSSMediaBaseInfo_INTERFACE_DEFINED__ */
#ifndef __ITSSStorageProvider_INTERFACE_DEFINED__
#define __ITSSStorageProvider_INTERFACE_DEFINED__
/* interface ITSSStorageProvider */
/* [object][helpstring][version][uuid] */
EXTERN_C const IID IID_ITSSStorageProvider;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7DD61993-615D-481D-B060-A9FD48394430")
ITSSStorageProvider : public IUnknown
{
public:
virtual /* [helpstring][id] */ HRESULT __stdcall GetStreamForRead(
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetStreamForWrite(
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetStreamForUpdate(
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream) = 0;
};
#else /* C style interface */
typedef struct ITSSStorageProviderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITSSStorageProvider __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITSSStorageProvider __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetStreamForRead )(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetStreamForWrite )(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetStreamForUpdate )(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
END_INTERFACE
} ITSSStorageProviderVtbl;
interface ITSSStorageProvider
{
CONST_VTBL struct ITSSStorageProviderVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITSSStorageProvider_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITSSStorageProvider_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITSSStorageProvider_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITSSStorageProvider_GetStreamForRead(This,url,stream) \
(This)->lpVtbl -> GetStreamForRead(This,url,stream)
#define ITSSStorageProvider_GetStreamForWrite(This,url,stream) \
(This)->lpVtbl -> GetStreamForWrite(This,url,stream)
#define ITSSStorageProvider_GetStreamForUpdate(This,url,stream) \
(This)->lpVtbl -> GetStreamForUpdate(This,url,stream)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT __stdcall ITSSStorageProvider_GetStreamForRead_Proxy(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
void __RPC_STUB ITSSStorageProvider_GetStreamForRead_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSStorageProvider_GetStreamForWrite_Proxy(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
void __RPC_STUB ITSSStorageProvider_GetStreamForWrite_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSStorageProvider_GetStreamForUpdate_Proxy(
ITSSStorageProvider __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *stream);
void __RPC_STUB ITSSStorageProvider_GetStreamForUpdate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITSSStorageProvider_INTERFACE_DEFINED__ */
#ifndef __ITSSModule_INTERFACE_DEFINED__
#define __ITSSModule_INTERFACE_DEFINED__
/* interface ITSSModule */
/* [object][helpstring][version][uuid] */
EXTERN_C const IID IID_ITSSModule;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A938D1A5-2980-498B-B051-99931D41895D")
ITSSModule : public IUnknown
{
public:
virtual /* [helpstring][id] */ HRESULT __stdcall GetModuleCopyright(
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetModuleDescription(
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetSupportExts(
/* [in] */ unsigned long index,
/* [in] */ LPWSTR mediashortname,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetMediaInfo(
/* [in] */ LPWSTR url,
/* [retval][out] */ ITSSMediaBaseInfo __RPC_FAR *__RPC_FAR *info) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetMediaSupport(
/* [in] */ LPWSTR url) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall GetMediaInstance(
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *instance) = 0;
};
#else /* C style interface */
typedef struct ITSSModuleVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITSSModule __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITSSModule __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITSSModule __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetModuleCopyright )(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetModuleDescription )(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetSupportExts )(
ITSSModule __RPC_FAR * This,
/* [in] */ unsigned long index,
/* [in] */ LPWSTR mediashortname,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetMediaInfo )(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ ITSSMediaBaseInfo __RPC_FAR *__RPC_FAR *info);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetMediaSupport )(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetMediaInstance )(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *instance);
END_INTERFACE
} ITSSModuleVtbl;
interface ITSSModule
{
CONST_VTBL struct ITSSModuleVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITSSModule_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITSSModule_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITSSModule_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITSSModule_GetModuleCopyright(This,buffer,buflen) \
(This)->lpVtbl -> GetModuleCopyright(This,buffer,buflen)
#define ITSSModule_GetModuleDescription(This,buffer,buflen) \
(This)->lpVtbl -> GetModuleDescription(This,buffer,buflen)
#define ITSSModule_GetSupportExts(This,index,mediashortname,buf,buflen) \
(This)->lpVtbl -> GetSupportExts(This,index,mediashortname,buf,buflen)
#define ITSSModule_GetMediaInfo(This,url,info) \
(This)->lpVtbl -> GetMediaInfo(This,url,info)
#define ITSSModule_GetMediaSupport(This,url) \
(This)->lpVtbl -> GetMediaSupport(This,url)
#define ITSSModule_GetMediaInstance(This,url,instance) \
(This)->lpVtbl -> GetMediaInstance(This,url,instance)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetModuleCopyright_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSModule_GetModuleCopyright_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetModuleDescription_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR buffer,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSModule_GetModuleDescription_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetSupportExts_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ unsigned long index,
/* [in] */ LPWSTR mediashortname,
/* [in] */ LPWSTR buf,
/* [in] */ unsigned long buflen);
void __RPC_STUB ITSSModule_GetSupportExts_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetMediaInfo_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ ITSSMediaBaseInfo __RPC_FAR *__RPC_FAR *info);
void __RPC_STUB ITSSModule_GetMediaInfo_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetMediaSupport_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url);
void __RPC_STUB ITSSModule_GetMediaSupport_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSModule_GetMediaInstance_Proxy(
ITSSModule __RPC_FAR * This,
/* [in] */ LPWSTR url,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *instance);
void __RPC_STUB ITSSModule_GetMediaInstance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITSSModule_INTERFACE_DEFINED__ */
#ifndef __ITSSWaveDecoder_INTERFACE_DEFINED__
#define __ITSSWaveDecoder_INTERFACE_DEFINED__
/* interface ITSSWaveDecoder */
/* [object][helpstring][version][uuid] */
EXTERN_C const IID IID_ITSSWaveDecoder;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("313864E2-910E-496F-8A6D-43465C105B58")
ITSSWaveDecoder : public IUnknown
{
public:
virtual /* [helpstring][id] */ HRESULT __stdcall GetFormat(
/* [in] */ TSSWaveFormat __RPC_FAR *format) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall Render(
/* [in] */ void __RPC_FAR *buf,
/* [in] */ unsigned long bufsamplelen,
/* [out] */ unsigned long __RPC_FAR *rendered,
/* [retval][out] */ unsigned long __RPC_FAR *status) = 0;
virtual /* [helpstring][id] */ HRESULT __stdcall SetPosition(
/* [in] */ unsigned __int64 samplepos) = 0;
};
#else /* C style interface */
typedef struct ITSSWaveDecoderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITSSWaveDecoder __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITSSWaveDecoder __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetFormat )(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ TSSWaveFormat __RPC_FAR *format);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *Render )(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ void __RPC_FAR *buf,
/* [in] */ unsigned long bufsamplelen,
/* [out] */ unsigned long __RPC_FAR *rendered,
/* [retval][out] */ unsigned long __RPC_FAR *status);
/* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *SetPosition )(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ unsigned __int64 samplepos);
END_INTERFACE
} ITSSWaveDecoderVtbl;
interface ITSSWaveDecoder
{
CONST_VTBL struct ITSSWaveDecoderVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITSSWaveDecoder_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITSSWaveDecoder_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITSSWaveDecoder_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITSSWaveDecoder_GetFormat(This,format) \
(This)->lpVtbl -> GetFormat(This,format)
#define ITSSWaveDecoder_Render(This,buf,bufsamplelen,rendered,status) \
(This)->lpVtbl -> Render(This,buf,bufsamplelen,rendered,status)
#define ITSSWaveDecoder_SetPosition(This,samplepos) \
(This)->lpVtbl -> SetPosition(This,samplepos)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT __stdcall ITSSWaveDecoder_GetFormat_Proxy(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ TSSWaveFormat __RPC_FAR *format);
void __RPC_STUB ITSSWaveDecoder_GetFormat_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSWaveDecoder_Render_Proxy(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ void __RPC_FAR *buf,
/* [in] */ unsigned long bufsamplelen,
/* [out] */ unsigned long __RPC_FAR *rendered,
/* [retval][out] */ unsigned long __RPC_FAR *status);
void __RPC_STUB ITSSWaveDecoder_Render_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT __stdcall ITSSWaveDecoder_SetPosition_Proxy(
ITSSWaveDecoder __RPC_FAR * This,
/* [in] */ unsigned __int64 samplepos);
void __RPC_STUB ITSSWaveDecoder_SetPosition_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITSSWaveDecoder_INTERFACE_DEFINED__ */
#endif /* __TVPSndSysLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif