mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 20:14:06 +00:00
85 lines
3.9 KiB
C
85 lines
3.9 KiB
C
|
/* DirectMusicStyle Private Include
|
||
|
*
|
||
|
* Copyright (C) 2003 Rok Mandeljc
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License as published by
|
||
|
* the Free Software Foundation; either version 2 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Library General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with this program; if not, write to the Free Software
|
||
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
*/
|
||
|
|
||
|
#ifndef __WINE_DMSTYLE_PRIVATE_H
|
||
|
#define __WINE_DMSTYLE_PRIVATE_H
|
||
|
|
||
|
#include "windef.h"
|
||
|
#include "wine/debug.h"
|
||
|
#include "winbase.h"
|
||
|
#include "winnt.h"
|
||
|
#include "dmusicc.h"
|
||
|
#include "dmusici.h"
|
||
|
#include "dmusics.h"
|
||
|
#include "dmplugin.h"
|
||
|
#include "dmusicf.h"
|
||
|
#include "dsound.h"
|
||
|
|
||
|
/*****************************************************************************
|
||
|
* Interfaces
|
||
|
*/
|
||
|
typedef struct IDirectMusicStyle8Impl IDirectMusicStyle8Impl;
|
||
|
|
||
|
|
||
|
/*****************************************************************************
|
||
|
* Predeclare the interface implementation structures
|
||
|
*/
|
||
|
extern ICOM_VTABLE(IDirectMusicStyle8) DirectMusicStyle8_Vtbl;
|
||
|
|
||
|
/*****************************************************************************
|
||
|
* ClassFactory
|
||
|
*
|
||
|
* can support IID_IDirectMusicStyle and IID_IDirectMusicStyle8
|
||
|
* return always an IDirectMusicStyle8Impl
|
||
|
*/
|
||
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicStyle (LPCGUID lpcGUID, LPDIRECTMUSICSTYLE* ppDMStyle, LPUNKNOWN pUnkOuter);
|
||
|
|
||
|
/*****************************************************************************
|
||
|
* IDirectMusicStyle8Impl implementation structure
|
||
|
*/
|
||
|
struct IDirectMusicStyle8Impl
|
||
|
{
|
||
|
/* IUnknown fields */
|
||
|
ICOM_VFIELD(IDirectMusicStyle8);
|
||
|
DWORD ref;
|
||
|
|
||
|
/* IDirectMusicStyle8Impl fields */
|
||
|
};
|
||
|
|
||
|
/* IUnknown: */
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_QueryInterface (LPDIRECTMUSICSTYLE8 iface, REFIID riid, LPVOID *ppobj);
|
||
|
extern ULONG WINAPI IDirectMusicStyle8Impl_AddRef (LPDIRECTMUSICSTYLE8 iface);
|
||
|
extern ULONG WINAPI IDirectMusicStyle8Impl_Release (LPDIRECTMUSICSTYLE8 iface);
|
||
|
/* IDirectMusicStyle: */
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetBand (LPDIRECTMUSICSTYLE8 iface, WCHAR* pwszName, IDirectMusicBand** ppBand);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_EnumBand (LPDIRECTMUSICSTYLE8 iface, DWORD dwIndex, WCHAR* pwszName);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetDefaultBand (LPDIRECTMUSICSTYLE8 iface, IDirectMusicBand** ppBand);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_EnumMotif (LPDIRECTMUSICSTYLE8 iface, DWORD dwIndex, WCHAR* pwszName);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetMotif (LPDIRECTMUSICSTYLE8 iface, WCHAR* pwszName, IDirectMusicSegment** ppSegment);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetDefaultChordMap (LPDIRECTMUSICSTYLE8 iface, IDirectMusicChordMap** ppChordMap);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_EnumChordMap (LPDIRECTMUSICSTYLE8 iface, DWORD dwIndex, WCHAR* pwszName);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetChordMap (LPDIRECTMUSICSTYLE8 iface, WCHAR* pwszName, IDirectMusicChordMap** ppChordMap);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetTimeSignature (LPDIRECTMUSICSTYLE8 iface, DMUS_TIMESIGNATURE* pTimeSig);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetEmbellishmentLength (LPDIRECTMUSICSTYLE8 iface, DWORD dwType, DWORD dwLevel, DWORD* pdwMin, DWORD* pdwMax);
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8Impl_GetTempo (LPDIRECTMUSICSTYLE8 iface, double* pTempo);
|
||
|
/* IDirectMusicStyle8: */
|
||
|
extern HRESULT WINAPI IDirectMusicStyle8ImplEnumPattern (LPDIRECTMUSICSTYLE8 iface, DWORD dwIndex, DWORD dwPatternType, WCHAR* pwszName);
|
||
|
|
||
|
#endif /* __WINE_DMSTYLE_PRIVATE_H */
|