po: Update Portuguese translation.
[wine.git] / dlls / wmp / player.c
blobe8c349b2aed922ee1bea54872bf0420180966aca
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 #include "wmp_private.h"
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(wmp);
25 static inline WindowsMediaPlayer *impl_from_IWMPPlayer4(IWMPPlayer4 *iface)
27 return CONTAINING_RECORD(iface, WindowsMediaPlayer, IWMPPlayer4_iface);
30 static HRESULT WINAPI WMPPlayer4_QueryInterface(IWMPPlayer4 *iface, REFIID riid, void **ppv)
32 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
33 return IOleObject_QueryInterface(&This->IOleObject_iface, riid, ppv);
36 static ULONG WINAPI WMPPlayer4_AddRef(IWMPPlayer4 *iface)
38 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
39 return IOleObject_AddRef(&This->IOleObject_iface);
42 static ULONG WINAPI WMPPlayer4_Release(IWMPPlayer4 *iface)
44 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
45 return IOleObject_Release(&This->IOleObject_iface);
48 static HRESULT WINAPI WMPPlayer4_GetTypeInfoCount(IWMPPlayer4 *iface, UINT *pctinfo)
50 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
51 FIXME("(%p)->(%p)\n", This, pctinfo);
52 return E_NOTIMPL;
55 static HRESULT WINAPI WMPPlayer4_GetTypeInfo(IWMPPlayer4 *iface, UINT iTInfo,
56 LCID lcid, ITypeInfo **ppTInfo)
58 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
59 FIXME("(%p)->(%u %d %p)\n", This, iTInfo, lcid, ppTInfo);
60 return E_NOTIMPL;
63 static HRESULT WINAPI WMPPlayer4_GetIDsOfNames(IWMPPlayer4 *iface, REFIID riid,
64 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
66 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
67 FIXME("(%p)->(%s %p %u %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId);
68 return E_NOTIMPL;
71 static HRESULT WINAPI WMPPlayer4_Invoke(IWMPPlayer4 *iface, DISPID dispIdMember,
72 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult,
73 EXCEPINFO *pExcepInfo, UINT *puArgErr)
75 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
76 FIXME("(%p)->(%d %s %d %x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid), lcid,
77 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
78 return E_NOTIMPL;
81 static HRESULT WINAPI WMPPlayer4_close(IWMPPlayer4 *iface)
83 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
84 FIXME("(%p)\n", This);
85 return E_NOTIMPL;
88 static HRESULT WINAPI WMPPlayer4_get_URL(IWMPPlayer4 *iface, BSTR *pbstrURL)
90 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
91 FIXME("(%p)->(%p)\n", This, pbstrURL);
92 return E_NOTIMPL;
95 static HRESULT WINAPI WMPPlayer4_put_URL(IWMPPlayer4 *iface, BSTR url)
97 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
98 FIXME("(%p)->(%s)\n", This, debugstr_w(url));
99 return E_NOTIMPL;
102 static HRESULT WINAPI WMPPlayer4_get_openState(IWMPPlayer4 *iface, WMPOpenState *pwmpos)
104 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
105 FIXME("(%p)->(%p)\n", This, pwmpos);
106 return E_NOTIMPL;
109 static HRESULT WINAPI WMPPlayer4_get_playState(IWMPPlayer4 *iface, WMPPlayState *pwmpps)
111 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
112 FIXME("(%p)->(%p)\n", This, pwmpps);
113 return E_NOTIMPL;
116 static HRESULT WINAPI WMPPlayer4_get_controls(IWMPPlayer4 *iface, IWMPControls **ppControl)
118 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
119 FIXME("(%p)->(%p)\n", This, ppControl);
120 return E_NOTIMPL;
123 static HRESULT WINAPI WMPPlayer4_get_settings(IWMPPlayer4 *iface, IWMPSettings **ppSettings)
125 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
127 TRACE("(%p)->(%p)\n", This, ppSettings);
129 IWMPSettings_AddRef(&This->IWMPSettings_iface);
130 *ppSettings = &This->IWMPSettings_iface;
131 return S_OK;
134 static HRESULT WINAPI WMPPlayer4_get_currentMedia(IWMPPlayer4 *iface, IWMPMedia **ppMedia)
136 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
137 FIXME("(%p)->(%p)\n", This, ppMedia);
138 return E_NOTIMPL;
141 static HRESULT WINAPI WMPPlayer4_put_currentMedia(IWMPPlayer4 *iface, IWMPMedia *pMedia)
143 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
144 FIXME("(%p)->(%p)\n", This, pMedia);
145 return E_NOTIMPL;
148 static HRESULT WINAPI WMPPlayer4_get_mediaCollection(IWMPPlayer4 *iface, IWMPMediaCollection **ppMediaCollection)
150 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
151 FIXME("(%p)->(%p)\n", This, ppMediaCollection);
152 return E_NOTIMPL;
155 static HRESULT WINAPI WMPPlayer4_get_playlistCollection(IWMPPlayer4 *iface, IWMPPlaylistCollection **ppPlaylistCollection)
157 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
158 FIXME("(%p)->(%p)\n", This, ppPlaylistCollection);
159 return E_NOTIMPL;
162 static HRESULT WINAPI WMPPlayer4_get_versionInfo(IWMPPlayer4 *iface, BSTR *pbstrVersionInfo)
164 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
165 FIXME("(%p)->(%p)\n", This, pbstrVersionInfo);
166 return E_NOTIMPL;
169 static HRESULT WINAPI WMPPlayer4_launchURL(IWMPPlayer4 *iface, BSTR url)
171 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
172 FIXME("(%p)->(%s)\n", This, debugstr_w(url));
173 return E_NOTIMPL;
176 static HRESULT WINAPI WMPPlayer4_get_network(IWMPPlayer4 *iface, IWMPNetwork **ppQNI)
178 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
179 FIXME("(%p)->(%p)\n", This, ppQNI);
180 return E_NOTIMPL;
183 static HRESULT WINAPI WMPPlayer4_get_currentPlaylist(IWMPPlayer4 *iface, IWMPPlaylist **ppPL)
185 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
186 FIXME("(%p)->(%p)\n", This, ppPL);
187 return E_NOTIMPL;
190 static HRESULT WINAPI WMPPlayer4_put_currentPlaylist(IWMPPlayer4 *iface, IWMPPlaylist *pPL)
192 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
193 FIXME("(%p)->(%p)\n", This, pPL);
194 return E_NOTIMPL;
197 static HRESULT WINAPI WMPPlayer4_get_cdromCollection(IWMPPlayer4 *iface, IWMPCdromCollection **ppCdromCollection)
199 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
200 FIXME("(%p)->(%p)\n", This, ppCdromCollection);
201 return E_NOTIMPL;
204 static HRESULT WINAPI WMPPlayer4_get_closedCaption(IWMPPlayer4 *iface, IWMPClosedCaption **ppClosedCaption)
206 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
207 FIXME("(%p)->(%p)\n", This, ppClosedCaption);
208 return E_NOTIMPL;
211 static HRESULT WINAPI WMPPlayer4_get_isOnline(IWMPPlayer4 *iface, VARIANT_BOOL *pfOnline)
213 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
214 FIXME("(%p)->(%p)\n", This, pfOnline);
215 return E_NOTIMPL;
218 static HRESULT WINAPI WMPPlayer4_get_Error(IWMPPlayer4 *iface, IWMPError **ppError)
220 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
221 FIXME("(%p)->(%p)\n", This, ppError);
222 return E_NOTIMPL;
225 static HRESULT WINAPI WMPPlayer4_get_Status(IWMPPlayer4 *iface, BSTR *pbstrStatus)
227 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
228 FIXME("(%p)->(%p)\n", This, pbstrStatus);
229 return E_NOTIMPL;
232 static HRESULT WINAPI WMPPlayer4_get_dvd(IWMPPlayer4 *iface, IWMPDVD **ppDVD)
234 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
235 FIXME("(%p)->(%p)\n", This, ppDVD);
236 return E_NOTIMPL;
239 static HRESULT WINAPI WMPPlayer4_newPlaylist(IWMPPlayer4 *iface, BSTR name, BSTR url, IWMPPlaylist **ppPlaylist)
241 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
242 FIXME("(%p)->(%s %s %p)\n", This, debugstr_w(name), debugstr_w(url), ppPlaylist);
243 return E_NOTIMPL;
246 static HRESULT WINAPI WMPPlayer4_newMedia(IWMPPlayer4 *iface, BSTR url, IWMPMedia **ppMedia)
248 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
249 FIXME("(%p)->(%p)\n", This, ppMedia);
250 return E_NOTIMPL;
253 static HRESULT WINAPI WMPPlayer4_get_enabled(IWMPPlayer4 *iface, VARIANT_BOOL *pbEnabled)
255 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
256 FIXME("(%p)->(%p)\n", This, pbEnabled);
257 return E_NOTIMPL;
260 static HRESULT WINAPI WMPPlayer4_put_enabled(IWMPPlayer4 *iface, VARIANT_BOOL enabled)
262 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
263 FIXME("(%p)->(%x)\n", This, enabled);
264 return E_NOTIMPL;
267 static HRESULT WINAPI WMPPlayer4_get_fullScreen(IWMPPlayer4 *iface, VARIANT_BOOL *pbFullScreen)
269 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
270 FIXME("(%p)->(%p)\n", This, pbFullScreen);
271 return E_NOTIMPL;
274 static HRESULT WINAPI WMPPlayer4_put_fullScreen(IWMPPlayer4 *iface, VARIANT_BOOL fullscreen)
276 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
277 FIXME("(%p)->(%x)\n", This, fullscreen);
278 return E_NOTIMPL;
281 static HRESULT WINAPI WMPPlayer4_get_enableContextMenu(IWMPPlayer4 *iface, VARIANT_BOOL *pbEnableContextMenu)
283 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
284 FIXME("(%p)->(%p)\n", This, pbEnableContextMenu);
285 return E_NOTIMPL;
288 static HRESULT WINAPI WMPPlayer4_put_enableContextMenu(IWMPPlayer4 *iface, VARIANT_BOOL enable)
290 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
291 FIXME("(%p)->(%x)\n", This, enable);
292 return E_NOTIMPL;
295 static HRESULT WINAPI WMPPlayer4_put_uiMode(IWMPPlayer4 *iface, BSTR mode)
297 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
298 FIXME("(%p)->(%s)\n", This, debugstr_w(mode));
299 return E_NOTIMPL;
302 static HRESULT WINAPI WMPPlayer4_get_uiMode(IWMPPlayer4 *iface, BSTR *pbstrMode)
304 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
305 FIXME("(%p)->(%p)\n", This, pbstrMode);
306 return E_NOTIMPL;
309 static HRESULT WINAPI WMPPlayer4_get_stretchToFit(IWMPPlayer4 *iface, VARIANT_BOOL *enabled)
311 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
312 FIXME("(%p)->(%p)\n", This, enabled);
313 return E_NOTIMPL;
316 static HRESULT WINAPI WMPPlayer4_put_stretchToFit(IWMPPlayer4 *iface, VARIANT_BOOL enabled)
318 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
319 FIXME("(%p)->(%x)\n", This, enabled);
320 return E_NOTIMPL;
323 static HRESULT WINAPI WMPPlayer4_get_windowlessVideo(IWMPPlayer4 *iface, VARIANT_BOOL *enabled)
325 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
326 FIXME("(%p)->(%p)\n", This, enabled);
327 return E_NOTIMPL;
330 static HRESULT WINAPI WMPPlayer4_put_windowlessVideo(IWMPPlayer4 *iface, VARIANT_BOOL enabled)
332 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
333 FIXME("(%p)->(%x)\n", This, enabled);
334 return E_NOTIMPL;
337 static HRESULT WINAPI WMPPlayer4_get_isRemote(IWMPPlayer4 *iface, VARIANT_BOOL *pvarfIsRemote)
339 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
340 FIXME("(%p)->(%p)\n", This, pvarfIsRemote);
341 return E_NOTIMPL;
344 static HRESULT WINAPI WMPPlayer4_get_playerApplication(IWMPPlayer4 *iface, IWMPPlayerApplication **ppIWMPPlayerApplication)
346 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
347 FIXME("(%p)->(%p)\n", This, ppIWMPPlayerApplication);
348 return E_NOTIMPL;
351 static HRESULT WINAPI WMPPlayer4_openPlayer(IWMPPlayer4 *iface, BSTR url)
353 WindowsMediaPlayer *This = impl_from_IWMPPlayer4(iface);
354 FIXME("(%p)->(%s)\n", This, debugstr_w(url));
355 return E_NOTIMPL;
358 static IWMPPlayer4Vtbl WMPPlayer4Vtbl = {
359 WMPPlayer4_QueryInterface,
360 WMPPlayer4_AddRef,
361 WMPPlayer4_Release,
362 WMPPlayer4_GetTypeInfoCount,
363 WMPPlayer4_GetTypeInfo,
364 WMPPlayer4_GetIDsOfNames,
365 WMPPlayer4_Invoke,
366 WMPPlayer4_close,
367 WMPPlayer4_get_URL,
368 WMPPlayer4_put_URL,
369 WMPPlayer4_get_openState,
370 WMPPlayer4_get_playState,
371 WMPPlayer4_get_controls,
372 WMPPlayer4_get_settings,
373 WMPPlayer4_get_currentMedia,
374 WMPPlayer4_put_currentMedia,
375 WMPPlayer4_get_mediaCollection,
376 WMPPlayer4_get_playlistCollection,
377 WMPPlayer4_get_versionInfo,
378 WMPPlayer4_launchURL,
379 WMPPlayer4_get_network,
380 WMPPlayer4_get_currentPlaylist,
381 WMPPlayer4_put_currentPlaylist,
382 WMPPlayer4_get_cdromCollection,
383 WMPPlayer4_get_closedCaption,
384 WMPPlayer4_get_isOnline,
385 WMPPlayer4_get_Error,
386 WMPPlayer4_get_Status,
387 WMPPlayer4_get_dvd,
388 WMPPlayer4_newPlaylist,
389 WMPPlayer4_newMedia,
390 WMPPlayer4_get_enabled,
391 WMPPlayer4_put_enabled,
392 WMPPlayer4_get_fullScreen,
393 WMPPlayer4_put_fullScreen,
394 WMPPlayer4_get_enableContextMenu,
395 WMPPlayer4_put_enableContextMenu,
396 WMPPlayer4_put_uiMode,
397 WMPPlayer4_get_uiMode,
398 WMPPlayer4_get_stretchToFit,
399 WMPPlayer4_put_stretchToFit,
400 WMPPlayer4_get_windowlessVideo,
401 WMPPlayer4_put_windowlessVideo,
402 WMPPlayer4_get_isRemote,
403 WMPPlayer4_get_playerApplication,
404 WMPPlayer4_openPlayer
407 static inline WindowsMediaPlayer *impl_from_IWMPSettings(IWMPSettings *iface)
409 return CONTAINING_RECORD(iface, WindowsMediaPlayer, IWMPSettings_iface);
412 static HRESULT WINAPI WMPSettings_QueryInterface(IWMPSettings *iface, REFIID riid, void **ppv)
414 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
415 return IOleObject_QueryInterface(&This->IOleObject_iface, riid, ppv);
418 static ULONG WINAPI WMPSettings_AddRef(IWMPSettings *iface)
420 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
421 return IOleObject_AddRef(&This->IOleObject_iface);
424 static ULONG WINAPI WMPSettings_Release(IWMPSettings *iface)
426 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
427 return IOleObject_Release(&This->IOleObject_iface);
430 static HRESULT WINAPI WMPSettings_GetTypeInfoCount(IWMPSettings *iface, UINT *pctinfo)
432 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
433 FIXME("(%p)->(%p)\n", This, pctinfo);
434 return E_NOTIMPL;
437 static HRESULT WINAPI WMPSettings_GetTypeInfo(IWMPSettings *iface, UINT iTInfo,
438 LCID lcid, ITypeInfo **ppTInfo)
440 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
441 FIXME("(%p)->(%u %d %p)\n", This, iTInfo, lcid, ppTInfo);
442 return E_NOTIMPL;
445 static HRESULT WINAPI WMPSettings_GetIDsOfNames(IWMPSettings *iface, REFIID riid,
446 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
448 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
449 FIXME("(%p)->(%s %p %u %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId);
450 return E_NOTIMPL;
453 static HRESULT WINAPI WMPSettings_Invoke(IWMPSettings *iface, DISPID dispIdMember,
454 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult,
455 EXCEPINFO *pExcepInfo, UINT *puArgErr)
457 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
458 FIXME("(%p)->(%d %s %d %x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid), lcid,
459 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
460 return E_NOTIMPL;
463 static HRESULT WINAPI WMPSettings_get_isAvailable(IWMPSettings *iface, BSTR item, VARIANT_BOOL *p)
465 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
466 FIXME("(%p)->(%s %p)\n", This, debugstr_w(item), p);
467 return E_NOTIMPL;
470 static HRESULT WINAPI WMPSettings_get_autoStart(IWMPSettings *iface, VARIANT_BOOL *p)
472 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
473 FIXME("(%p)->(%p)\n", This, p);
474 return E_NOTIMPL;
477 static HRESULT WINAPI WMPSettings_put_autoStart(IWMPSettings *iface, VARIANT_BOOL v)
479 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
480 FIXME("(%p)->(%x)\n", This, v);
481 return E_NOTIMPL;
484 static HRESULT WINAPI WMPSettings_get_baseURL(IWMPSettings *iface, BSTR *p)
486 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
487 FIXME("(%p)->(%p)\n", This, p);
488 return E_NOTIMPL;
491 static HRESULT WINAPI WMPSettings_put_baseURL(IWMPSettings *iface, BSTR v)
493 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
494 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
495 return E_NOTIMPL;
498 static HRESULT WINAPI WMPSettings_get_defaultFrame(IWMPSettings *iface, BSTR *p)
500 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
501 FIXME("(%p)->(%p)\n", This, p);
502 return E_NOTIMPL;
505 static HRESULT WINAPI WMPSettings_put_defaultFrame(IWMPSettings *iface, BSTR v)
507 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
508 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
509 return E_NOTIMPL;
512 static HRESULT WINAPI WMPSettings_get_invokeURLs(IWMPSettings *iface, VARIANT_BOOL *p)
514 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
515 FIXME("(%p)->(%p)\n", This, p);
516 return E_NOTIMPL;
519 static HRESULT WINAPI WMPSettings_put_invokeURLs(IWMPSettings *iface, VARIANT_BOOL v)
521 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
522 FIXME("(%p)->(%x)\n", This, v);
523 return E_NOTIMPL;
526 static HRESULT WINAPI WMPSettings_get_mute(IWMPSettings *iface, VARIANT_BOOL *p)
528 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
529 FIXME("(%p)->(%p)\n", This, p);
530 return E_NOTIMPL;
533 static HRESULT WINAPI WMPSettings_put_mute(IWMPSettings *iface, VARIANT_BOOL v)
535 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
536 FIXME("(%p)->(%x)\n", This, v);
537 return E_NOTIMPL;
540 static HRESULT WINAPI WMPSettings_get_playCount(IWMPSettings *iface, LONG *p)
542 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
543 FIXME("(%p)->(%p)\n", This, p);
544 return E_NOTIMPL;
547 static HRESULT WINAPI WMPSettings_put_playCount(IWMPSettings *iface, LONG v)
549 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
550 FIXME("(%p)->(%d)\n", This, v);
551 return E_NOTIMPL;
554 static HRESULT WINAPI WMPSettings_get_rate(IWMPSettings *iface, double *p)
556 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
557 FIXME("(%p)->(%p)\n", This, p);
558 return E_NOTIMPL;
561 static HRESULT WINAPI WMPSettings_put_rate(IWMPSettings *iface, double v)
563 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
564 FIXME("(%p)->(%lf)\n", This, v);
565 return E_NOTIMPL;
568 static HRESULT WINAPI WMPSettings_get_balance(IWMPSettings *iface, LONG *p)
570 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
571 FIXME("(%p)->(%p)\n", This, p);
572 return E_NOTIMPL;
575 static HRESULT WINAPI WMPSettings_put_balance(IWMPSettings *iface, LONG v)
577 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
578 FIXME("(%p)->(%d)\n", This, v);
579 return E_NOTIMPL;
582 static HRESULT WINAPI WMPSettings_get_volume(IWMPSettings *iface, LONG *p)
584 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
585 FIXME("(%p)->(%p)\n", This, p);
586 return E_NOTIMPL;
589 static HRESULT WINAPI WMPSettings_put_volume(IWMPSettings *iface, LONG v)
591 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
592 FIXME("(%p)->(%d)\n", This, v);
593 return E_NOTIMPL;
596 static HRESULT WINAPI WMPSettings_getMode(IWMPSettings *iface, BSTR mode, VARIANT_BOOL *p)
598 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
599 FIXME("(%p)->(%s %p)\n", This, debugstr_w(mode), p);
600 return E_NOTIMPL;
603 static HRESULT WINAPI WMPSettings_setMode(IWMPSettings *iface, BSTR mode, VARIANT_BOOL v)
605 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
606 FIXME("(%p)->(%s %x)\n", This, debugstr_w(mode), v);
607 return E_NOTIMPL;
610 static HRESULT WINAPI WMPSettings_get_enableErrorDialogs(IWMPSettings *iface, VARIANT_BOOL *p)
612 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
613 FIXME("(%p)->(%p)\n", This, p);
614 return E_NOTIMPL;
617 static HRESULT WINAPI WMPSettings_put_enableErrorDialogs(IWMPSettings *iface, VARIANT_BOOL v)
619 WindowsMediaPlayer *This = impl_from_IWMPSettings(iface);
620 FIXME("(%p)->(%x)\n", This, v);
621 return E_NOTIMPL;
624 static const IWMPSettingsVtbl WMPSettingsVtbl = {
625 WMPSettings_QueryInterface,
626 WMPSettings_AddRef,
627 WMPSettings_Release,
628 WMPSettings_GetTypeInfoCount,
629 WMPSettings_GetTypeInfo,
630 WMPSettings_GetIDsOfNames,
631 WMPSettings_Invoke,
632 WMPSettings_get_isAvailable,
633 WMPSettings_get_autoStart,
634 WMPSettings_put_autoStart,
635 WMPSettings_get_baseURL,
636 WMPSettings_put_baseURL,
637 WMPSettings_get_defaultFrame,
638 WMPSettings_put_defaultFrame,
639 WMPSettings_get_invokeURLs,
640 WMPSettings_put_invokeURLs,
641 WMPSettings_get_mute,
642 WMPSettings_put_mute,
643 WMPSettings_get_playCount,
644 WMPSettings_put_playCount,
645 WMPSettings_get_rate,
646 WMPSettings_put_rate,
647 WMPSettings_get_balance,
648 WMPSettings_put_balance,
649 WMPSettings_get_volume,
650 WMPSettings_put_volume,
651 WMPSettings_getMode,
652 WMPSettings_setMode,
653 WMPSettings_get_enableErrorDialogs,
654 WMPSettings_put_enableErrorDialogs
657 void init_player_ifaces(WindowsMediaPlayer *wmp)
659 wmp->IWMPPlayer4_iface.lpVtbl = &WMPPlayer4Vtbl;
660 wmp->IWMPSettings_iface.lpVtbl = &WMPSettingsVtbl;