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
22 #include "wine/heap.h"
27 IConnectionPoint IConnectionPoint_iface
;
29 IConnectionPointContainer
*container
;
37 struct WindowsMediaPlayer
{
38 IOleObject IOleObject_iface
;
39 IProvideClassInfo2 IProvideClassInfo2_iface
;
40 IPersistStreamInit IPersistStreamInit_iface
;
41 IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless_iface
;
42 IConnectionPointContainer IConnectionPointContainer_iface
;
43 IOleControl IOleControl_iface
;
44 IWMPPlayer4 IWMPPlayer4_iface
;
45 IWMPPlayer IWMPPlayer_iface
;
46 IWMPSettings IWMPSettings_iface
;
47 IWMPControls IWMPControls_iface
;
51 IOleClientSite
*client_site
;
55 ConnectionPoint
*wmpocx
;
58 void init_player_ifaces(WindowsMediaPlayer
*) DECLSPEC_HIDDEN
;
59 void ConnectionPointContainer_Init(WindowsMediaPlayer
*wmp
) DECLSPEC_HIDDEN
;
60 void ConnectionPointContainer_Destroy(WindowsMediaPlayer
*wmp
) DECLSPEC_HIDDEN
;
62 HRESULT WINAPI
WMPFactory_CreateInstance(IClassFactory
*,IUnknown
*,REFIID
,void**) DECLSPEC_HIDDEN
;
64 void unregister_wmp_class(void) DECLSPEC_HIDDEN
;
66 extern HINSTANCE wmp_instance DECLSPEC_HIDDEN
;