oleacc: Added CAccPropServices stub implementation.
[wine/multimedia.git] / dlls / dmusic / dmobject.h
blob35749395a7a86dd982fbc7ac352d58db1861d2d9
1 /*
2 * Base IDirectMusicObject Implementation
4 * Copyright (C) 2014 Michael Stefaniuc
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 struct dmobject {
22 IDirectMusicObject IDirectMusicObject_iface;
23 IPersistStream IPersistStream_iface;
24 IUnknown *outer_unk;
25 DMUS_OBJECTDESC desc;
28 void dmobject_init(struct dmobject *dmobj, const GUID *class, IUnknown *outer_unk) DECLSPEC_HIDDEN;
30 /* Generic IDirectMusicObject methods */
31 HRESULT WINAPI dmobj_IDirectMusicObject_QueryInterface(IDirectMusicObject *iface, REFIID riid,
32 void **ret_iface) DECLSPEC_HIDDEN;
33 ULONG WINAPI dmobj_IDirectMusicObject_AddRef(IDirectMusicObject *iface) DECLSPEC_HIDDEN;
34 ULONG WINAPI dmobj_IDirectMusicObject_Release(IDirectMusicObject *iface) DECLSPEC_HIDDEN;
35 HRESULT WINAPI dmobj_IDirectMusicObject_GetDescriptor(IDirectMusicObject *iface,
36 DMUS_OBJECTDESC *desc) DECLSPEC_HIDDEN;
37 HRESULT WINAPI dmobj_IDirectMusicObject_SetDescriptor(IDirectMusicObject *iface,
38 DMUS_OBJECTDESC *desc) DECLSPEC_HIDDEN;
40 /* Generic IPersistStream methods */
41 HRESULT WINAPI dmobj_IPersistStream_QueryInterface(IPersistStream *iface, REFIID riid,
42 void **ret_iface) DECLSPEC_HIDDEN;
43 ULONG WINAPI dmobj_IPersistStream_AddRef(IPersistStream *iface) DECLSPEC_HIDDEN;
44 ULONG WINAPI dmobj_IPersistStream_Release(IPersistStream *iface) DECLSPEC_HIDDEN;
46 /* IPersistStream methods not implemented in native */
47 HRESULT WINAPI unimpl_IPersistStream_GetClassID(IPersistStream *iface,
48 CLSID *class) DECLSPEC_HIDDEN;
49 HRESULT WINAPI unimpl_IPersistStream_IsDirty(IPersistStream *iface) DECLSPEC_HIDDEN;
50 HRESULT WINAPI unimpl_IPersistStream_Save(IPersistStream *iface, IStream *stream,
51 BOOL clear_dirty) DECLSPEC_HIDDEN;
52 HRESULT WINAPI unimpl_IPersistStream_GetSizeMax(IPersistStream *iface,
53 ULARGE_INTEGER *size) DECLSPEC_HIDDEN;