wmp: Add IWMPControls stub implementation.
[wine.git] / dlls / wmp / wmp_private.h
blob65de6bbd09b33a16dc10f453f53cf5c78ddc74d5
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 #define COBJMACROS
21 #include "windows.h"
22 #include "wine/heap.h"
23 #include "ole2.h"
24 #include "wmp.h"
26 typedef struct {
27 IConnectionPoint IConnectionPoint_iface;
29 IConnectionPointContainer *container;
31 IDispatch **sinks;
32 DWORD sinks_size;
34 IID iid;
35 } ConnectionPoint;
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;
49 LONG ref;
51 IOleClientSite *client_site;
52 HWND hwnd;
53 SIZEL extent;
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;