dmusici.h revision 589fd26cedb2b4ebbed14f2964cad03cc8ebbca2
af062818b47340eef15700d2f0211576ba3506eevboxsync * DirectMusic Performance API
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2003-2004 Rok Mandeljc
af062818b47340eef15700d2f0211576ba3506eevboxsync * This program is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This program is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this program; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * other than GPL or LGPL is available it will apply instead, Sun elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINESRC__ */
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Predeclare the interfaces
af062818b47340eef15700d2f0211576ba3506eevboxsync/* CLSIDs */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicAudioPathConfig, 0xee0b9ca0,0xa81e,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicBand, 0x79ba9e00,0xb6ee,0x11d1,0x86,0xbe,0x00,0xc0,0x4f,0xbf,0x8f,0xef);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicChordMap, 0xd2ac288f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicComposer, 0xd2ac2890,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicContainer, 0x9301e380,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicGraph, 0xd2ac2884,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicLoader, 0xd2ac2892,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicPatternTrack, 0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicPerformance, 0xd2ac2881,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScript, 0x810b5013,0xe88d,0x11d2,0x8b,0xc1,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSegment, 0xd2ac2882,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSegmentState, 0xd2ac2883,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicStyle, 0xd2ac288a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectSoundWave, 0x8a667154,0xf9cb,0x11d2,0xad,0x8a,0x00,0x60,0xb0,0x57,0x5a,0xbc);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* MS doesn't support this in DX 9.0 and newer... but there's no harm in keeping it around */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSong, 0xaed5f0a5,0xd972,0x483d,0xa3,0x84,0x64,0x9d,0xfe,0xb9,0xc1,0x81);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* these CLSIDs aren't officially declared in any dmusic header, but are used by wine's regsvr implementations*/
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSynthSink, 0xaec17ce3,0xa514,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSection, 0x3f037241,0x414e,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicAuditionTrack, 0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicSegTriggerTrack, 0xbae4d665,0x4ea1,0x11d3,0x8b,0xda,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicAudioPath, 0xee0b9ca0,0xa81e,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicTemplate, 0xd30bcc65,0x60e8,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegment, 0x4062c116,0x0270,0x11d3,0x8b,0xcb,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_AudioVBScript, 0x4ee17959,0x931e,0x49e4,0xa2,0xc6,0x97,0x7e,0xcf,0x36,0x28,0xf3);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpPerformance, 0xa861c6e2,0xfcfc,0x11d2,0x8b,0xc9,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptSourceCodeLoader, 0xc70eb77f,0xefd4,0x4678,0xa2,0x7b,0xbf,0x16,0x48,0xf3,0x0d,0x04);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegmentState, 0xebf2320a,0x2502,0x11d3,0x8b,0xd1,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPathConfig, 0x1cebde3e,0x6b91,0x484a,0xaf,0x48,0x5e,0x4f,0x4e,0xd6,0xb1,0xe1);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPath, 0x2c5f9b72,0x7148,0x4d97,0xbf,0xc9,0x68,0xa0,0xe0,0x76,0xbe,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(CLSID_DirectMusicScriptAutoImpSong, 0xa16f1761,0xb6d8,0x42eb,0x8d,0x57,0x4a,0x44,0xfe,0xdd,0x3b,0xd2);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicAudioPath, 0xc87631f5,0x23be,0x4986,0x88,0x36,0x05,0x83,0x2f,0xcc,0x48,0xf9);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicBand, 0xd2ac28c0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicChordMap, 0xd2ac28be,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicComposer, 0xd2ac28bf,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicContainer, 0x9301e386,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicGetLoader, 0x68a04844,0xd13d,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicGraph, 0x2befc277,0x5497,0x11d2,0xbc,0xcb,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicLoader, 0x2ffaaca2,0x5dca,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicLoader8, 0x19e7c08c,0x0a44,0x4e6a,0xa1,0x16,0x59,0x5a,0x7c,0xd5,0xde,0x8c);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicObject, 0xd2ac28b5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicPatternTrack, 0x51c22e10,0xb49f,0x46fc,0xbe,0xc2,0xe6,0x28,0x8f,0xb9,0xed,0xe6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicPerformance, 0x07d43d03,0x6523,0x11d2,0x87,0x1d,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicPerformance2, 0x6fc2cae0,0xbc78,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicPerformance8, 0x679c4137,0xc62e,0x4147,0xb2,0xb4,0x9d,0x56,0x9a,0xcb,0x25,0x4c);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicScript, 0x2252373a,0x5814,0x489b,0x82,0x09,0x31,0xfe,0xde,0xba,0xf1,0x37);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicSegment, 0xf96029a2,0x4282,0x11d2,0x87,0x17,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicSegment2, 0xd38894d1,0xc052,0x11d2,0x87,0x2f,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicSegment8, 0xc6784488,0x41a3,0x418f,0xaa,0x15,0xb3,0x50,0x93,0xba,0x42,0xd4);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicSegmentState, 0xa3afdcc7,0xd3ee,0x11d1,0xbc,0x8d,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicSegmentState8, 0xa50e4730,0x0ae4,0x48a7,0x98,0x39,0xbc,0x04,0xbf,0xe0,0x77,0x72);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicStyle, 0xd2ac28bd,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(IID_IDirectMusicStyle8, 0xfd24ad8a,0xa260,0x453d,0xbf,0x50,0x6f,0x93,0x84,0xf7,0x09,0x85);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* IIDs of unchanged interfaces */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicAudioPath8 IID_IDirectMusicAudioPath
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicChordMap8 IID_IDirectMusicChordMap
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicComposer8 IID_IDirectMusicComposer
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicContainer8 IID_IDirectMusicContainer
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicGetLoader8 IID_IDirectMusicGetLoader
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicGraph8 IID_IDirectMusicGraph
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicObject8 IID_IDirectMusicObject
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicPatternTrack8 IID_IDirectMusicPatternTrack
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IID_IDirectMusicScript8 IID_IDirectMusicScript
af062818b47340eef15700d2f0211576ba3506eevboxsync/* typedef definitions */
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicBand IDirectMusicBand8, *LPDIRECTMUSICBAND8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicObject *LPDIRECTMUSICOBJECT;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicObject IDirectMusicObject8, *LPDIRECTMUSICOBJECT8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicLoader *LPDIRECTMUSICLOADER;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicLoader8 *LPDIRECTMUSICLOADER8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicGetLoader *LPDIRECTMUSICGETLOADER;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicGetLoader IDirectMusicGetLoader8, *LPDIRECTMUSICGETLOADER8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicAudioPath *LPDIRECTMUSICAUDIOPATH;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicAudioPath IDirectMusicAudioPath8, *LPDIRECTMUSICAUDIOPATH8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicStyle *LPDIRECTMUSICSTYLE;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicStyle8 *LPDIRECTMUSICSTYLE8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicChordMap *LPDIRECTMUSICCHORDMAP;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicChordMap IDirectMusicChordMap8, *LPDIRECTMUSICCHORDMAP8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicComposer *LPDIRECTMUSICCOMPOSER;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicComposer IDirectMusicComposer8, *LPDIRECTMUSICCOMPOSER8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicPatternTrack *LPDIRECTMUSICPATTERNTRACK;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicPatternTrack IDirectMusicPatternTrack8, *LPDIRECTMUSICPATTERNTRACK8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicScript *LPDIRECTMUSICSCRIPT;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicScript IDirectMusicScript8, *LPDIRECTMUSICSCRIPT8;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicContainer *LPDIRECTMUSICCONTAINER;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct IDirectMusicContainer IDirectMusicContainer8, *LPDIRECTMUSICCONTAINER8;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* RPC declarations */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - all types loader */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_DirectMusicAllTypes, 0xd2ac2893,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - notification */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_CHORD, 0xd2ac289b,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_COMMAND, 0xd2ac289c,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_MEASUREANDBEAT, 0xd2ac289a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_PERFORMANCE, 0x81f75bc5,0x4e5d,0x11d2,0xbc,0xc7,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_RECOMPOSE, 0xd348372b,0x945b,0x45ae,0xa5,0x22,0x45,0x0f,0x12,0x5b,0x84,0xa5);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_NOTIFICATION_SEGMENT, 0xd2ac2899,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - param types */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_BandParam, 0x02bb1938,0xcb8b,0x11d2,0x8b,0xb9,0x00,0x60,0x08,0x93,0xb1,0xb6);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_ChordParam, 0xd2ac289e,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_CommandParam, 0xd2ac289d,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_CommandParam2, 0x28f97ef7,0x9538,0x11d2,0x97,0xa9,0x00,0xc0,0x4f,0xa3,0x6e,0x58);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_CommandParamNext, 0x472afe7a,0x281b,0x11d3,0x81,0x7d,0x00,0xc0,0x4f,0xa3,0x6e,0x58);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_IDirectMusicBand, 0xd2ac28ac,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_IDirectMusicChordMap, 0xd2ac28ad,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_IDirectMusicStyle, 0xd2ac28a1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_MuteParam, 0xd2ac28af,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Play_Marker, 0xd8761a41,0x801a,0x11d3,0x9b,0xd1,0xda,0xf7,0xe1,0xc3,0xd8,0x34);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_RhythmParam, 0xd2ac289f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_TempoParam, 0xd2ac28a5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_TimeSignature, 0xd2ac28a4,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Valid_Start_Time, 0x7f6b1760,0x1fdb,0x11d3,0x82,0x26,0x44,0x45,0x53,0x54,0x00,0x00);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - param setting */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Clear_All_Bands, 0xd2ac28ab,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_ConnectToDLSCollection, 0x1db1ae6b,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Disable_Auto_Download, 0xd2ac28aa,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_DisableTempo, 0x45fc707d,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_DisableTimeSig, 0x45fc707b,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Download, 0xd2ac28a7,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_DownloadToAudioPath, 0x9f2c0341,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Enable_Auto_Download, 0xd2ac28a9,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_EnableTempo, 0x45fc707e,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_EnableTimeSig, 0x45fc707c,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define GUID_IgnoreBankSelectForGM GUID_StandardMIDIFile
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_SeedVariations, 0x65b76fa5,0xff37,0x11d2,0x81,0x4e,0x00,0xc0,0x4f,0xa3,0x6e,0x58);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_StandardMIDIFile, 0x06621075,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Unload, 0xd2ac28a8,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_UnloadFromAudioPath, 0x9f2c0342,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Variations, 0x11f72cce,0x26e6,0x4ecd,0xaf,0x2e,0xd6,0x68,0xe6,0x67,0x07,0xd8);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - global data */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_PerfMasterTempo, 0xd2ac28b0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_PerfMasterVolume, 0xd2ac28b1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_PerfMasterGrooveLevel, 0xd2ac28b2,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_PerfAutoDownload, 0xfb09565b,0x3631,0x11d2,0xbc,0xb8,0x00,0xa0,0xc9,0x22,0xe6,0xeb);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUID - default DLS collection */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_DefaultGMCollection, 0xf17e8673,0xc3b4,0x11d1,0x87,0x0b,0x00,0x60,0x08,0x93,0xb1,0xbd);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUID - default synthesizer */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Synth_Default, 0x26bb9432,0x45fe,0x48d3,0xa3,0x75,0x24,0x72,0xc5,0xe3,0xe7,0x86);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* GUIDs - define default buffer configuration */
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Buffer_Reverb, 0x186cc541,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Buffer_EnvReverb, 0x186cc542,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Buffer_Stereo, 0x186cc545,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Buffer_3D_Dry, 0x186cc546,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsyncDEFINE_GUID(GUID_Buffer_Mono, 0x186cc547,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74);
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Typedef definitions
af062818b47340eef15700d2f0211576ba3506eevboxsync * typedef __int64 REFERENCE_TIME, *LPREFERENCE_TIME;
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * typedef LONG MUSIC_TIME, *LPMUSIC_TIME;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PCHANNEL_BROADCAST_PERFORMANCE 0xFFFFFFFF
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PCHANNEL_BROADCAST_AUDIOPATH 0xFFFFFFFE
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_FIXEDTOKEY DMUS_PLAYMODE_KEY_ROOT
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_FIXEDTOCHORD DMUS_PLAYMODE_CHORD_ROOT
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_PEDALPOINT (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_MELODIC (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_NORMALCHORD (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_ALWAYSPLAY (DMUS_PLAYMODE_MELODIC | DMUS_PLAYMODE_NORMALCHORD)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_PEDALPOINTCHORD (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_PEDALPOINTALWAYS (DMUS_PLAYMODE_PEDALPOINT | DMUS_PLAYMODE_PEDALPOINTCHORD)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_PURPLEIZED DMUS_PLAYMODE_ALWAYSPLAY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_SCALE_ROOT DMUS_PLAYMODE_KEY_ROOT
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_PLAYMODE_FIXEDTOSCALE DMUS_PLAYMODE_FIXEDTOKEY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_TRACKCONFIG_NOTIFICATION_ENABLED 0x00020
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_TRACKCONFIG_TRANS1_FROMSEGSTART 0x00400
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_TRACKCONFIG_TRANS1_FROMSEGCURRENT 0x00800
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_TRACKCONFIG_CONTROL_NOTIFICATION 0x20000
af062818b47340eef15700d2f0211576ba3506eevboxsync#define DMUS_TRACKCONFIG_DEFAULT (DMUS_TRACKCONFIG_CONTROL_ENABLED | DMUS_TRACKCONFIG_PLAY_ENABLED | DMUS_TRACKCONFIG_NOTIFICATION_ENABLED)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Definitions
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Enumerations
af062818b47340eef15700d2f0211576ba3506eevboxsync/* typedef definitions */
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_STYLET_TYPES DMUS_STYLET_TYPES;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_COMMANDT_TYPES DMUS_COMMANDT_TYPES;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_SHAPET_TYPES DMUS_SHAPET_TYPES;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_COMPOSEF_FLAGS DMUS_COMPOSEF_FLAGS;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_TIME_RESOLVE_FLAGS DMUS_TIME_RESOLVE_FLAGS;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_CHORDKEYF_FLAGS DMUS_CHORDKEYF_FLAGS;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum enumDMUS_PLAYMODE_FLAGS DMUS_PLAYMODE_FLAGS;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* actual enumerations */
af062818b47340eef15700d2f0211576ba3506eevboxsync DMUS_TIME_RESOLVE_AFTERPREPARETIME = DMUS_SEGF_AFTERPREPARETIME,
af062818b47340eef15700d2f0211576ba3506eevboxsync DMUS_TIME_RESOLVE_AFTERQUEUETIME = DMUS_SEGF_AFTERQUEUETIME,
af062818b47340eef15700d2f0211576ba3506eevboxsync DMUS_TIME_RESOLVE_AFTERLATENCYTIME = DMUS_SEGF_AFTERLATENCYTIME,
af062818b47340eef15700d2f0211576ba3506eevboxsync DMUS_TIME_RESOLVE_SEGMENTEND = DMUS_SEGF_SEGMENTEND,
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * Structures
af062818b47340eef15700d2f0211576ba3506eevboxsync/* typedef definitions */
af062818b47340eef15700d2f0211576ba3506eevboxsync/*typedef struct _DMUS_PMSG DMUS_PMSG, *LPDMUS_PMSG; */
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_AUDIOPARAMS DMUS_AUDIOPARAMS, *LPDMUS_AUDIOPARAMS;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_SUBCHORD DMUS_SUBCHORD, *LPDMUS_SUBCHORD;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_CHORD_KEY DMUS_CHORD_KEY, *LPDMUS_CHORD_KEY;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_NOTE_PMSG DMUS_NOTE_PMSG, *LPDMUS_NOTE_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_MIDI_PMSG DMUS_MIDI_PMSG, *LPDMUS_MIDI_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_PATCH_PMSG DMUS_PATCH_PMSG, *LPDMUS_PATCH_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_TRANSPOSE_PMSG DMUS_TRANSPOSE_PMSG, *LPDMUS_TRANSPOSE_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_CHANNEL_PRIORITY_PMSG DMUS_CHANNEL_PRIORITY_PMSG, *LPDMUS_CHANNEL_PRIORITY_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_TEMPO_PMSG DMUS_TEMPO_PMSG, *LPDMUS_TEMPO_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_SYSEX_PMSG DMUS_SYSEX_PMSG, *LPDMUS_SYSEX_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_CURVE_PMSG DMUS_CURVE_PMSG, *LPDMUS_CURVE_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_TIMESIG_PMSG DMUS_TIMESIG_PMSG, *LPDMUS_TIMESIG_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_NOTIFICATION_PMSG DMUS_NOTIFICATION_PMSG, *LPDMUS_NOTIFICATION_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_WAVE_PMSG DMUS_WAVE_PMSG, *LPDMUS_WAVE_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_LYRIC_PMSG DMUS_LYRIC_PMSG, *LPDMUS_LYRIC_PMSG;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_VERSION DMUS_VERSION, *LPDMUS_VERSION;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_TIMESIGNATURE DMUS_TIMESIGNATURE, *LPDMUS_TIMESIGNATURE;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_VALID_START_PARAM DMUS_VALID_START_PARAM, *LPDMUS_VALID_START_PARAM;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_PLAY_MARKER_PARAM DMUS_PLAY_MARKER_PARAM, *LPDMUS_PLAY_MARKER_PARAM;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_OBJECTDESC DMUS_OBJECTDESC, *LPDMUS_OBJECTDESC;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_SCRIPT_ERRORINFO DMUS_SCRIPT_ERRORINFO, *LPDMUS_SCRIPT_ERRORINFO;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_COMMAND_PARAM DMUS_COMMAND_PARAM, *LPDMUS_COMMAND_PARAM;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_COMMAND_PARAM_2 DMUS_COMMAND_PARAM_2, *LPDMUS_COMMAND_PARAM_2;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_BAND_PARAM DMUS_BAND_PARAM, *LPDMUS_BAND_PARAM;
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct _DMUS_VARIATIONS_PARAM DMUS_VARIATIONS_PARAM, *LPDMUS_VARIATIONS_PARAM;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* actual structures */
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicBand interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicBand methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateSegment)(THIS_ struct IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Download)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Unload)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicBand methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_CreateSegment(p,a) (p)->lpVtbl->CreateSegment(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_Download(p,a) (p)->lpVtbl->Download(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicBand_Unload(p,a) (p)->lpVtbl->Unload(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicObject interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicObject methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ParseDescriptor)(THIS_ LPSTREAM pStream, LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicObject methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_GetDescriptor(p,a) (p)->lpVtbl->GetDescriptor(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_SetDescriptor(p,a) (p)->lpVtbl->SetDescriptor(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicObject_ParseDescriptor(p,a,b) (p)->lpVtbl->ParseDescriptor(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicLoader interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(_GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, BOOL fClear) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, BOOL fEnable) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_GetObject(p,a,b,c) (p)->lpVtbl->_GetObject(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_SetObject(p,a) (p)->lpVtbl->SetObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_ScanDirectory(p,a,b,c) (p)->lpVtbl->ScanDirectory(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_CacheObject(p,a) (p)->lpVtbl->CacheObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_ReleaseObject(p,a) (p)->lpVtbl->ReleaseObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_ClearCache(p,a) (p)->lpVtbl->ClearCache(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_EnableCache(p,a,b) (p)->lpVtbl->EnableCache(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader_EnumObject(p,a,b,c) (p)->lpVtbl->EnumObject(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicLoader8 interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicLoader8,IDirectMusicLoader)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(_GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, BOOL fClear) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, BOOL fEnable) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicLoader8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReleaseObjectByUnknown)(THIS_ IUnknown *pObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(LoadObjectFromFile)(THIS_ REFGUID rguidClassID, REFIID iidInterfaceID, WCHAR *pwzFilePath, void **ppObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_GetObject(p,a,b,c) (p)->lpVtbl->_GetObject(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_SetObject(p,a) (p)->lpVtbl->SetObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_ScanDirectory(p,a,b,c) (p)->lpVtbl->ScanDirectory(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_CacheObject(p,a) (p)->lpVtbl->CacheObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_ReleaseObject(p,a) (p)->lpVtbl->ReleaseObject(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_ClearCache(p,a) (p)->lpVtbl->ClearCache(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_EnableCache(p,a,b) (p)->lpVtbl->EnableCache(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_EnumObject(p,a,b,c) (p)->lpVtbl->EnumObject(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicLoader8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_CollectGarbage(p) (p)->lpVtbl->CollectGarbage(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_ReleaseObjectByUnknown(p,a) (p)->lpVtbl->ReleaseObjectByUnknown(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicLoader8_LoadObjectFromFile(p,a,b,c,d) (p)->lpVtbl->LoadObjectFromFile(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicGetLoader interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicGetLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLoader)(THIS_ IDirectMusicLoader **ppLoader) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGetLoader_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGetLoader_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGetLoader_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicGetLoader methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGetLoader_GetLoader(p,a) (p)->lpVtbl->GetLoader(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicSegment interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegment methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegment methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetLength(p,a) (p)->lpVtbl->GetLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetLength(p,a) (p)->lpVtbl->SetLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetRepeats(p,a) (p)->lpVtbl->SetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetDefaultResolution(p,a) (p)->lpVtbl->GetDefaultResolution(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetDefaultResolution(p,a) (p)->lpVtbl->SetDefaultResolution(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetTrack(p,a,b,c,d) (p)->lpVtbl->GetTrack(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetTrackGroup(p,a,b) (p)->lpVtbl->GetTrackGroup(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_InsertTrack(p,a,b) (p)->lpVtbl->InsertTrack(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_RemoveTrack(p,a) (p)->lpVtbl->RemoveTrack(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_InitPlay(p,a,b,c) (p)->lpVtbl->InitPlay(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetStartPoint(p,a) (p)->lpVtbl->SetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetLoopPoints(p,a,b) (p)->lpVtbl->SetLoopPoints(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_GetLoopPoints(p,a,b) (p)->lpVtbl->GetLoopPoints(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment_SetPChannelsUsed(p,a,b) (p)->lpVtbl->SetPChannelsUsed(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicSegment8 interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicSegment8,IDirectMusicSegment)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegment methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegment8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetAudioPathConfig)(THIS_ IUnknown **ppAudioPathConfig) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Compose)(THIS_ MUSIC_TIME mtTime, IDirectMusicSegment *pFromSegment, IDirectMusicSegment *pToSegment, IDirectMusicSegment **ppComposedSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Download)(THIS_ IUnknown *pAudioPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Unload)(THIS_ IUnknown *pAudioPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegment methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetLength(p,a) (p)->lpVtbl->GetLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetLength(p,a) (p)->lpVtbl->SetLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetRepeats(p,a) (p)->lpVtbl->SetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetDefaultResolution(p,a) (p)->lpVtbl->GetDefaultResolution(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetDefaultResolution(p,a) (p)->lpVtbl->SetDefaultResolution(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetTrack(p,a,b,c,d) (p)->lpVtbl->GetTrack(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetTrackGroup(p,a,b) (p)->lpVtbl->GetTrackGroup(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_InsertTrack(p,a,b) (p)->lpVtbl->InsertTrack(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_RemoveTrack(p,a) (p)->lpVtbl->RemoveTrack(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_InitPlay(p,a,b,c) (p)->lpVtbl->InitPlay(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetStartPoint(p,a) (p)->lpVtbl->SetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetLoopPoints(p,a,b) (p)->lpVtbl->SetLoopPoints(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetLoopPoints(p,a,b) (p)->lpVtbl->GetLoopPoints(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetPChannelsUsed(p,a,b) (p)->lpVtbl->SetPChannelsUsed(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegment8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_GetAudioPathConfig(p,a) (p)->lpVtbl->GetAudioPathConfig(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_Compose(p,a,b,c,d) (p)->lpVtbl->Compose(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_Download(p,a) (p)->lpVtbl->Download(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegment8_Unload(p,a) (p)->lpVtbl->Unload(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicSegmentState interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicSegmentState,IUnknown)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegmentState methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegmentState methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_GetSegment(p,a) (p)->lpVtbl->GetSegment(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_GetSeek(p,a) (p)->lpVtbl->GetSeek(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicSegmentState8 interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicSegmentState8,IDirectMusicSegmentState)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegmentState methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicSegmentState8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, DWORD dwIndex, REFGUID iidInterface, void **ppObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegmentState methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetSegment(p,a) (p)->lpVtbl->GetSegment(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetSeek(p,a) (p)->lpVtbl->GetSeek(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicSegmentState8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicSegmentState8_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicAudioPath interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicAudioPath methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, WORD dwIndex, REFGUID iidInterface, void **ppObject) PURE;
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync STDMETHOD(SetVolume)(THIS_ LONG lVolume, DWORD dwDuration) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicAudioPath methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_Activate(p,a) (p)->lpVtbl->Activate(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_SetVolume(p,a,b) (p)->lpVtbl->SetVolume(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicAudioPath_ConvertPChannel(p,a,b) (p)->lpVtbl->ConvertPChannel(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicPerformance interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicPerformance,IUnknown)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicPerformance methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicPerformance methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_Init(p,a,b,c) (p)->lpVtbl->Init(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_PlaySegment(p,a,b,c,d) (p)->lpVtbl->PlaySegment(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_Stop(p,a,b,c,d) (p)->lpVtbl->Stop(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetSegmentState(p,a,b) (p)->lpVtbl->GetSegmentState(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetPrepareTime(p,a) (p)->lpVtbl->SetPrepareTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetPrepareTime(p,a) (p)->lpVtbl->GetPrepareTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetBumperLength(p,a) (p)->lpVtbl->SetBumperLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetBumperLength(p,a) (p)->lpVtbl->GetBumperLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SendPMsg(p,a) (p)->lpVtbl->SendPMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_MusicToReferenceTime(p,a,b) (p)->lpVtbl->MusicToReferenceTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_ReferenceToMusicTime(p,a,b) (p)->lpVtbl->ReferenceToMusicTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_IsPlaying(p,a,b) (p)->lpVtbl->IsPlaying(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetTime(p,a,b) (p)->lpVtbl->GetTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AllocPMsg(p,a,b) (p)->lpVtbl->AllocPMsg(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_FreePMsg(p,a) (p)->lpVtbl->FreePMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetNotificationHandle(p,a,b) (p)->lpVtbl->SetNotificationHandle(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetNotificationPMsg(p,a) (p)->lpVtbl->GetNotificationPMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AddPort(p,a) (p)->lpVtbl->AddPort(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_RemovePort(p,a) (p)->lpVtbl->RemovePort(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AssignPChannelBlock(p,a,b,c) (p)->lpVtbl->AssignPChannelBlock(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AssignPChannel(p,a,b,c,d) (p)->lpVtbl->AssignPChannel(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_PChannelInfo(p,a,b,c,d) (p)->lpVtbl->PChannelInfo(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_Invalidate(p,a,b) (p)->lpVtbl->Invalidate(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetGlobalParam(p,a,b,c) (p)->lpVtbl->GetGlobalParam(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_SetGlobalParam(p,a,b,c) (p)->lpVtbl->SetGlobalParam(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetLatencyTime(p,a) (p)->lpVtbl->GetLatencyTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetQueueTime(p,a) (p)->lpVtbl->GetQueueTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_AdjustTime(p,a) (p)->lpVtbl->AdjustTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_CloseDown(p) (p)->lpVtbl->CloseDown(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_GetResolvedTime(p,a,b,c) (p)->lpVtbl->GetResolvedTime(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_MIDIToMusic(p,a,b,c,d,e) (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_MusicToMIDI(p,a,b,c,d,e) (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_TimeToRhythm(p,a,b,c,d,e,f) (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance_RhythmToTime(p,a,b,c,d,e,f) (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicPerformance8 interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicPerformance8,IDirectMusicPerformance)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicPerformance methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicPerformance8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InitAudio)(THIS_ IDirectMusic **ppDirectMusic, IDirectSound **ppDirectSound, HWND hWnd, DWORD dwDefaultPathType, DWORD dwPChannelCount, DWORD dwFlags, DMUS_AUDIOPARAMS *pParams) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(PlaySegmentEx)(THIS_ IUnknown *pSource, WCHAR *pwzSegmentName, IUnknown *pTransition, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState, IUnknown *pFrom, IUnknown *pAudioPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(StopEx)(THIS_ IUnknown *pObjectToStop, __int64 i64StopTime, DWORD dwFlags) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ClonePMsg)(THIS_ DMUS_PMSG *pSourcePMSG, DMUS_PMSG **ppCopyPMSG) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateAudioPath)(THIS_ IUnknown *pSourceConfig, BOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateStandardAudioPath)(THIS_ DWORD dwType, DWORD dwPChannelCount, BOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetDefaultAudioPath)(THIS_ IDirectMusicAudioPath *pAudioPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultAudioPath)(THIS_ IDirectMusicAudioPath **ppAudioPath) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetParamEx)(THIS_ REFGUID rguidType, DWORD dwTrackID, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicPerformance methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_Init(p,a,b,c) (p)->lpVtbl->Init(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_PlaySegment(p,a,b,c,d) (p)->lpVtbl->PlaySegment(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_Stop(p,a,b,c,d) (p)->lpVtbl->Stop(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetSegmentState(p,a,b) (p)->lpVtbl->GetSegmentState(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetPrepareTime(p,a) (p)->lpVtbl->SetPrepareTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetPrepareTime(p,a) (p)->lpVtbl->GetPrepareTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetBumperLength(p,a) (p)->lpVtbl->SetBumperLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetBumperLength(p,a) (p)->lpVtbl->GetBumperLength(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SendPMsg(p,a) (p)->lpVtbl->SendPMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_MusicToReferenceTime(p,a,b) (p)->lpVtbl->MusicToReferenceTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_ReferenceToMusicTime(p,a,b) (p)->lpVtbl->ReferenceToMusicTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_IsPlaying(p,a,b) (p)->lpVtbl->IsPlaying(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetTime(p,a,b) (p)->lpVtbl->GetTime(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AllocPMsg(p,a,b) (p)->lpVtbl->AllocPMsg(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_FreePMsg(p,a) (p)->lpVtbl->FreePMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetNotificationHandle(p,a,b) (p)->lpVtbl->SetNotificationHandle(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetNotificationPMsg(p,a) (p)->lpVtbl->GetNotificationPMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AddPort(p,a) (p)->lpVtbl->AddPort(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_RemovePort(p,a) (p)->lpVtbl->RemovePort(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AssignPChannelBlock(p,a,b,c) (p)->lpVtbl->AssignPChannelBlock(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AssignPChannel(p,a,b,c,d) (p)->lpVtbl->AssignPChannel(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_PChannelInfo(p,a,b,c,d) (p)->lpVtbl->PChannelInfo(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_Invalidate(p,a,b) (p)->lpVtbl->Invalidate(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetGlobalParam(p,a,b,c) (p)->lpVtbl->GetGlobalParam(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetGlobalParam(p,a,b,c) (p)->lpVtbl->SetGlobalParam(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetLatencyTime(p,a) (p)->lpVtbl->GetLatencyTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetQueueTime(p,a) (p)->lpVtbl->GetQueueTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_AdjustTime(p,a) (p)->lpVtbl->AdjustTime(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_CloseDown(p) (p)->lpVtbl->CloseDown(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetResolvedTime(p,a,b,c) (p)->lpVtbl->GetResolvedTime(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_MIDIToMusic(p,a,b,c,d,e) (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_MusicToMIDI(p,a,b,c,d,e) (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_TimeToRhythm(p,a,b,c,d,e,f) (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_RhythmToTime(p,a,b,c,d,e,f) (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync /* IDirectMusicPerformance8 methods*/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_InitAudio(p,a,b,c,d,e,f,g) (p)->lpVtbl->InitAudio(p,a,b,c,d,e,f,g)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_PlaySegmentEx(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->PlaySegmentEx(p,a,b,c,d,e,f,g,h)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_StopEx(p,a,b,c) (p)->lpVtbl->StopEx(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_ClonePMsg(p,a,b) (p)->lpVtbl->ClonePMsg(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_CreateAudioPath(p,a,b,c) (p)->lpVtbl->CreateAudioPath(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_CreateStandardAudioPath(p,a,b,c,d) (p)->lpVtbl->CreateStandardAudioPath(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_SetDefaultAudioPath(p,a) (p)->lpVtbl->SetDefaultAudioPath(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetDefaultAudioPath(p,a) (p)->lpVtbl->GetDefaultAudioPath(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPerformance8_GetParamEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f,g)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicGraph interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicGraph methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(InsertTool)(THIS_ IDirectMusicTool *pTool, DWORD *pdwPChannels, DWORD cPChannels, LONG lIndex) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTool)(THIS_ DWORD dwIndex, IDirectMusicTool **ppTool) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(RemoveTool)(THIS_ IDirectMusicTool *pTool) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicGraph methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_StampPMsg(p,a) (p)->lpVtbl->StampPMsg(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_InsertTool(p,a,b,c,d) (p)->lpVtbl->InsertTool(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_GetTool(p,a,b) (p)->lpVtbl->GetTool(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicGraph_RemoveTool(p,a) (p)->lpVtbl->RemoveTool(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicStyle interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicStyle methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicStyle methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetBand(p,a,b) (p)->lpVtbl->GetBand(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_EnumBand(p,a,b) (p)->lpVtbl->EnumBand(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetDefaultBand(p,a) (p)->lpVtbl->GetDefaultBand(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_EnumMotif(p,a,b) (p)->lpVtbl->EnumMotif(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetMotif(p,a,b) (p)->lpVtbl->GetMotif(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetDefaultChordMap(p,a) (p)->lpVtbl->GetDefaultChordMap(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_EnumChordMap(p,a,b) (p)->lpVtbl->EnumChordMap(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetChordMap(p,a,b) (p)->lpVtbl->GetChordMap(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetTimeSignature(p,a) (p)->lpVtbl->GetTimeSignature(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle_GetTempo(p,a) (p)->lpVtbl->GetTempo(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicStyle8 interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicStyle8,IDirectMusicStyle)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicStyle methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicStyle8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumPattern)(THIS_ DWORD dwIndex, DWORD dwPatternType, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicStyle methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetBand(p,a,b) (p)->lpVtbl->GetBand(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_EnumBand(p,a,b) (p)->lpVtbl->EnumBand(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetDefaultBand(p,a) (p)->lpVtbl->GetDefaultBand(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_EnumMotif(p,a,b) (p)->lpVtbl->EnumMotif(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetMotif(p,a,b) (p)->lpVtbl->GetMotif(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetDefaultChordMap(p,a) (p)->lpVtbl->GetDefaultChordMap(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_EnumChordMap(p,a,b) (p)->lpVtbl->EnumChordMap(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetChordMap(p,a,b) (p)->lpVtbl->GetChordMap(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetTimeSignature(p,a) (p)->lpVtbl->GetTimeSignature(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_GetTempo(p,a) (p)->lpVtbl->GetTempo(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicStyle8 methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicStyle8_EnumPattern(p,a,b,c) (p)->lpVtbl->EnumPattern(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicChordMap interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicChordMap methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicChordMap_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicChordMap_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicChordMap_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicChordMap methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicChordMap_GetScale(p,a) (p)->lpVtbl->GetScale(p,a)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicComposer interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicComposer methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ComposeSegmentFromTemplate)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment *pTemplate, WORD wActivity, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ComposeSegmentFromShape)(THIS_ IDirectMusicStyle *pStyle, WORD wNumMeasures, WORD wShape, WORD wActivity, BOOL fIntro, BOOL fEnd, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ComposeTransition)(THIS_ IDirectMusicSegment *pFromSeg, IDirectMusicSegment *pToSeg, MUSIC_TIME mtTime, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(AutoTransition)(THIS_ IDirectMusicPerformance *pPerformance, IDirectMusicSegment *pToSeg, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg, IDirectMusicSegmentState **ppToSegState, IDirectMusicSegmentState **ppTransSegState) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ComposeTemplateFromShape)(THIS_ WORD wNumMeasures, WORD wShape, BOOL fIntro, BOOL fEnd, WORD wEndLength, IDirectMusicSegment **ppTemplate) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(ChangeChordMap)(THIS_ IDirectMusicSegment *pSegment, BOOL fTrackScale, IDirectMusicChordMap *pChordMap) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicComposer methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_ComposeSegmentFromTemplate(p,a,b,c,d,e) (p)->lpVtbl->ComposeSegmentFromTemplate(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_ComposeTransition(p,a,b,c,d,e,f,g) (p)->lpVtbl->ComposeTransition(p,a,b,c,d,e,f,g)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_AutoTransition(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->AutoTransition(p,a,b,c,d,e,f,g,h)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_ComposeTemplateFromShape(p,a,b,c,d,e,f) (p)->lpVtbl->ComposeTemplateFromShape(p,a,b,c,d,e,f)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicComposer_ChangeChordMap(p,a,b,c) (p)->lpVtbl->ChangeChordMap(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicPatternTrack interface
af062818b47340eef15700d2f0211576ba3506eevboxsyncDECLARE_INTERFACE_(IDirectMusicPatternTrack,IUnknown)
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicPatternTrack methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CreateSegment)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment **ppSegment) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetVariation)(THIS_ IDirectMusicSegmentState *pSegState, DWORD dwVariationFlags, DWORD dwPart) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetPatternByName)(THIS_ IDirectMusicSegmentState *pSegState, WCHAR *wszName, IDirectMusicStyle *pStyle, DWORD dwPatternType, DWORD *pdwLength) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicPatternTrack methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_CreateSegment(p,a,b) (p)->lpVtbl->CreateSegment(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_SetVariation(p,a,b,c) (p)->lpVtbl->SetVariation(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_SetPatternByName(p,a,b,c,d,e) (p)->lpVtbl->SetPatternByName(p,a,b,c,d,e)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicScript interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicScript methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(Init)(THIS_ IDirectMusicPerformance *pPerformance, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(CallRoutine)(THIS_ WCHAR *pwszRoutineName, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT varValue, BOOL fSetRef, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT *pvarValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG lValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG *plValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(SetVariableObject)(THIS_ WCHAR *pwszVariableName, IUnknown *punkValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(GetVariableObject)(THIS_ WCHAR *pwszVariableName, REFIID riid, LPVOID *ppv, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumRoutine)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumVariable)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicScript_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicScript_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicScript_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicScript methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_Init(p,a,b) (p)->lpVtbl->Init(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_CallRoutine(p,a,b) (p)->lpVtbl->CallRoutine(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_SetVariableVariant(p,a,b,c,d) (p)->lpVtbl->SetVariableVariant(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_GetVariableVariant(p,a,b,c) (p)->lpVtbl->GetVariableVariant(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_SetVariableNumber(p,a,b,c) (p)->lpVtbl->SetVariableNumber(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_GetVariableNumber(p,a,b,c) (p)->lpVtbl->GetVariableNumber(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_SetVariableObject(p,a,b,c) (p)->lpVtbl->SetVariableObject(p,a,b,c)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_GetVariableObject(p,a,b,c,d) (p)->lpVtbl->GetVariableObject(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_EnumRoutine(p,a,b) (p)->lpVtbl->EnumRoutine(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicPatternTrack_EnumVariable(p,a,b) (p)->lpVtbl->EnumVariable(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IDirectMusicContainer interface
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync /*** IDirectMusicContainer methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc, WCHAR *pwszAlias) PURE;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IUnknown methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicContainer_Release(p) (p)->lpVtbl->Release(p)
af062818b47340eef15700d2f0211576ba3506eevboxsync/*** IDirectMusicContainer methods ***/
af062818b47340eef15700d2f0211576ba3506eevboxsync#define IDirectMusicContainer_EnumObject(p,a,b,c,d) (p)->lpVtbl->EnumObject(p,a,b,c,d)
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_DMUSIC_PERFORMANCE_H */