Francois Gouget : wmp: Make the WMPControls_*() functions static.

Alexandre Julliard julliard at winehq.org
Thu Feb 22 15:07:47 CST 2018


Module: wine
Branch: master
Commit: 1df9a924c8b320d85e64439b43b17c48a5b790c4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1df9a924c8b320d85e64439b43b17c48a5b790c4

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Feb 22 15:14:43 2018 +0100

wmp: Make the WMPControls_*() functions static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wmp/player.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/dlls/wmp/player.c b/dlls/wmp/player.c
index e40422d..d15538a 100644
--- a/dlls/wmp/player.c
+++ b/dlls/wmp/player.c
@@ -940,7 +940,7 @@ static const IWMPSettingsVtbl WMPSettingsVtbl = {
     WMPSettings_put_enableErrorDialogs
 };
 
-HRESULT WINAPI WMPControls_QueryInterface(IWMPControls *iface, REFIID riid, void **ppv)
+static HRESULT WINAPI WMPControls_QueryInterface(IWMPControls *iface, REFIID riid, void **ppv)
 {
     if(IsEqualGUID(riid, &IID_IDispatch)) {
         *ppv = iface;
@@ -1008,105 +1008,105 @@ static HRESULT WINAPI WMPControls_get_isAvailable(IWMPControls *iface, BSTR bstr
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_play(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_play(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_stop(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_stop(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_pause(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_pause(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_fastForward(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_fastForward(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_fastReverse(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_fastReverse(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_get_currentPosition(IWMPControls *iface, DOUBLE *pdCurrentPosition)
+static HRESULT WINAPI WMPControls_get_currentPosition(IWMPControls *iface, DOUBLE *pdCurrentPosition)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, pdCurrentPosition);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_put_currentPosition(IWMPControls *iface, DOUBLE dCurrentPosition)
+static HRESULT WINAPI WMPControls_put_currentPosition(IWMPControls *iface, DOUBLE dCurrentPosition)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%f)\n", This, dCurrentPosition);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_get_currentPositionString(IWMPControls *iface, BSTR *pbstrCurrentPosition)
+static HRESULT WINAPI WMPControls_get_currentPositionString(IWMPControls *iface, BSTR *pbstrCurrentPosition)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, pbstrCurrentPosition);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_next(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_next(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_previous(IWMPControls *iface)
+static HRESULT WINAPI WMPControls_previous(IWMPControls *iface)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)\n", This);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_get_currentItem(IWMPControls *iface, IWMPMedia **ppIWMPMedia)
+static HRESULT WINAPI WMPControls_get_currentItem(IWMPControls *iface, IWMPMedia **ppIWMPMedia)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, ppIWMPMedia);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_put_currentItem(IWMPControls *iface, IWMPMedia *pIWMPMedia)
+static HRESULT WINAPI WMPControls_put_currentItem(IWMPControls *iface, IWMPMedia *pIWMPMedia)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, pIWMPMedia);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_get_currentMarker(IWMPControls *iface, LONG *plMarker)
+static HRESULT WINAPI WMPControls_get_currentMarker(IWMPControls *iface, LONG *plMarker)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, plMarker);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_put_currentMarker(IWMPControls *iface, LONG lMarker)
+static HRESULT WINAPI WMPControls_put_currentMarker(IWMPControls *iface, LONG lMarker)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%d)\n", This, lMarker);
     return E_NOTIMPL;
 }
 
-HRESULT WINAPI WMPControls_playItem(IWMPControls *iface, IWMPMedia *pIWMPMedia)
+static HRESULT WINAPI WMPControls_playItem(IWMPControls *iface, IWMPMedia *pIWMPMedia)
 {
     WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
     FIXME("(%p)->(%p)\n", This, pIWMPMedia);




More information about the wine-cvs mailing list