dmime: Don't set DSBCAPS_CTRLPAN together with DSBCAPS_CTRL3D.
[wine.git] / include / wmp.idl
blobc077b08c59ad583309b35b91c084075f344e0c5e
1 /*
2 * Copyright 2014 Jacek Caban for CodeWeavers
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.
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.
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
19 import "oaidl.idl";
20 import "ocidl.idl";
22 #ifndef __WIDL__
23 #define threading(model)
24 #define progid(str)
25 #define vi_progid(str)
26 #endif
29 helpstring("Windows Media Player"),
30 version(1.0),
31 uuid(6bf52a50-394a-11d3-b153-00c04f79Faa6)
33 library WMPLib {
34 importlib("stdole2.tlb");
36 typedef enum {
37 wmposUndefined,
38 wmposPlaylistChanging,
39 wmposPlaylistLocating,
40 wmposPlaylistConnecting,
41 wmposPlaylistLoading,
42 wmposPlaylistOpening,
43 wmposPlaylistOpenNoMedia,
44 wmposPlaylistChanged,
45 wmposMediaChanging,
46 wmposMediaLocating,
47 wmposMediaConnecting,
48 wmposMediaLoading,
49 wmposMediaOpening,
50 wmposMediaOpen,
51 wmposBeginCodecAcquisition,
52 wmposEndCodecAcquisition,
53 wmposBeginLicenseAcquisition,
54 wmposEndLicenseAcquisition,
55 wmposBeginIndividualization,
56 wmposEndIndividualization,
57 wmposMediaWaiting,
58 wmposOpeningUnknownURL
59 } WMPOpenState;
61 typedef enum {
62 wmppsUndefined,
63 wmppsStopped,
64 wmppsPaused,
65 wmppsPlaying,
66 wmppsScanForward,
67 wmppsScanReverse,
68 wmppsBuffering,
69 wmppsWaiting,
70 wmppsMediaEnded,
71 wmppsTransitioning,
72 wmppsReady,
73 wmppsReconnecting,
74 wmppsLast
75 } WMPPlayState;
77 interface IWMPMedia;
80 odl,
81 uuid(d5f0f4f1-130c-11d3-b14e-00c04f79Faa6),
82 dual,
83 oleautomation
85 interface IWMPPlaylist : IDispatch
87 [id(0x00c9), propget]
88 HRESULT count([out, retval] long *plCount);
90 [id(0x00ca), propget]
91 HRESULT name([out, retval] BSTR *pbstrName);
92 [id(0x00ca), propput]
93 HRESULT name([in] BSTR pbstrName);
95 [id(0x00d2), propget]
96 HRESULT attributeCount([out, retval] long *plCount);
98 [id(0x00d3), propget]
99 HRESULT attributeName(
100 [in] long lIndex,
101 [out, retval] BSTR *pbstrAttributeName);
103 [id(0x00d4), propget]
104 HRESULT Item(
105 [in] long lIndex,
106 [out, retval] IWMPMedia** ppIWMPMedia);
108 [id(0x00cb)]
109 HRESULT getItemInfo(
110 [in] BSTR bstrName,
111 [out, retval] BSTR *pbstrVal);
113 [id(0x00cc)]
114 HRESULT setItemInfo(
115 [in] BSTR bstrName,
116 [in] BSTR bstrValue);
118 [id(0x00d5), propget]
119 HRESULT isIdentical(
120 [in] IWMPPlaylist *pIWMPPlaylist,
121 [out, retval] VARIANT_BOOL *pvbool);
123 [id(0x00cd)]
124 HRESULT clear();
126 [id(0x00ce)]
127 HRESULT insertItem(
128 [in] long lIndex,
129 [in] IWMPMedia *pIWMPMedia);
131 [id(0x00cf)]
132 HRESULT appendItem([in] IWMPMedia *pIWMPMedia);
134 [id(0x00d0)]
135 HRESULT removeItem([in] IWMPMedia *pIWMPMedia);
137 [id(0x00d1)]
138 HRESULT moveItem(
139 long lIndexOld,
140 long lIndexNew);
144 odl,
145 uuid(94d55e95-3Fac-11d3-b155-00c04f79faa6),
146 dual,
147 oleautomation
149 interface IWMPMedia : IDispatch
151 [id(0x02fb), propget]
152 HRESULT isIdentical(
153 [in] IWMPMedia *pIWMPMedia,
154 [out, retval] VARIANT_BOOL *pvbool);
156 [id(0x02ef), propget]
157 HRESULT sourceURL([out, retval] BSTR *pbstrSourceURL);
159 [id(0x02fc), propget]
160 HRESULT name([out, retval] BSTR *pbstrName);
161 [id(0x02fc), propput]
162 HRESULT name([in] BSTR pbstrName);
164 [id(0x02f0), propget]
165 HRESULT imageSourceWidth([out, retval] long *pWidth);
167 [id(0x02f1), propget]
168 HRESULT imageSourceHeight([out, retval] long *pHeight);
170 [id(0x02f2), propget]
171 HRESULT markerCount([out, retval] long *pMarkerCount);
173 [id(0x02f3)]
174 HRESULT getMarkerTime(
175 [in] long MarkerNum,
176 [out, retval] double *pMarkerTime);
178 [id(0x02f4)]
179 HRESULT getMarkerName(
180 [in] long MarkerNum,
181 [out, retval] BSTR *pbstrMarkerName);
183 [id(0x02f5), propget]
184 HRESULT duration([out, retval] double *pDuration);
186 [id(0x02f6), propget]
187 HRESULT durationString([out, retval] BSTR *pbstrDuration);
189 [id(0x02f7), propget]
190 HRESULT attributeCount([out, retval] long *plCount);
192 [id(0x02f8)]
193 HRESULT getAttributeName(
194 [in] long lIndex,
195 [out, retval] BSTR *pbstrItemName);
197 [id(0x02f9)]
198 HRESULT getItemInfo(
199 [in] BSTR bstrItemName,
200 [out, retval] BSTR *pbstrVal);
202 [id(0x02fa)]
203 HRESULT setItemInfo(
204 [in] BSTR bstrItemName,
205 [in] BSTR bstrVal);
207 [id(0x02fd)]
208 HRESULT getItemInfoByAtom(
209 [in] long lAtom,
210 [out, retval] BSTR *pbstrVal);
212 [id(0x02fe)]
213 HRESULT isMemberOf(
214 [in] IWMPPlaylist *pPlaylist,
215 [out, retval] VARIANT_BOOL *pvarfIsMemberOf);
217 [id(0x02ff)]
218 HRESULT isReadOnlyItem(
219 [in] BSTR bstrItemName,
220 [out, retval] VARIANT_BOOL *pvarfIsReadOnly);
224 odl,
225 uuid(74c09E02-f828-11d2-a74b-00a0c905f36e),
226 dual,
227 oleautomation
229 interface IWMPControls : IDispatch {
230 [id(0x003e), propget]
231 HRESULT isAvailable(
232 [in] BSTR bstrItem,
233 [out, retval] VARIANT_BOOL *pIsAvailable);
235 [id(0x0033)]
236 HRESULT play();
238 [id(0x0034)]
239 HRESULT stop();
241 [id(0x0035)]
242 HRESULT pause();
244 [id(0x0036)]
245 HRESULT fastForward();
247 [id(0x0037)]
248 HRESULT fastReverse();
250 [id(0x0038), propget]
251 HRESULT currentPosition([out, retval] double *pdCurrentPosition);
252 [id(0x0038), propput]
253 HRESULT currentPosition([in] double pdCurrentPosition);
255 [id(0x0039), propget]
256 HRESULT currentPositionString([out, retval] BSTR *pbstrCurrentPosition);
258 [id(0x003a)]
259 HRESULT next();
261 [id(0x003b)]
262 HRESULT previous();
264 [id(0x003c)]
265 HRESULT currentItem([out, retval] IWMPMedia **ppIWMPMedia);
267 [id(0x003c), propput]
268 HRESULT currentItem([in] IWMPMedia *ppIWMPMedia);
270 [id(0x003d), propget]
271 HRESULT currentMarker([out, retval] long *plMarker);
273 [id(0x003d), propput]
274 HRESULT currentMarker([in] long plMarker);
276 [id(0x003f)]
277 HRESULT playItem([in] IWMPMedia *pIWMPMedia);
281 odl,
282 uuid(9104d1ab-80c9-4fed-abf0-2e6417a6df14),
283 dual,
284 oleautomation
286 interface IWMPSettings : IDispatch
288 [id(0x0071), propget]
289 HRESULT isAvailable(
290 [in] BSTR bstrItem,
291 [out, retval] VARIANT_BOOL *pIsAvailable);
293 [id(0x0065), propget]
294 HRESULT autoStart([out, retval] VARIANT_BOOL *pfAutoStart);
295 [id(0x0065), propput]
296 HRESULT autoStart([in] VARIANT_BOOL pfAutoStart);
298 [id(0x006c), propget]
299 HRESULT baseURL([out, retval] BSTR *pbstrBaseURL);
300 [id(0x006c), propput]
301 HRESULT baseURL([in] BSTR pbstrBaseURL);
303 [id(0x006d), propget]
304 HRESULT defaultFrame([out, retval] BSTR *pbstrDefaultFrame);
305 [id(0x006d), propput]
306 HRESULT defaultFrame([in] BSTR pbstrDefaultFrame);
308 [id(0x0067), propget]
309 HRESULT invokeURLs([out, retval] VARIANT_BOOL *pfInvokeURLs);
310 [id(0x0067), propput]
311 HRESULT invokeURLs([in] VARIANT_BOOL pfInvokeURLs);
313 [id(0x0068), propget]
314 HRESULT mute([out, retval] VARIANT_BOOL *pfMute);
315 [id(0x0068), propput]
316 HRESULT mute([in] VARIANT_BOOL pfMute);
318 [id(0x0069), propget]
319 HRESULT playCount([out, retval] long *plCount);
320 [id(0x0069), propput]
321 HRESULT playCount([in] long plCount);
323 [id(0x006a), propget]
324 HRESULT rate([out, retval] double *pdRate);
325 [id(0x006a), propput]
326 HRESULT rate([in] double pdRate);
328 [id(0x0066), propget]
329 HRESULT balance([out, retval] long *plBalance);
330 [id(0x0066), propput]
331 HRESULT balance([in] long plBalance);
333 [id(0x006b), propget]
334 HRESULT volume([out, retval] long *plVolume);
335 [id(0x006b), propput]
336 HRESULT volume([in] long plVolume);
338 [id(0x006e)]
339 HRESULT getMode(
340 [in] BSTR bstrMode,
341 [out, retval] VARIANT_BOOL *pvarfMode);
343 [id(0x006f)]
344 HRESULT setMode(
345 [in] BSTR bstrMode,
346 [in] VARIANT_BOOL varfMode);
348 [id(0x0070), propget]
349 HRESULT enableErrorDialogs([out, retval] VARIANT_BOOL *pfEnableErrorDialogs);
351 [id(0x0070), propput]
352 HRESULT enableErrorDialogs([in] VARIANT_BOOL pfEnableErrorDialogs);
356 odl,
357 uuid(4a976298-8c0d-11d3-b389-00c04f68574b),
358 dual,
359 oleautomation
361 interface IWMPStringCollection : IDispatch
363 [id(0x0191), propget]
364 HRESULT count([out, retval] long *plCount);
366 [id(0x0192)]
367 HRESULT Item(
368 [in] long lIndex,
369 [out, retval] BSTR *pbstrString);
373 odl,
374 uuid(8363bc22-b4b4-4b19-989d-1cd765749dd1),
375 dual,
376 oleautomation
378 interface IWMPMediaCollection : IDispatch
380 [id(0x01c4)]
381 HRESULT add(
382 [in] BSTR bstrURL,
383 [out, retval] IWMPMedia **ppItem);
385 [id(0x01c5)]
386 HRESULT getAll([out, retval] IWMPPlaylist **ppMediaItems);
388 [id(0x01c6)]
389 HRESULT getByName(
390 [in] BSTR bstrName,
391 [out, retval] IWMPPlaylist **ppMediaItems);
393 [id(0x01c7)]
394 HRESULT getByGenre(
395 [in] BSTR bstrGenre,
396 [out, retval] IWMPPlaylist **ppMediaItems);
398 [id(0x01c8)]
399 HRESULT getByAuthor(
400 [in] BSTR bstrAuthor,
401 [out, retval] IWMPPlaylist **ppMediaItems);
403 [id(0x01c9)]
404 HRESULT getByAlbum(
405 [in] BSTR bstrAlbum,
406 [out, retval] IWMPPlaylist **ppMediaItems);
408 [id(0x01ca)]
409 HRESULT getByAttribute(
410 [in] BSTR bstrAttribute,
411 [in] BSTR bstrValue,
412 [out, retval] IWMPPlaylist **ppMediaItems);
414 [id(0x01cb)]
415 HRESULT remove(
416 [in] IWMPMedia *pItem,
417 [in] VARIANT_BOOL varfDeleteFile);
419 [id(0x01cd)]
420 HRESULT getAttributeStringCollection(
421 [in] BSTR bstrAttribute,
422 [in] BSTR bstrMediaType,
423 [out, retval] IWMPStringCollection **ppStringCollection);
425 [id(0x01d6)]
426 HRESULT getMediaAtom(
427 [in] BSTR bstrItemName,
428 [out, retval] long *plAtom);
430 [id(0x01d7)]
431 HRESULT setDeleted(
432 [in] IWMPMedia *pItem,
433 [in] VARIANT_BOOL varfIsDeleted);
435 [id(0x01d8)]
436 HRESULT isDeleted(
437 [in] IWMPMedia *pItem,
438 [out, retval] VARIANT_BOOL *pvarfIsDeleted);
442 odl,
443 uuid(679409c0-99f7-11d3-9fb7-00105aa620bb),
444 dual,
445 oleautomation
447 interface IWMPPlaylistArray : IDispatch
449 [id(0x01f5), propget]
450 HRESULT count([out, retval] long *plCount);
452 [id(0x01f6)]
453 HRESULT Item(
454 [in] long lIndex,
455 [out, retval] IWMPPlaylist **ppItem);
459 odl,
460 uuid(10a13217-23a7-439b-b1c0-d847c79b7774),
461 dual,
462 oleautomation
464 interface IWMPPlaylistCollection : IDispatch
466 [id(0x0228)]
467 HRESULT newPlaylist(
468 [in] BSTR bstrName,
469 [out, retval] IWMPPlaylist **ppItem);
471 [id(0x0229)]
472 HRESULT getAll([out, retval] IWMPPlaylistArray **ppPlaylistArray);
474 [id(0x022a)]
475 HRESULT getByName(
476 [in] BSTR bstrName,
477 [out, retval] IWMPPlaylistArray **ppPlaylistArray);
479 [id(0x022c)]
480 HRESULT remove([in] IWMPPlaylist *pItem);
482 [id(0x0230)]
483 HRESULT setDeleted(
484 [in] IWMPPlaylist *pItem,
485 [in] VARIANT_BOOL varfIsDeleted);
487 [id(0x0231)]
488 HRESULT isDeleted(
489 [in] IWMPPlaylist *pItem,
490 [out, retval] VARIANT_BOOL *pvarfIsDeleted);
492 [id(0x0232)]
493 HRESULT importPlaylist(
494 [in] IWMPPlaylist *pItem,
495 [out, retval] IWMPPlaylist **ppImportedItem);
499 odl,
500 uuid(ec21b779-edef-462d-bba4-ad9dde2b29a7),
501 dual,
502 oleautomation
504 interface IWMPNetwork : IDispatch
506 [id(0x0321), propget]
507 HRESULT bandWidth([out, retval] long *plBandwidth);
509 [id(0x0322), propget]
510 HRESULT recoveredPackets([out, retval] long *plRecoveredPackets);
512 [id(0x0323), propget]
513 HRESULT sourceProtocol([out, retval] BSTR *pbstrSourceProtocol);
515 [id(0x0324), propget]
516 HRESULT receivedPackets([out, retval] long *plReceivedPackets);
518 [id(0x0325), propget]
519 HRESULT lostPackets([out, retval] long *plLostPackets);
521 [id(0x0326), propget]
522 HRESULT receptionQuality([out, retval] long *plReceptionQuality);
524 [id(0x0327), propget]
525 HRESULT bufferingCount([out, retval] long *plBufferingCount);
527 [id(0x0328), propget]
528 HRESULT bufferingProgress([out, retval] long *plBufferingProgress);
530 [id(0x0329), propget]
531 HRESULT bufferingTime([out, retval] long *plBufferingTime);
533 [id(0x0329), propput]
534 HRESULT bufferingTime([in] long plBufferingTime);
536 [id(0x032a), propget]
537 HRESULT frameRate([out, retval] long *plFrameRate);
539 [id(0x032b), propget]
540 HRESULT maxBitRate([out, retval] long *plBitRate);
542 [id(0x032c), propget]
543 HRESULT bitRate([out, retval] long *plBitRate);
545 [id(0x032d)]
546 HRESULT getProxySettings(
547 [in] BSTR bstrProtocol,
548 [out, retval] long *plProxySetting);
550 [id(0x032e)]
551 HRESULT setProxySettings(
552 [in] BSTR bstrProtocol,
553 [in] long lProxySetting);
555 [id(0x032f)]
556 HRESULT getProxyName(
557 [in] BSTR bstrProtocol,
558 [out, retval] BSTR *pbstrProxyName);
560 [id(0x0330)]
561 HRESULT setProxyName(
562 [in] BSTR bstrProtocol,
563 [in] BSTR bstrProxyName);
565 [id(0x0331)]
566 HRESULT getProxyPort(
567 [in] BSTR bstrProtocol,
568 [out, retval] long *lProxyPort);
570 [id(0x0332)]
571 HRESULT setProxyPort(
572 [in] BSTR bstrProtocol,
573 [in] long lProxyPort);
575 [id(0x0333)]
576 HRESULT getProxyExceptionList(
577 [in] BSTR bstrProtocol,
578 [out, retval] BSTR *pbstrExceptionList);
580 [id(0x0334)]
581 HRESULT setProxyExceptionList(
582 [in] BSTR bstrProtocol,
583 [in] BSTR pbstrExceptionList);
585 [id(0x0335)]
586 HRESULT getProxyBypassForLocal(
587 [in] BSTR bstrProtocol,
588 [out, retval] VARIANT_BOOL *pfBypassForLocal);
590 [id(0x0336)]
591 HRESULT setProxyBypassForLocal(
592 [in] BSTR bstrProtocol,
593 [in] VARIANT_BOOL fBypassForLocal);
595 [id(0x0337), propget]
596 HRESULT maxBandwidth([out, retval] long *lMaxBandwidth);
597 [id(0x0337), propput]
598 HRESULT maxBandwidth([in] long lMaxBandwidth);
600 [id(0x0338), propget]
601 HRESULT downloadProgress([out, retval] long *plDownloadProgress);
603 [id(0x0339), propget]
604 HRESULT encodedFrameRate([out, retval] long *plFrameRate);
606 [id(0x033a), propget]
607 HRESULT framesSkipped([out, retval] long *plFrames);
611 odl,
612 uuid(cfab6e98-8730-11d3-b388-00c04f68574b),
613 dual,
614 oleautomation
616 interface IWMPCdrom : IDispatch
618 [id(0x00fb), propget]
619 HRESULT driveSpecifier([out, retval] BSTR *pbstrDrive);
621 [id(0x00fc), propget]
622 HRESULT Playlist([out, retval] IWMPPlaylist **ppPlaylist);
624 [id(0x00fd)]
625 HRESULT eject();
629 odl,
630 uuid(ee4c8fe2-34b2-11d3-a3bf-006097c9b344),
631 dual,
632 oleautomation
634 interface IWMPCdromCollection : IDispatch
636 [id(0x012d), propget]
637 HRESULT count([out, retval] long *plCount);
639 [id(0x012e)]
640 HRESULT Item(
641 [in] long lIndex,
642 [out, retval] IWMPCdrom **ppItem);
644 [id(0x012f)]
645 HRESULT getByDriveSpecifier(
646 [in] BSTR bstrDriveSpecifier,
647 [out, retval] IWMPCdrom **ppCdrom);
651 odl,
652 uuid(8da61686-4668-4a5c-ae5d-803193293dbe),
653 dual,
654 oleautomation
656 interface IWMPDVD : IDispatch
658 [id(0x03e9), propget]
659 HRESULT isAvailable(
660 [in] BSTR bstrItem,
661 [out, retval] VARIANT_BOOL *pIsAvailable);
663 [id(0x03ea), propget]
664 HRESULT domain([out, retval] BSTR *strDomain);
666 [id(0x03eb)]
667 HRESULT topMenu();
669 [id(0x03ec)]
670 HRESULT titleMenu();
672 [id(0x03ed)]
673 HRESULT back();
675 [id(0x03ee)]
676 HRESULT resume();
680 odl,
681 uuid(4f2df574-c588-11d3-9ed0-00c04fb6e937),
682 dual,
683 oleautomation
685 interface IWMPClosedCaption : IDispatch
687 [id(0x03b7), propget]
688 HRESULT SAMIStyle([out, retval] BSTR *pbstrSAMIStyle);
689 [id(0x03b7), propput]
690 HRESULT SAMIStyle([in] BSTR pbstrSAMIStyle);
692 [id(0x03b8), propget]
693 HRESULT SAMILang([out, retval] BSTR *pbstrSAMILang);
695 [id(0x03b8), propput]
696 HRESULT SAMILang([in] BSTR pbstrSAMILang);
698 [id(0x03b9), propget]
699 HRESULT SAMIFileName([out, retval] BSTR *pbstrSAMIFileName);
701 [id(0x03b9), propput]
702 HRESULT SAMIFileName([in] BSTR pbstrSAMIFileName);
704 [id(0x03ba), propget]
705 HRESULT captioningId([out, retval] BSTR *pbstrCaptioningID);
707 [id(0x03ba), propput]
708 HRESULT captioningId([in] BSTR pbstrCaptioningID);
712 odl,
713 uuid(3614c646-3b3b-4de7-a81e-930e3f2127b3),
714 dual,
715 oleautomation
717 interface IWMPErrorItem : IDispatch
719 [id(0x0385), propget]
720 HRESULT errorCode([out, retval] long *phr);
722 [id(0x0386), propget]
723 HRESULT errorDescription([out, retval] BSTR *pbstrDescription);
725 [id(0x0387), propget]
726 HRESULT errorContext([out, retval] VARIANT *pvarContext);
728 [id(0x0388), propget]
729 HRESULT remedy([out, retval] long *plRemedy);
731 [id(0x0389), propget]
732 HRESULT customUrl([out, retval] BSTR *pbstrCustomUrl);
736 odl,
737 uuid(a12dcf7d-14ab-4c1b-a8cd-63909f06025b),
738 dual,
739 oleautomation
741 interface IWMPError : IDispatch
743 [id(0x0353)]
744 HRESULT clearErrorQueue();
746 [id(0x0354), propget]
747 HRESULT errorCount([out, retval] long *plNumErrors);
749 [id(0x0355), propget]
750 HRESULT Item(
751 [in] long dwIndex,
752 [out, retval] IWMPErrorItem **ppErrorItem);
754 [id(0x0356)]
755 HRESULT webHelp();
759 odl,
760 uuid(40897764-ceab-47be-ad4a-8e28537f9bbf),
761 dual,
762 oleautomation
764 interface IWMPPlayerApplication : IDispatch
766 [id(0x044d)]
767 HRESULT switchToPlayerApplication();
769 [id(0x044e)]
770 HRESULT switchToControl();
772 [id(0x044f), propget]
773 HRESULT playerDocked([out, retval] VARIANT_BOOL* pbPlayerDocked);
775 [id(0x0450), propget]
776 HRESULT hasDisplay([out, retval] VARIANT_BOOL *pbHasDisplay);
780 odl,
781 uuid(d84cca99-cce2-11d2-9ecc-0000f8085981),
782 dual,
783 oleautomation
785 interface IWMPCore : IDispatch
787 [id(0x0003)]
788 HRESULT close();
790 [id(0x0001), propget]
791 HRESULT URL([out, retval] BSTR *pbstrURL);
792 [id(0x0001), propput]
793 HRESULT URL([in] BSTR pbstrURL);
795 [id(0x0002), propget]
796 HRESULT openState([out, retval] WMPOpenState *pwmpos);
798 [id(0x000a), propget]
799 HRESULT playState([out, retval] WMPPlayState *pwmpps);
801 [id(0x0004), propget]
802 HRESULT controls([out, retval] IWMPControls **ppControl);
804 [id(0x0005), propget]
805 HRESULT settings([out, retval] IWMPSettings **ppSettings);
807 [id(0x0006), propget]
808 HRESULT currentMedia([out, retval] IWMPMedia **ppMedia);
809 [id(0x0006), propput]
810 HRESULT currentMedia([in] IWMPMedia *ppMedia);
812 [id(0x0008), propget]
813 HRESULT mediaCollection([out, retval] IWMPMediaCollection **ppMediaCollection);
815 [id(0x0009), propget]
816 HRESULT playlistCollection([out, retval] IWMPPlaylistCollection **ppPlaylistCollection);
818 [id(0x000b), propget]
819 HRESULT versionInfo([out, retval] BSTR *pbstrVersionInfo);
821 [id(0x000c)]
822 HRESULT launchURL([in] BSTR bstrURL);
824 [id(0x0007), propget]
825 HRESULT network([out, retval] IWMPNetwork **ppQNI);
827 [id(0x000d), propget]
828 HRESULT currentPlaylist([out, retval] IWMPPlaylist **ppPL);
829 [id(0x000d), propput]
830 HRESULT currentPlaylist([in] IWMPPlaylist *ppPL);
832 [id(0x000e), propget]
833 HRESULT cdromCollection([out, retval] IWMPCdromCollection **ppCdromCollection);
835 [id(0x000f), propget]
836 HRESULT closedCaption([out, retval] IWMPClosedCaption **ppClosedCaption);
838 [id(0x0010), propget]
839 HRESULT isOnline([out, retval] VARIANT_BOOL *pfOnline);
841 [id(0x0011), propget]
842 HRESULT Error([out, retval] IWMPError **ppError);
844 [id(0x0012), propget]
845 HRESULT status([out, retval] BSTR *pbstrStatus);
849 odl,
850 uuid(bc17e5B7-7561-4c18-bb90-17d485775659),
851 dual,
852 oleautomation
854 interface IWMPCore2 : IWMPCore {
855 [id(0x0028), propget]
856 HRESULT dvd([out, retval] IWMPDVD **ppDVD);
860 odl,
861 uuid(7587c667-628f-499f-88e7-6A6f4e888464),
862 dual,
863 oleautomation
865 interface IWMPCore3 : IWMPCore2
867 [id(0x0029)]
868 HRESULT newPlaylist(
869 [in] BSTR bstrName,
870 [in] BSTR bstrURL,
871 [out, retval] IWMPPlaylist **ppPlaylist);
873 [id(0x002a)]
874 HRESULT newMedia(
875 [in] BSTR bstrURL,
876 [out, retval] IWMPMedia **ppMedia);
880 odl,
881 uuid(6c497d62-8919-413c-82db-e935fb3ec584),
882 dual,
883 oleautomation
885 interface IWMPPlayer4 : IWMPCore3
887 [id(0x0013), propget]
888 HRESULT enabled([out, retval] VARIANT_BOOL *pbEnabled);
889 [id(0x0013), propput]
890 HRESULT enabled([in] VARIANT_BOOL pbEnabled);
892 [id(0x0015), propget]
893 HRESULT fullScreen([out, retval] VARIANT_BOOL *pbFullScreen);
894 [id(0x0015), propput]
895 HRESULT fullScreen(VARIANT_BOOL pbFullScreen);
897 [id(0x0016), propget]
898 HRESULT enableContextMenu([out, retval] VARIANT_BOOL *pbEnableContextMenu);
899 [id(0x0016), propput]
900 HRESULT enableContextMenu(VARIANT_BOOL pbEnableContextMenu);
902 [id(0x0017), propput]
903 HRESULT uiMode([in] BSTR pbstrMode);
904 [id(0x0017), propget]
905 HRESULT uiMode([out, retval] BSTR *pbstrMode);
907 [id(0x0018), propget]
908 HRESULT stretchToFit([out, retval] VARIANT_BOOL *pbEnabled);
909 [id(0x0018), propput]
910 HRESULT stretchToFit([in] VARIANT_BOOL pbEnabled);
912 [id(0x0019), propget]
913 HRESULT windowlessVideo([out, retval] VARIANT_BOOL *pbEnabled);
914 [id(0x0019), propput]
915 HRESULT windowlessVideo([in] VARIANT_BOOL pbEnabled);
917 [id(0x001a), propget]
918 HRESULT isRemote([out, retval] VARIANT_BOOL *pvarfIsRemote);
920 [id(0x001b), propget]
921 HRESULT playerApplication([out, retval] IWMPPlayerApplication **ppIWMPPlayerApplication);
923 [id(0x001c)]
924 HRESULT openPlayer([in] BSTR bstrURL);
928 hidden,
929 uuid(6bf52a51-394a-11d3-b153-00c04f79faa6)
931 interface _WMPOCXEvents : IDispatch
935 helpstring("Windows Media Player"),
936 threading(apartment),
937 progid("WMPlayer.OCX.7"),
938 vi_progid("WMPlayer.OCX"),
939 uuid(6bf52a52-394a-11d3-b153-00c04f79faa6)
941 coclass WindowsMediaPlayer
943 [default] interface IWMPPlayer4;
944 /* interface IWMPPlayer3; */
945 /* interface IWMPPlayer2; */
946 /* interface IWMPPlayer; */
947 interface IWMPControls;
948 interface IWMPSettings;
949 interface IWMPPlaylist;
950 interface IWMPMedia;
951 interface IWMPMediaCollection;
952 interface IWMPPlaylistCollection;
953 interface IWMPCdromCollection;
954 interface IWMPError;
955 interface IWMPErrorItem;
956 /* interface IWMPErrorItem2; */
957 interface IWMPClosedCaption;
958 interface IWMPDVD;
959 /* interface IWMPControls2; */
960 /* interface IWMPMedia2; */
961 /* interface IWMPMedia3; */
962 /* interface IWMPMetadataPicture; */
963 /* interface IWMPMetadataText; */
964 /* interface IWMPSettings2; */
965 /* interface IWMPControls3; */
966 /* interface IWMPClosedCaption2; */
967 /* interface IWMPMediaCollection2; */
968 /* interface IWMPStringCollection2; */
969 [default, source] dispinterface _WMPOCXEvents;