-
Notifications
You must be signed in to change notification settings - Fork 0
/
iTunesCOMInterface.h
13856 lines (9476 loc) · 496 KB
/
iTunesCOMInterface.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
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Dec 14 17:59:54 2006
*/
/* Compiler settings for iTunesCOMInterface.idl:
Oicf (OptLev=i2), 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 __iTunesCOMInterface_h__
#define __iTunesCOMInterface_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IITObject_FWD_DEFINED__
#define __IITObject_FWD_DEFINED__
typedef interface IITObject IITObject;
#endif /* __IITObject_FWD_DEFINED__ */
#ifndef __IITSource_FWD_DEFINED__
#define __IITSource_FWD_DEFINED__
typedef interface IITSource IITSource;
#endif /* __IITSource_FWD_DEFINED__ */
#ifndef __IITSourceCollection_FWD_DEFINED__
#define __IITSourceCollection_FWD_DEFINED__
typedef interface IITSourceCollection IITSourceCollection;
#endif /* __IITSourceCollection_FWD_DEFINED__ */
#ifndef __IITEncoder_FWD_DEFINED__
#define __IITEncoder_FWD_DEFINED__
typedef interface IITEncoder IITEncoder;
#endif /* __IITEncoder_FWD_DEFINED__ */
#ifndef __IITEncoderCollection_FWD_DEFINED__
#define __IITEncoderCollection_FWD_DEFINED__
typedef interface IITEncoderCollection IITEncoderCollection;
#endif /* __IITEncoderCollection_FWD_DEFINED__ */
#ifndef __IITEQPreset_FWD_DEFINED__
#define __IITEQPreset_FWD_DEFINED__
typedef interface IITEQPreset IITEQPreset;
#endif /* __IITEQPreset_FWD_DEFINED__ */
#ifndef __IITEQPresetCollection_FWD_DEFINED__
#define __IITEQPresetCollection_FWD_DEFINED__
typedef interface IITEQPresetCollection IITEQPresetCollection;
#endif /* __IITEQPresetCollection_FWD_DEFINED__ */
#ifndef __IITPlaylist_FWD_DEFINED__
#define __IITPlaylist_FWD_DEFINED__
typedef interface IITPlaylist IITPlaylist;
#endif /* __IITPlaylist_FWD_DEFINED__ */
#ifndef __IITOperationStatus_FWD_DEFINED__
#define __IITOperationStatus_FWD_DEFINED__
typedef interface IITOperationStatus IITOperationStatus;
#endif /* __IITOperationStatus_FWD_DEFINED__ */
#ifndef __IITConvertOperationStatus_FWD_DEFINED__
#define __IITConvertOperationStatus_FWD_DEFINED__
typedef interface IITConvertOperationStatus IITConvertOperationStatus;
#endif /* __IITConvertOperationStatus_FWD_DEFINED__ */
#ifndef __IITLibraryPlaylist_FWD_DEFINED__
#define __IITLibraryPlaylist_FWD_DEFINED__
typedef interface IITLibraryPlaylist IITLibraryPlaylist;
#endif /* __IITLibraryPlaylist_FWD_DEFINED__ */
#ifndef __IITUserPlaylist_FWD_DEFINED__
#define __IITUserPlaylist_FWD_DEFINED__
typedef interface IITUserPlaylist IITUserPlaylist;
#endif /* __IITUserPlaylist_FWD_DEFINED__ */
#ifndef __IITTrack_FWD_DEFINED__
#define __IITTrack_FWD_DEFINED__
typedef interface IITTrack IITTrack;
#endif /* __IITTrack_FWD_DEFINED__ */
#ifndef __IITTrackCollection_FWD_DEFINED__
#define __IITTrackCollection_FWD_DEFINED__
typedef interface IITTrackCollection IITTrackCollection;
#endif /* __IITTrackCollection_FWD_DEFINED__ */
#ifndef __IITVisual_FWD_DEFINED__
#define __IITVisual_FWD_DEFINED__
typedef interface IITVisual IITVisual;
#endif /* __IITVisual_FWD_DEFINED__ */
#ifndef __IITVisualCollection_FWD_DEFINED__
#define __IITVisualCollection_FWD_DEFINED__
typedef interface IITVisualCollection IITVisualCollection;
#endif /* __IITVisualCollection_FWD_DEFINED__ */
#ifndef __IITWindow_FWD_DEFINED__
#define __IITWindow_FWD_DEFINED__
typedef interface IITWindow IITWindow;
#endif /* __IITWindow_FWD_DEFINED__ */
#ifndef __IITBrowserWindow_FWD_DEFINED__
#define __IITBrowserWindow_FWD_DEFINED__
typedef interface IITBrowserWindow IITBrowserWindow;
#endif /* __IITBrowserWindow_FWD_DEFINED__ */
#ifndef __IITWindowCollection_FWD_DEFINED__
#define __IITWindowCollection_FWD_DEFINED__
typedef interface IITWindowCollection IITWindowCollection;
#endif /* __IITWindowCollection_FWD_DEFINED__ */
#ifndef __IiTunes_FWD_DEFINED__
#define __IiTunes_FWD_DEFINED__
typedef interface IiTunes IiTunes;
#endif /* __IiTunes_FWD_DEFINED__ */
#ifndef ___IiTunesEvents_FWD_DEFINED__
#define ___IiTunesEvents_FWD_DEFINED__
typedef interface _IiTunesEvents _IiTunesEvents;
#endif /* ___IiTunesEvents_FWD_DEFINED__ */
#ifndef ___IITConvertOperationStatusEvents_FWD_DEFINED__
#define ___IITConvertOperationStatusEvents_FWD_DEFINED__
typedef interface _IITConvertOperationStatusEvents _IITConvertOperationStatusEvents;
#endif /* ___IITConvertOperationStatusEvents_FWD_DEFINED__ */
#ifndef __iTunesApp_FWD_DEFINED__
#define __iTunesApp_FWD_DEFINED__
#ifdef __cplusplus
typedef class iTunesApp iTunesApp;
#else
typedef struct iTunesApp iTunesApp;
#endif /* __cplusplus */
#endif /* __iTunesApp_FWD_DEFINED__ */
#ifndef __iTunesConvertOperationStatus_FWD_DEFINED__
#define __iTunesConvertOperationStatus_FWD_DEFINED__
#ifdef __cplusplus
typedef class iTunesConvertOperationStatus iTunesConvertOperationStatus;
#else
typedef struct iTunesConvertOperationStatus iTunesConvertOperationStatus;
#endif /* __cplusplus */
#endif /* __iTunesConvertOperationStatus_FWD_DEFINED__ */
#ifndef __IITArtwork_FWD_DEFINED__
#define __IITArtwork_FWD_DEFINED__
typedef interface IITArtwork IITArtwork;
#endif /* __IITArtwork_FWD_DEFINED__ */
#ifndef __IITArtworkCollection_FWD_DEFINED__
#define __IITArtworkCollection_FWD_DEFINED__
typedef interface IITArtworkCollection IITArtworkCollection;
#endif /* __IITArtworkCollection_FWD_DEFINED__ */
#ifndef __IITURLTrack_FWD_DEFINED__
#define __IITURLTrack_FWD_DEFINED__
typedef interface IITURLTrack IITURLTrack;
#endif /* __IITURLTrack_FWD_DEFINED__ */
#ifndef __IITAudioCDPlaylist_FWD_DEFINED__
#define __IITAudioCDPlaylist_FWD_DEFINED__
typedef interface IITAudioCDPlaylist IITAudioCDPlaylist;
#endif /* __IITAudioCDPlaylist_FWD_DEFINED__ */
#ifndef __IITPlaylistCollection_FWD_DEFINED__
#define __IITPlaylistCollection_FWD_DEFINED__
typedef interface IITPlaylistCollection IITPlaylistCollection;
#endif /* __IITPlaylistCollection_FWD_DEFINED__ */
#ifndef __IITIPodSource_FWD_DEFINED__
#define __IITIPodSource_FWD_DEFINED__
typedef interface IITIPodSource IITIPodSource;
#endif /* __IITIPodSource_FWD_DEFINED__ */
#ifndef __IITFileOrCDTrack_FWD_DEFINED__
#define __IITFileOrCDTrack_FWD_DEFINED__
typedef interface IITFileOrCDTrack IITFileOrCDTrack;
#endif /* __IITFileOrCDTrack_FWD_DEFINED__ */
#ifndef __IITPlaylistWindow_FWD_DEFINED__
#define __IITPlaylistWindow_FWD_DEFINED__
typedef interface IITPlaylistWindow IITPlaylistWindow;
#endif /* __IITPlaylistWindow_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "DispEx.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_iTunesCOMInterface_0000 */
/* [local] */
typedef /* [public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0000_0001
{ kITTypeLibrary_MajorVersion = 1,
kITTypeLibrary_MinorVersion = 9
} ITVersion;
typedef /* [public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0000_0002
{ ITUNES_E_USERCANCEL = 0xa0040201,
ITUNES_E_OBJECTDELETED = 0xa0040202,
ITUNES_E_OBJECTLOCKED = 0xa0040203,
ITUNES_E_CONVERSIONINPROGRESS = 0xa0040204,
ITUNES_E_MUSICSTOREDISABLED = 0xa0040205,
ITUNES_E_OBJECTEXISTS = 0xa0040206,
ITUNES_E_PODCASTSDISABLED = 0xa0040207
} ITErrors;
extern RPC_IF_HANDLE __MIDL_itf_iTunesCOMInterface_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_iTunesCOMInterface_0000_v0_0_s_ifspec;
#ifndef __iTunesLib_LIBRARY_DEFINED__
#define __iTunesLib_LIBRARY_DEFINED__
/* library iTunesLib */
/* [helpstring][uuid][version] */
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0001
{ ITPlayerStateStopped = 0,
ITPlayerStatePlaying = ITPlayerStateStopped + 1,
ITPlayerStateFastForward = ITPlayerStatePlaying + 1,
ITPlayerStateRewind = ITPlayerStateFastForward + 1
} ITPlayerState;
typedef /* [public][public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0002
{ ITVisualSizeSmall = 0,
ITVisualSizeMedium = ITVisualSizeSmall + 1,
ITVisualSizeLarge = ITVisualSizeMedium + 1
} ITVisualSize;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0003
{ ITCOMDisabledReasonOther = 0,
ITCOMDisabledReasonDialog = ITCOMDisabledReasonOther + 1,
ITCOMDisabledReasonQuitting = ITCOMDisabledReasonDialog + 1
} ITCOMDisabledReason;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0004
{ ITPlayButtonStatePlayDisabled = 0,
ITPlayButtonStatePlayEnabled = ITPlayButtonStatePlayDisabled + 1,
ITPlayButtonStatePauseEnabled = ITPlayButtonStatePlayEnabled + 1,
ITPlayButtonStatePauseDisabled = ITPlayButtonStatePauseEnabled + 1,
ITPlayButtonStateStopEnabled = ITPlayButtonStatePauseDisabled + 1,
ITPlayButtonStateStopDisabled = ITPlayButtonStateStopEnabled + 1
} ITPlayButtonState;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0005
{ ITPlayerButtonPrevious = 0,
ITPlayerButtonPlay = ITPlayerButtonPrevious + 1,
ITPlayerButtonNext = ITPlayerButtonPlay + 1
} ITPlayerButton;
typedef /* [public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0267_0006
{ ITPlayerButtonModifierKeyNone = 0,
ITPlayerButtonModifierKeyShift = 1,
ITPlayerButtonModifierKeyControl = 2,
ITPlayerButtonModifierKeyAlt = 4,
ITPlayerButtonModifierKeyCapsLock = 8
} ITPlayerButtonModifierKey;
typedef /* [public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0270_0001
{ ITEventDatabaseChanged = 1,
ITEventPlayerPlay = 2,
ITEventPlayerStop = 3,
ITEventPlayerPlayingTrackChanged = 4,
ITEventUserInterfaceEnabled = 5,
ITEventCOMCallsDisabled = 6,
ITEventCOMCallsEnabled = 7,
ITEventQuitting = 8,
ITEventAboutToPromptUserToQuit = 9,
ITEventSoundVolumeChanged = 10
} ITEvent;
typedef /* [public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0271_0001
{ ITConvertOperationStatusChanged = 1,
ITConvertOperationComplete = 2
} ITConvertOperationStatusEvent;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0272_0001
{ ITArtworkFormatUnknown = 0,
ITArtworkFormatJPEG = ITArtworkFormatUnknown + 1,
ITArtworkFormatPNG = ITArtworkFormatJPEG + 1,
ITArtworkFormatBMP = ITArtworkFormatPNG + 1
} ITArtworkFormat;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0278_0001
{ ITPlaylistKindUnknown = 0,
ITPlaylistKindLibrary = ITPlaylistKindUnknown + 1,
ITPlaylistKindUser = ITPlaylistKindLibrary + 1,
ITPlaylistKindCD = ITPlaylistKindUser + 1,
ITPlaylistKindDevice = ITPlaylistKindCD + 1,
ITPlaylistKindRadioTuner = ITPlaylistKindDevice + 1
} ITPlaylistKind;
typedef /* [public][public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0278_0002
{ ITPlaylistRepeatModeOff = 0,
ITPlaylistRepeatModeOne = ITPlaylistRepeatModeOff + 1,
ITPlaylistRepeatModeAll = ITPlaylistRepeatModeOne + 1
} ITPlaylistRepeatMode;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0278_0003
{ ITPlaylistPrintKindPlaylist = 0,
ITPlaylistPrintKindAlbumlist = ITPlaylistPrintKindPlaylist + 1,
ITPlaylistPrintKindInsert = ITPlaylistPrintKindAlbumlist + 1
} ITPlaylistPrintKind;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0278_0004
{ ITPlaylistSearchFieldAll = 0,
ITPlaylistSearchFieldVisible = ITPlaylistSearchFieldAll + 1,
ITPlaylistSearchFieldArtists = ITPlaylistSearchFieldVisible + 1,
ITPlaylistSearchFieldAlbums = ITPlaylistSearchFieldArtists + 1,
ITPlaylistSearchFieldComposers = ITPlaylistSearchFieldAlbums + 1,
ITPlaylistSearchFieldSongNames = ITPlaylistSearchFieldComposers + 1
} ITPlaylistSearchField;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0280_0001
{ ITUserPlaylistSpecialKindNone = 0,
ITUserPlaylistSpecialKindPurchasedMusic = ITUserPlaylistSpecialKindNone + 1,
ITUserPlaylistSpecialKindPartyShuffle = ITUserPlaylistSpecialKindPurchasedMusic + 1,
ITUserPlaylistSpecialKindPodcasts = ITUserPlaylistSpecialKindPartyShuffle + 1,
ITUserPlaylistSpecialKindFolder = ITUserPlaylistSpecialKindPodcasts + 1,
ITUserPlaylistSpecialKindVideos = ITUserPlaylistSpecialKindFolder + 1,
ITUserPlaylistSpecialKindMusic = ITUserPlaylistSpecialKindVideos + 1,
ITUserPlaylistSpecialKindMovies = ITUserPlaylistSpecialKindMusic + 1,
ITUserPlaylistSpecialKindTVShows = ITUserPlaylistSpecialKindMovies + 1,
ITUserPlaylistSpecialKindAudiobooks = ITUserPlaylistSpecialKindTVShows + 1
} ITUserPlaylistSpecialKind;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0283_0001
{ ITSourceKindUnknown = 0,
ITSourceKindLibrary = ITSourceKindUnknown + 1,
ITSourceKindIPod = ITSourceKindLibrary + 1,
ITSourceKindAudioCD = ITSourceKindIPod + 1,
ITSourceKindMP3CD = ITSourceKindAudioCD + 1,
ITSourceKindDevice = ITSourceKindMP3CD + 1,
ITSourceKindRadioTuner = ITSourceKindDevice + 1,
ITSourceKindSharedLibrary = ITSourceKindRadioTuner + 1
} ITSourceKind;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0286_0001
{ ITTrackKindUnknown = 0,
ITTrackKindFile = ITTrackKindUnknown + 1,
ITTrackKindCD = ITTrackKindFile + 1,
ITTrackKindURL = ITTrackKindCD + 1,
ITTrackKindDevice = ITTrackKindURL + 1,
ITTrackKindSharedLibrary = ITTrackKindDevice + 1
} ITTrackKind;
typedef /* [public][public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0286_0002
{ ITVideoKindNone = 0,
ITVideoKindMovie = ITVideoKindNone + 1,
ITVideoKindMusicVideo = ITVideoKindMovie + 1,
ITVideoKindTVShow = ITVideoKindMusicVideo + 1
} ITVideoKind;
typedef /* [public][public][v1_enum][uuid] */
enum __MIDL___MIDL_itf_iTunesCOMInterface_0292_0001
{ ITWindowKindUnknown = 0,
ITWindowKindBrowser = ITWindowKindUnknown + 1,
ITWindowKindPlaylist = ITWindowKindBrowser + 1,
ITWindowKindEQ = ITWindowKindPlaylist + 1,
ITWindowKindArtwork = ITWindowKindEQ + 1,
ITWindowKindNowPlaying = ITWindowKindArtwork + 1
} ITWindowKind;
EXTERN_C const IID LIBID_iTunesLib;
#ifndef __IITObject_INTERFACE_DEFINED__
#define __IITObject_INTERFACE_DEFINED__
/* interface IITObject */
/* [hidden][unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IITObject;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9FAB0E27-70D7-4e3a-9965-B0C8B8869BB6")
IITObject : public IDispatch
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetITObjectIDs(
/* [out] */ long __RPC_FAR *sourceID,
/* [out] */ long __RPC_FAR *playlistID,
/* [out] */ long __RPC_FAR *trackID,
/* [out] */ long __RPC_FAR *databaseID) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
/* [retval][out] */ BSTR __RPC_FAR *name) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
/* [in] */ BSTR name) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Index(
/* [retval][out] */ long __RPC_FAR *index) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SourceID(
/* [retval][out] */ long __RPC_FAR *sourceID) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PlaylistID(
/* [retval][out] */ long __RPC_FAR *playlistID) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_TrackID(
/* [retval][out] */ long __RPC_FAR *trackID) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_TrackDatabaseID(
/* [retval][out] */ long __RPC_FAR *databaseID) = 0;
};
#else /* C style interface */
typedef struct IITObjectVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IITObject __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IITObject __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IITObject __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IITObject __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IITObject __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IITObject __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IITObject __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetITObjectIDs )(
IITObject __RPC_FAR * This,
/* [out] */ long __RPC_FAR *sourceID,
/* [out] */ long __RPC_FAR *playlistID,
/* [out] */ long __RPC_FAR *trackID,
/* [out] */ long __RPC_FAR *databaseID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
IITObject __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *name);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
IITObject __RPC_FAR * This,
/* [in] */ BSTR name);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Index )(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *index);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SourceID )(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *sourceID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PlaylistID )(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *playlistID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TrackID )(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *trackID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TrackDatabaseID )(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *databaseID);
END_INTERFACE
} IITObjectVtbl;
interface IITObject
{
CONST_VTBL struct IITObjectVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IITObject_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IITObject_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IITObject_Release(This) \
(This)->lpVtbl -> Release(This)
#define IITObject_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IITObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IITObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IITObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IITObject_GetITObjectIDs(This,sourceID,playlistID,trackID,databaseID) \
(This)->lpVtbl -> GetITObjectIDs(This,sourceID,playlistID,trackID,databaseID)
#define IITObject_get_Name(This,name) \
(This)->lpVtbl -> get_Name(This,name)
#define IITObject_put_Name(This,name) \
(This)->lpVtbl -> put_Name(This,name)
#define IITObject_get_Index(This,index) \
(This)->lpVtbl -> get_Index(This,index)
#define IITObject_get_SourceID(This,sourceID) \
(This)->lpVtbl -> get_SourceID(This,sourceID)
#define IITObject_get_PlaylistID(This,playlistID) \
(This)->lpVtbl -> get_PlaylistID(This,playlistID)
#define IITObject_get_TrackID(This,trackID) \
(This)->lpVtbl -> get_TrackID(This,trackID)
#define IITObject_get_TrackDatabaseID(This,databaseID) \
(This)->lpVtbl -> get_TrackDatabaseID(This,databaseID)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IITObject_GetITObjectIDs_Proxy(
IITObject __RPC_FAR * This,
/* [out] */ long __RPC_FAR *sourceID,
/* [out] */ long __RPC_FAR *playlistID,
/* [out] */ long __RPC_FAR *trackID,
/* [out] */ long __RPC_FAR *databaseID);
void __RPC_STUB IITObject_GetITObjectIDs_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_Name_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *name);
void __RPC_STUB IITObject_get_Name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IITObject_put_Name_Proxy(
IITObject __RPC_FAR * This,
/* [in] */ BSTR name);
void __RPC_STUB IITObject_put_Name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_Index_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *index);
void __RPC_STUB IITObject_get_Index_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_SourceID_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *sourceID);
void __RPC_STUB IITObject_get_SourceID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_PlaylistID_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *playlistID);
void __RPC_STUB IITObject_get_PlaylistID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_TrackID_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *trackID);
void __RPC_STUB IITObject_get_TrackID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITObject_get_TrackDatabaseID_Proxy(
IITObject __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *databaseID);
void __RPC_STUB IITObject_get_TrackDatabaseID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IITObject_INTERFACE_DEFINED__ */
#ifndef __IITSource_INTERFACE_DEFINED__
#define __IITSource_INTERFACE_DEFINED__
/* interface IITSource */
/* [hidden][unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IITSource;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AEC1C4D3-AEF1-4255-B892-3E3D13ADFDF9")
IITSource : public IITObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Kind(
/* [retval][out] */ ITSourceKind __RPC_FAR *kind) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Capacity(
/* [retval][out] */ double __RPC_FAR *capacity) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FreeSpace(
/* [retval][out] */ double __RPC_FAR *freespace) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Playlists(
/* [retval][out] */ IITPlaylistCollection __RPC_FAR *__RPC_FAR *iPlaylistCollection) = 0;
};
#else /* C style interface */
typedef struct IITSourceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IITSource __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IITSource __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IITSource __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IITSource __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IITSource __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IITSource __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IITSource __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetITObjectIDs )(
IITSource __RPC_FAR * This,
/* [out] */ long __RPC_FAR *sourceID,
/* [out] */ long __RPC_FAR *playlistID,
/* [out] */ long __RPC_FAR *trackID,
/* [out] */ long __RPC_FAR *databaseID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
IITSource __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *name);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
IITSource __RPC_FAR * This,
/* [in] */ BSTR name);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Index )(
IITSource __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *index);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SourceID )(
IITSource __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *sourceID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PlaylistID )(
IITSource __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *playlistID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TrackID )(
IITSource __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *trackID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TrackDatabaseID )(
IITSource __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *databaseID);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Kind )(
IITSource __RPC_FAR * This,
/* [retval][out] */ ITSourceKind __RPC_FAR *kind);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Capacity )(
IITSource __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *capacity);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FreeSpace )(
IITSource __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *freespace);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Playlists )(
IITSource __RPC_FAR * This,
/* [retval][out] */ IITPlaylistCollection __RPC_FAR *__RPC_FAR *iPlaylistCollection);
END_INTERFACE
} IITSourceVtbl;
interface IITSource
{
CONST_VTBL struct IITSourceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IITSource_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IITSource_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IITSource_Release(This) \
(This)->lpVtbl -> Release(This)
#define IITSource_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IITSource_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IITSource_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IITSource_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IITSource_GetITObjectIDs(This,sourceID,playlistID,trackID,databaseID) \
(This)->lpVtbl -> GetITObjectIDs(This,sourceID,playlistID,trackID,databaseID)
#define IITSource_get_Name(This,name) \
(This)->lpVtbl -> get_Name(This,name)
#define IITSource_put_Name(This,name) \
(This)->lpVtbl -> put_Name(This,name)
#define IITSource_get_Index(This,index) \
(This)->lpVtbl -> get_Index(This,index)
#define IITSource_get_SourceID(This,sourceID) \
(This)->lpVtbl -> get_SourceID(This,sourceID)
#define IITSource_get_PlaylistID(This,playlistID) \
(This)->lpVtbl -> get_PlaylistID(This,playlistID)
#define IITSource_get_TrackID(This,trackID) \
(This)->lpVtbl -> get_TrackID(This,trackID)
#define IITSource_get_TrackDatabaseID(This,databaseID) \
(This)->lpVtbl -> get_TrackDatabaseID(This,databaseID)
#define IITSource_get_Kind(This,kind) \
(This)->lpVtbl -> get_Kind(This,kind)
#define IITSource_get_Capacity(This,capacity) \
(This)->lpVtbl -> get_Capacity(This,capacity)
#define IITSource_get_FreeSpace(This,freespace) \
(This)->lpVtbl -> get_FreeSpace(This,freespace)
#define IITSource_get_Playlists(This,iPlaylistCollection) \
(This)->lpVtbl -> get_Playlists(This,iPlaylistCollection)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITSource_get_Kind_Proxy(
IITSource __RPC_FAR * This,
/* [retval][out] */ ITSourceKind __RPC_FAR *kind);
void __RPC_STUB IITSource_get_Kind_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITSource_get_Capacity_Proxy(
IITSource __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *capacity);
void __RPC_STUB IITSource_get_Capacity_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IITSource_get_FreeSpace_Proxy(
IITSource __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *freespace);
void __RPC_STUB IITSource_get_FreeSpace_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);