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