-
Notifications
You must be signed in to change notification settings - Fork 0
/
IWMPControls3.html
473 lines (420 loc) · 18.1 KB
/
IWMPControls3.html
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
<h1 align=center> Reference</h1>
<p>The COM object is a QAxObject with the CLSID .</p>
<h3>Interfaces</h3>
<ul>
<li>IWMPControls3
</ul>
<h3>Event Interfaces</h3>
<ul>
</ul>
<h2>Public Slots:</h2>
<ul>
<li>void <a href="#fastForward"><b>fastForward</b></a>();</li>
<li>void <a href="#fastReverse"><b>fastReverse</b></a>();</li>
<li>QString <a href="#getAudioLanguageDescription"><b>getAudioLanguageDescription</b></a>(int lIndex);</li>
<li>int <a href="#getAudioLanguageID"><b>getAudioLanguageID</b></a>(int lIndex);</li>
<li>QString <a href="#getLanguageName"><b>getLanguageName</b></a>(int lLangID);</li>
<li>bool <a href="#isAvailable"><b>isAvailable</b></a>(QString bstrItem);</li>
<li>void <a href="#next"><b>next</b></a>();</li>
<li>void <a href="#pause"><b>pause</b></a>();</li>
<li>void <a href="#play"><b>play</b></a>();</li>
<li>void <a href="#playItem"><b>playItem</b></a>(IDispatch* pIWMPMedia);</li>
<li>void <a href="#previous"><b>previous</b></a>();</li>
<li>void <a href="#setCurrentAudioLanguage"><b>setCurrentAudioLanguage</b></a>(int currentAudioLanguage);</li>
<li>void <a href="#setCurrentAudioLanguageIndex"><b>setCurrentAudioLanguageIndex</b></a>(int currentAudioLanguageIndex);</li>
<li>void <a href="#setCurrentItem"><b>setCurrentItem</b></a>(IDispatch* currentItem);</li>
<li>void <a href="#setCurrentMarker"><b>setCurrentMarker</b></a>(int currentMarker);</li>
<li>void <a href="#setCurrentPosition"><b>setCurrentPosition</b></a>(double currentPosition);</li>
<li>void <a href="#setCurrentPositionTimecode"><b>setCurrentPositionTimecode</b></a>(QString currentPositionTimecode);</li>
<li>void <a href="#step"><b>step</b></a>(int lStep);</li>
<li>void <a href="#stop"><b>stop</b></a>();</li>
</ul>
<h2>Signals:</h2>
<ul>
<li>void <a href="#exception"><b>exception</b></a>(int code, QString source, QString disc, QString help);</li>
<li>void <a href="#propertyChanged"><b>propertyChanged</b></a>(QString name);</li>
<li>void <a href="#signal"><b>signal</b></a>(QString name, int argc, void* argv);</li>
</ul>
<h2>Properties:</h2>
<ul>
<li>QString <a href="#objectName"><b>objectName</b></a>;</li>
<li>int <a href="#audioLanguageCount"><b>audioLanguageCount</b></a>;</li>
<li>QString <a href="#control"><b>control</b></a>;</li>
<li>int <a href="#currentAudioLanguage"><b>currentAudioLanguage</b></a>;</li>
<li>int <a href="#currentAudioLanguageIndex"><b>currentAudioLanguageIndex</b></a>;</li>
<li>IDispatch* <a href="#currentItem"><b>currentItem</b></a>;</li>
<li>int <a href="#currentMarker"><b>currentMarker</b></a>;</li>
<li>double <a href="#currentPosition"><b>currentPosition</b></a>;</li>
<li>QString <a href="#currentPositionString"><b>currentPositionString</b></a>;</li>
<li>QString <a href="#currentPositionTimecode"><b>currentPositionTimecode</b></a>;</li>
</ul>
<hr><h2>Member Type Documentation</h2>
<h3><a name=WMPBurnFormat></a>WMPBurnFormat</h3>
<ul>
<li>wmpbfAudioCD =0</li>
<li>wmpbfDataCD =1</li>
</ul>
<h3><a name=WMPBurnState></a>WMPBurnState</h3>
<ul>
<li>wmpbsUnknown =0</li>
<li>wmpbsBusy =1</li>
<li>wmpbsReady =2</li>
<li>wmpbsWaitingForDisc =3</li>
<li>wmpbsRefreshStatusPending =4</li>
<li>wmpbsPreparingToBurn =5</li>
<li>wmpbsBurning =6</li>
<li>wmpbsStopped =7</li>
<li>wmpbsErasing =8</li>
<li>wmpbsDownloading =9</li>
</ul>
<h3><a name=WMPDeviceStatus></a>WMPDeviceStatus</h3>
<ul>
<li>wmpdsUnknown =0</li>
<li>wmpdsPartnershipExists =1</li>
<li>wmpdsPartnershipDeclined =2</li>
<li>wmpdsPartnershipAnother =3</li>
<li>wmpdsManualDevice =4</li>
<li>wmpdsNewDevice =5</li>
<li>wmpdsLast =6</li>
</ul>
<h3><a name=WMPFolderScanState></a>WMPFolderScanState</h3>
<ul>
<li>wmpfssUnknown =0</li>
<li>wmpfssScanning =1</li>
<li>wmpfssUpdating =2</li>
<li>wmpfssStopped =3</li>
</ul>
<h3><a name=WMPLibraryType></a>WMPLibraryType</h3>
<ul>
<li>wmpltUnknown =0</li>
<li>wmpltAll =1</li>
<li>wmpltLocal =2</li>
<li>wmpltRemote =3</li>
<li>wmpltDisc =4</li>
<li>wmpltPortableDevice =5</li>
</ul>
<h3><a name=WMPOpenState></a>WMPOpenState</h3>
<ul>
<li>wmposUndefined =0</li>
<li>wmposPlaylistChanging =1</li>
<li>wmposPlaylistLocating =2</li>
<li>wmposPlaylistConnecting =3</li>
<li>wmposPlaylistLoading =4</li>
<li>wmposPlaylistOpening =5</li>
<li>wmposPlaylistOpenNoMedia =6</li>
<li>wmposPlaylistChanged =7</li>
<li>wmposMediaChanging =8</li>
<li>wmposMediaLocating =9</li>
<li>wmposMediaConnecting =10</li>
<li>wmposMediaLoading =11</li>
<li>wmposMediaOpening =12</li>
<li>wmposMediaOpen =13</li>
<li>wmposBeginCodecAcquisition =14</li>
<li>wmposEndCodecAcquisition =15</li>
<li>wmposBeginLicenseAcquisition =16</li>
<li>wmposEndLicenseAcquisition =17</li>
<li>wmposBeginIndividualization =18</li>
<li>wmposEndIndividualization =19</li>
<li>wmposMediaWaiting =20</li>
<li>wmposOpeningUnknownURL =21</li>
</ul>
<h3><a name=WMPPlayState></a>WMPPlayState</h3>
<ul>
<li>wmppsUndefined =0</li>
<li>wmppsStopped =1</li>
<li>wmppsPaused =2</li>
<li>wmppsPlaying =3</li>
<li>wmppsScanForward =4</li>
<li>wmppsScanReverse =5</li>
<li>wmppsBuffering =6</li>
<li>wmppsWaiting =7</li>
<li>wmppsMediaEnded =8</li>
<li>wmppsTransitioning =9</li>
<li>wmppsReady =10</li>
<li>wmppsReconnecting =11</li>
<li>wmppsLast =12</li>
</ul>
<h3><a name=WMPPlaylistChangeEventType></a>WMPPlaylistChangeEventType</h3>
<ul>
<li>wmplcUnknown =0</li>
<li>wmplcClear =1</li>
<li>wmplcInfoChange =2</li>
<li>wmplcMove =3</li>
<li>wmplcDelete =4</li>
<li>wmplcInsert =5</li>
<li>wmplcAppend =6</li>
<li>wmplcPrivate =7</li>
<li>wmplcNameChange =8</li>
<li>wmplcMorph =9</li>
<li>wmplcSort =10</li>
<li>wmplcLast =11</li>
</ul>
<h3><a name=WMPRipState></a>WMPRipState</h3>
<ul>
<li>wmprsUnknown =0</li>
<li>wmprsRipping =1</li>
<li>wmprsStopped =2</li>
</ul>
<h3><a name=WMPStringCollectionChangeEventType></a>WMPStringCollectionChangeEventType</h3>
<ul>
<li>wmpsccetUnknown =0</li>
<li>wmpsccetInsert =1</li>
<li>wmpsccetChange =2</li>
<li>wmpsccetDelete =3</li>
<li>wmpsccetClear =4</li>
<li>wmpsccetBeginUpdates =5</li>
<li>wmpsccetEndUpdates =6</li>
</ul>
<h3><a name=WMPSubscriptionDownloadState></a>WMPSubscriptionDownloadState</h3>
<ul>
<li>wmpsdlsDownloading =0</li>
<li>wmpsdlsPaused =1</li>
<li>wmpsdlsProcessing =2</li>
<li>wmpsdlsCompleted =3</li>
<li>wmpsdlsCancelled =4</li>
</ul>
<h3><a name=WMPSyncState></a>WMPSyncState</h3>
<ul>
<li>wmpssUnknown =0</li>
<li>wmpssSynchronizing =1</li>
<li>wmpssStopped =2</li>
<li>wmpssEstimating =3</li>
<li>wmpssLast =4</li>
</ul>
<h3><a name=WMP_WRITENAMESEX_TYPE></a>WMP_WRITENAMESEX_TYPE</h3>
<ul>
<li>WMP_WRITENAMES_TYPE_CD_BY_TOC =0</li>
<li>WMP_WRITENAMES_TYPE_CD_BY_CONTENT_ID =1</li>
<li>WMP_WRITENAMES_TYPE_CD_BY_MDQCD =2</li>
<li>WMP_WRITENAMES_TYPE_DVD_BY_DVDID =3</li>
</ul>
<hr><h2>Member Function Documentation</h2>
<h3><a name=fastForward></a>void fastForward ()<tt> [slot]</tt></h3>
<p>Fast play of media in forward direction
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(fastForward()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("fastForward()");</pre>
<h3><a name=fastReverse></a>void fastReverse ()<tt> [slot]</tt></h3>
<p>Fast play of media in reverse direction
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(fastReverse()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("fastReverse()");</pre>
<h3><a name=getAudioLanguageDescription></a>QString getAudioLanguageDescription (int lIndex)<tt> [slot]</tt></h3>
<p>Returns the desription corresponding to the index
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(getAudioLanguageDescription(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
QString result = object->dynamicCall("getAudioLanguageDescription(int)", params).toString();</pre>
<h3><a name=getAudioLanguageID></a>int getAudioLanguageID (int lIndex)<tt> [slot]</tt></h3>
<p>Returns the LCID corresponding to the index
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(getAudioLanguageID(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
int result = object->dynamicCall("getAudioLanguageID(int)", params).toInt();</pre>
<h3><a name=getLanguageName></a>QString getLanguageName (int lLangID)<tt> [slot]</tt></h3>
<p>Returns the human-readable name of language specified by LCID
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(getLanguageName(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
QString result = object->dynamicCall("getLanguageName(int)", params).toString();</pre>
<h3><a name=isAvailable></a>bool isAvailable (QString bstrItem)<tt> [slot]</tt></h3>
<p>Returns whether or not the specified media functionality is available
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(isAvailable(QString)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
bool result = object->dynamicCall("isAvailable(QString)", params).toBool();</pre>
<h3><a name=next></a>void next ()<tt> [slot]</tt></h3>
<p>Sets the current item to the next item in the playlist
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(next()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("next()");</pre>
<h3><a name=pause></a>void pause ()<tt> [slot]</tt></h3>
<p>Pauses play of media
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(pause()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("pause()");</pre>
<h3><a name=play></a>void play ()<tt> [slot]</tt></h3>
<p>Begins playing media
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(play()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("play()");</pre>
<h3><a name=playItem></a>void playItem (IDispatch* pIWMPMedia)<tt> [slot]</tt></h3>
<p>Sets the current item and plays it
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(IDispatch*)), object, SLOT(playItem(IDispatch*)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("playItem(IDispatch*)", params);</pre>
<h3><a name=previous></a>void previous ()<tt> [slot]</tt></h3>
<p>Sets the current item to the previous item in the playlist
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(previous()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("previous()");</pre>
<h3><a name=setCurrentAudioLanguage></a>void setCurrentAudioLanguage (int currentAudioLanguage)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(setCurrentAudioLanguage(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentAudioLanguage(int)", params);</pre>
<h3><a name=setCurrentAudioLanguageIndex></a>void setCurrentAudioLanguageIndex (int currentAudioLanguageIndex)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(setCurrentAudioLanguageIndex(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentAudioLanguageIndex(int)", params);</pre>
<h3><a name=setCurrentItem></a>void setCurrentItem (IDispatch* currentItem)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(IDispatch*)), object, SLOT(setCurrentItem(IDispatch*)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentItem(IDispatch*)", params);</pre>
<h3><a name=setCurrentMarker></a>void setCurrentMarker (int currentMarker)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(setCurrentMarker(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentMarker(int)", params);</pre>
<h3><a name=setCurrentPosition></a>void setCurrentPosition (double currentPosition)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(double)), object, SLOT(setCurrentPosition(double)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentPosition(double)", params);</pre>
<h3><a name=setCurrentPositionTimecode></a>void setCurrentPositionTimecode (QString currentPositionTimecode)<tt> [slot]</tt></h3>
<p>
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(setCurrentPositionTimecode(QString)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("setCurrentPositionTimecode(QString)", params);</pre>
<h3><a name=step></a>void step (int lStep)<tt> [slot]</tt></h3>
<p>Advances the video one frame
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(step(int)));</pre>
<p>Or call the function directly:<pre>
QVariantList params = ...
object->dynamicCall("step(int)", params);</pre>
<h3><a name=stop></a>void stop ()<tt> [slot]</tt></h3>
<p>Stops play of media
<p>Connect a signal to this slot:<pre>
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(stop()));</pre>
<p>Or call the function directly:<pre>
object->dynamicCall("stop()");</pre>
<h3><a name=exception></a>void exception (int code, QString source, QString disc, QString help)<tt> [signal]</tt></h3>
<p>
<p>Connect a slot to this signal:<pre>
QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));</pre>
<h3><a name=propertyChanged></a>void propertyChanged (QString name)<tt> [signal]</tt></h3>
<p>
<p>Connect a slot to this signal:<pre>
QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));</pre>
<h3><a name=signal></a>void signal (QString name, int argc, void* argv)<tt> [signal]</tt></h3>
<p>
<p>Connect a slot to this signal:<pre>
QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));</pre>
<hr><h2>Property Documentation</h2>
<h3><a name=objectName></a>QString objectName</h3>
<p>
<p>Read this property's value using QObject::property:<pre>
QString val = object->property("objectName").toString();
</pre>
Set this property' value using QObject::setProperty:<pre>
QString newValue = ...
object->setProperty("objectName", newValue);
</pre>
Or using the <a href="#setObjectName">setObjectName</a> slot.
<h3><a name=audioLanguageCount></a>int audioLanguageCount</h3>
<p>Returns the count of supported audio languages
<p>Read this property's value using QObject::property:<pre>
int val = object->property("audioLanguageCount").toInt();
</pre>
<h3><a name=control></a>QString control</h3>
<p>
<p>Read this property's value using QObject::property:<pre>
QString val = object->property("control").toString();
</pre>
Set this property' value using QObject::setProperty:<pre>
QString newValue = ...
object->setProperty("control", newValue);
</pre>
Or using the <a href="#setControl">setControl</a> slot.
<h3><a name=currentAudioLanguage></a>int currentAudioLanguage</h3>
<p>Gets the current audio language setting for playback
<p>Read this property's value using QObject::property:<pre>
int val = object->property("currentAudioLanguage").toInt();
</pre>
Set this property' value using QObject::setProperty:<pre>
int newValue = ...
object->setProperty("currentAudioLanguage", newValue);
</pre>
Or using the <a href="#setCurrentAudioLanguage">setCurrentAudioLanguage</a> slot.
<h3><a name=currentAudioLanguageIndex></a>int currentAudioLanguageIndex</h3>
<p>Gets the current audio language index setting for playback
<p>Read this property's value using QObject::property:<pre>
int val = object->property("currentAudioLanguageIndex").toInt();
</pre>
Set this property' value using QObject::setProperty:<pre>
int newValue = ...
object->setProperty("currentAudioLanguageIndex", newValue);
</pre>
Or using the <a href="#setCurrentAudioLanguageIndex">setCurrentAudioLanguageIndex</a> slot.
<h3><a name=currentItem></a>IDispatch* currentItem</h3>
<p>Returns/Sets the play item
<p>Read this property's value using QObject::property:<pre>
IDispatch* val = object->property("currentItem").toIDispatch*();
</pre>
Set this property' value using QObject::setProperty:<pre>
IDispatch* newValue = ...
object->setProperty("currentItem", newValue);
</pre>
Or using the <a href="#setCurrentItem">setCurrentItem</a> slot.
<h3><a name=currentMarker></a>int currentMarker</h3>
<p>Returns the current marker
<p>Read this property's value using QObject::property:<pre>
int val = object->property("currentMarker").toInt();
</pre>
Set this property' value using QObject::setProperty:<pre>
int newValue = ...
object->setProperty("currentMarker", newValue);
</pre>
Or using the <a href="#setCurrentMarker">setCurrentMarker</a> slot.
<h3><a name=currentPosition></a>double currentPosition</h3>
<p>Returns the current position in media
<p>Read this property's value using QObject::property:<pre>
double val = object->property("currentPosition").toDouble();
</pre>
Set this property' value using QObject::setProperty:<pre>
double newValue = ...
object->setProperty("currentPosition", newValue);
</pre>
Or using the <a href="#setCurrentPosition">setCurrentPosition</a> slot.
<h3><a name=currentPositionString></a>QString currentPositionString</h3>
<p>Returns the current position in media as a string
<p>Read this property's value using QObject::property:<pre>
QString val = object->property("currentPositionString").toString();
</pre>
<h3><a name=currentPositionTimecode></a>QString currentPositionTimecode</h3>
<p>Returns the current timecode position in media
<p>Read this property's value using QObject::property:<pre>
QString val = object->property("currentPositionTimecode").toString();
</pre>
Set this property' value using QObject::setProperty:<pre>
QString newValue = ...
object->setProperty("currentPositionTimecode", newValue);
</pre>
Or using the <a href="#setCurrentPositionTimecode">setCurrentPositionTimecode</a> slot.