| 1 | #undef INTERFACE | 
 
 
 
 
 | 2 | /* | 
 
 
 
 
 | 3 | *  DirectMusic Performance API | 
 
 
 
 
 | 4 | * | 
 
 
 
 
 | 5 | *  Copyright (C) 2003-2004 Rok Mandeljc | 
 
 
 
 
 | 6 | * | 
 
 
 
 
 | 7 | *  This program is free software; you can redistribute it and/or | 
 
 
 
 
 | 8 | *  modify it under the terms of the GNU Lesser General Public | 
 
 
 
 
 | 9 | *  License as published by the Free Software Foundation; either | 
 
 
 
 
 | 10 | *  version 2.1 of the License, or (at your option) any later version. | 
 
 
 
 
 | 11 | * | 
 
 
 
 
 | 12 | *  This program is distributed in the hope that it will be useful, | 
 
 
 
 
 | 13 | *  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 
 
 
 
 | 14 | *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 
 
 
 
 | 15 | *  Lesser General Public License for more details. | 
 
 
 
 
 | 16 | * | 
 
 
 
 
 | 17 | *  You should have received a copy of the GNU Lesser General Public | 
 
 
 
 
 | 18 | *  License along with this program; if not, write to the Free Software | 
 
 
 
 
 | 19 | *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | 
 
 
 
 
 | 20 | */ | 
 
 
 
 
 | 21 |  | 
 
 
 
 
 | 22 | #ifndef __WINE_DMUSIC_PERFORMANCE_H | 
 
 
 
 
 | 23 | #define __WINE_DMUSIC_PERFORMANCE_H | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | #include <windows.h> | 
 
 
 
 
 | 26 |  | 
 
 
 
 
 | 27 | #define COM_NO_WINDOWS_H | 
 
 
 
 
 | 28 | #include <objbase.h> | 
 
 
 
 
 | 29 | #include <mmsystem.h> | 
 
 
 
 
 | 30 | #include <dmusicc.h> | 
 
 
 
 
 | 31 | #include <dmplugin.h> | 
 
 
 
 
 | 32 | #include <pshpack8.h> | 
 
 
 
 
 | 33 |  | 
 
 
 
 
 | 34 | #ifdef WINE_NO_UNICODE_MACROS | 
 
 
 
 
 | 35 | #undef AddPort | 
 
 
 
 
 | 36 | #endif | 
 
 
 
 
 | 37 |  | 
 
 
 
 
 | 38 | #ifdef __cplusplus | 
 
 
 
 
 | 39 | extern "C" { | 
 
 
 
 
 | 40 | #endif | 
 
 
 
 
 | 41 |  | 
 
 
 
 
 | 42 | /***************************************************************************** | 
 
 
 
 
 | 43 | * Predeclare the interfaces | 
 
 
 
 
 | 44 | */ | 
 
 
 
 
 | 45 | /* CLSIDs */ | 
 
 
 
 
 | 46 | DEFINE_GUID(CLSID_DirectMusicAudioPathConfig,              0xee0b9ca0,0xa81e,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 47 | DEFINE_GUID(CLSID_DirectMusicBand,                         0x79ba9e00,0xb6ee,0x11d1,0x86,0xbe,0x00,0xc0,0x4f,0xbf,0x8f,0xef); | 
 
 
 
 
 | 48 | DEFINE_GUID(CLSID_DirectMusicChordMap,                     0xd2ac288f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 49 | DEFINE_GUID(CLSID_DirectMusicComposer,                     0xd2ac2890,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 50 | DEFINE_GUID(CLSID_DirectMusicContainer,                    0x9301e380,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47); | 
 
 
 
 
 | 51 | DEFINE_GUID(CLSID_DirectMusicGraph,                        0xd2ac2884,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 52 | DEFINE_GUID(CLSID_DirectMusicLoader,                       0xd2ac2892,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 53 | DEFINE_GUID(CLSID_DirectMusicPatternTrack,                 0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 54 | DEFINE_GUID(CLSID_DirectMusicPerformance,                  0xd2ac2881,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 55 | DEFINE_GUID(CLSID_DirectMusicScript,                       0x810b5013,0xe88d,0x11d2,0x8b,0xc1,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 56 | DEFINE_GUID(CLSID_DirectMusicSegment,                      0xd2ac2882,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 57 | DEFINE_GUID(CLSID_DirectMusicSegmentState,                 0xd2ac2883,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 58 | DEFINE_GUID(CLSID_DirectMusicStyle,                        0xd2ac288a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 59 | DEFINE_GUID(CLSID_DirectSoundWave,                         0x8a667154,0xf9cb,0x11d2,0xad,0x8a,0x00,0x60,0xb0,0x57,0x5a,0xbc); | 
 
 
 
 
 | 60 | /* MS doesn't support this in DX 9.0 and newer... but there's no harm in keeping it around */ | 
 
 
 
 
 | 61 | DEFINE_GUID(CLSID_DirectMusicSong,                         0xaed5f0a5,0xd972,0x483d,0xa3,0x84,0x64,0x9d,0xfe,0xb9,0xc1,0x81); | 
 
 
 
 
 | 62 | /* these CLSIDs aren't officially declared in any dmusic header, but are used by wine's regsvr implementations*/ | 
 
 
 
 
 | 63 | DEFINE_GUID(CLSID_DirectMusicSynthSink,                    0xaec17ce3,0xa514,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); | 
 
 
 
 
 | 64 | DEFINE_GUID(CLSID_DirectMusicSection,                      0x3f037241,0x414e,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c); | 
 
 
 
 
 | 65 | DEFINE_GUID(CLSID_DirectMusicAuditionTrack,                0xd2ac2897,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 66 | DEFINE_GUID(CLSID_DirectMusicSegTriggerTrack,              0xbae4d665,0x4ea1,0x11d3,0x8b,0xda,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 67 | DEFINE_GUID(CLSID_DirectMusicTemplate,                     0xd30bcc65,0x60e8,0x11d1,0xa7,0xce,0x00,0xa0,0xc9,0x13,0xf7,0x3c); | 
 
 
 
 
 | 68 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegment,         0x4062c116,0x0270,0x11d3,0x8b,0xcb,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 69 | DEFINE_GUID(CLSID_AudioVBScript,                           0x4ee17959,0x931e,0x49e4,0xa2,0xc6,0x97,0x7e,0xcf,0x36,0x28,0xf3); | 
 
 
 
 
 | 70 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpPerformance,     0xa861c6e2,0xfcfc,0x11d2,0x8b,0xc9,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 71 | DEFINE_GUID(CLSID_DirectMusicScriptSourceCodeLoader,       0xc70eb77f,0xefd4,0x4678,0xa2,0x7b,0xbf,0x16,0x48,0xf3,0x0d,0x04); | 
 
 
 
 
 | 72 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSegmentState,    0xebf2320a,0x2502,0x11d3,0x8b,0xd1,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 73 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPathConfig, 0x1cebde3e,0x6b91,0x484a,0xaf,0x48,0x5e,0x4f,0x4e,0xd6,0xb1,0xe1); | 
 
 
 
 
 | 74 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpAudioPath,       0x2c5f9b72,0x7148,0x4d97,0xbf,0xc9,0x68,0xa0,0xe0,0x76,0xbe,0xbd); | 
 
 
 
 
 | 75 | DEFINE_GUID(CLSID_DirectMusicScriptAutoImpSong,            0xa16f1761,0xb6d8,0x42eb,0x8d,0x57,0x4a,0x44,0xfe,0xdd,0x3b,0xd2); | 
 
 
 
 
 | 76 |  | 
 
 
 
 
 | 77 | /* IIDs */ | 
 
 
 
 
 | 78 | DEFINE_GUID(IID_IDirectMusicAudioPath,                     0xc87631f5,0x23be,0x4986,0x88,0x36,0x05,0x83,0x2f,0xcc,0x48,0xf9); | 
 
 
 
 
 | 79 | DEFINE_GUID(IID_IDirectMusicBand,                          0xd2ac28c0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 80 | DEFINE_GUID(IID_IDirectMusicChordMap,                      0xd2ac28be,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 81 | DEFINE_GUID(IID_IDirectMusicComposer,                      0xd2ac28bf,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 82 | DEFINE_GUID(IID_IDirectMusicContainer,                     0x9301e386,0x1f22,0x11d3,0x82,0x26,0xd2,0xfa,0x76,0x25,0x5d,0x47); | 
 
 
 
 
 | 83 | DEFINE_GUID(IID_IDirectMusicGetLoader,                     0x68a04844,0xd13d,0x11d1,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); | 
 
 
 
 
 | 84 | DEFINE_GUID(IID_IDirectMusicGraph,                         0x2befc277,0x5497,0x11d2,0xbc,0xcb,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 85 | DEFINE_GUID(IID_IDirectMusicLoader,                        0x2ffaaca2,0x5dca,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); | 
 
 
 
 
 | 86 | DEFINE_GUID(IID_IDirectMusicLoader8,                       0x19e7c08c,0x0a44,0x4e6a,0xa1,0x16,0x59,0x5a,0x7c,0xd5,0xde,0x8c); | 
 
 
 
 
 | 87 | DEFINE_GUID(IID_IDirectMusicObject,                        0xd2ac28b5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 88 | DEFINE_GUID(IID_IDirectMusicPatternTrack,                  0x51c22e10,0xb49f,0x46fc,0xbe,0xc2,0xe6,0x28,0x8f,0xb9,0xed,0xe6); | 
 
 
 
 
 | 89 | DEFINE_GUID(IID_IDirectMusicPerformance,                   0x07d43d03,0x6523,0x11d2,0x87,0x1d,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 90 | DEFINE_GUID(IID_IDirectMusicPerformance2,                  0x6fc2cae0,0xbc78,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6); | 
 
 
 
 
 | 91 | DEFINE_GUID(IID_IDirectMusicPerformance8,                  0x679c4137,0xc62e,0x4147,0xb2,0xb4,0x9d,0x56,0x9a,0xcb,0x25,0x4c); | 
 
 
 
 
 | 92 | DEFINE_GUID(IID_IDirectMusicScript,                        0x2252373a,0x5814,0x489b,0x82,0x09,0x31,0xfe,0xde,0xba,0xf1,0x37); | 
 
 
 
 
 | 93 | DEFINE_GUID(IID_IDirectMusicSegment,                       0xf96029a2,0x4282,0x11d2,0x87,0x17,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 94 | DEFINE_GUID(IID_IDirectMusicSegment2,                      0xd38894d1,0xc052,0x11d2,0x87,0x2f,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 95 | DEFINE_GUID(IID_IDirectMusicSegment8,                      0xc6784488,0x41a3,0x418f,0xaa,0x15,0xb3,0x50,0x93,0xba,0x42,0xd4); | 
 
 
 
 
 | 96 | DEFINE_GUID(IID_IDirectMusicSegmentState,                  0xa3afdcc7,0xd3ee,0x11d1,0xbc,0x8d,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 97 | DEFINE_GUID(IID_IDirectMusicSegmentState8,                 0xa50e4730,0x0ae4,0x48a7,0x98,0x39,0xbc,0x04,0xbf,0xe0,0x77,0x72); | 
 
 
 
 
 | 98 | DEFINE_GUID(IID_IDirectMusicStyle,                         0xd2ac28bd,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 99 | DEFINE_GUID(IID_IDirectMusicStyle8,                        0xfd24ad8a,0xa260,0x453d,0xbf,0x50,0x6f,0x93,0x84,0xf7,0x09,0x85); | 
 
 
 
 
 | 100 |  | 
 
 
 
 
 | 101 | /* IIDs of unchanged interfaces */ | 
 
 
 
 
 | 102 | #define IID_IDirectMusicAudioPath8    IID_IDirectMusicAudioPath | 
 
 
 
 
 | 103 | #define IID_IDirectMusicBand8         IID_IDirectMusicBand | 
 
 
 
 
 | 104 | #define IID_IDirectMusicChordMap8     IID_IDirectMusicChordMap | 
 
 
 
 
 | 105 | #define IID_IDirectMusicComposer8     IID_IDirectMusicComposer | 
 
 
 
 
 | 106 | #define IID_IDirectMusicContainer8    IID_IDirectMusicContainer | 
 
 
 
 
 | 107 | #define IID_IDirectMusicGetLoader8    IID_IDirectMusicGetLoader | 
 
 
 
 
 | 108 | #define IID_IDirectMusicGraph8        IID_IDirectMusicGraph | 
 
 
 
 
 | 109 | #define IID_IDirectMusicObject8       IID_IDirectMusicObject | 
 
 
 
 
 | 110 | #define IID_IDirectMusicPatternTrack8 IID_IDirectMusicPatternTrack | 
 
 
 
 
 | 111 | #define IID_IDirectMusicScript8       IID_IDirectMusicScript | 
 
 
 
 
 | 112 |  | 
 
 
 
 
 | 113 | /* typedef definitions */ | 
 
 
 
 
 | 114 | typedef struct IDirectMusicBand *LPDIRECTMUSICBAND; | 
 
 
 
 
 | 115 | typedef struct IDirectMusicBand         IDirectMusicBand8,         *LPDIRECTMUSICBAND8; | 
 
 
 
 
 | 116 | typedef struct IDirectMusicObject *LPDIRECTMUSICOBJECT; | 
 
 
 
 
 | 117 | typedef struct IDirectMusicObject       IDirectMusicObject8,       *LPDIRECTMUSICOBJECT8; | 
 
 
 
 
 | 118 | typedef struct IDirectMusicLoader *LPDIRECTMUSICLOADER; | 
 
 
 
 
 | 119 | typedef struct IDirectMusicLoader8 *LPDIRECTMUSICLOADER8; | 
 
 
 
 
 | 120 | typedef struct IDirectMusicGetLoader *LPDIRECTMUSICGETLOADER; | 
 
 
 
 
 | 121 | typedef struct IDirectMusicGetLoader    IDirectMusicGetLoader8,    *LPDIRECTMUSICGETLOADER8; | 
 
 
 
 
 | 122 | typedef struct IDirectMusicAudioPath *LPDIRECTMUSICAUDIOPATH; | 
 
 
 
 
 | 123 | typedef struct IDirectMusicAudioPath    IDirectMusicAudioPath8,    *LPDIRECTMUSICAUDIOPATH8; | 
 
 
 
 
 | 124 | typedef struct IDirectMusicStyle *LPDIRECTMUSICSTYLE; | 
 
 
 
 
 | 125 | typedef struct IDirectMusicStyle8 *LPDIRECTMUSICSTYLE8; | 
 
 
 
 
 | 126 | typedef struct IDirectMusicChordMap *LPDIRECTMUSICCHORDMAP; | 
 
 
 
 
 | 127 | typedef struct IDirectMusicChordMap     IDirectMusicChordMap8,     *LPDIRECTMUSICCHORDMAP8; | 
 
 
 
 
 | 128 | typedef struct IDirectMusicComposer *LPDIRECTMUSICCOMPOSER; | 
 
 
 
 
 | 129 | typedef struct IDirectMusicComposer     IDirectMusicComposer8,     *LPDIRECTMUSICCOMPOSER8; | 
 
 
 
 
 | 130 | typedef struct IDirectMusicPatternTrack *LPDIRECTMUSICPATTERNTRACK; | 
 
 
 
 
 | 131 | typedef struct IDirectMusicPatternTrack IDirectMusicPatternTrack8, *LPDIRECTMUSICPATTERNTRACK8; | 
 
 
 
 
 | 132 | typedef struct IDirectMusicScript *LPDIRECTMUSICSCRIPT; | 
 
 
 
 
 | 133 | typedef struct IDirectMusicScript       IDirectMusicScript8,       *LPDIRECTMUSICSCRIPT8; | 
 
 
 
 
 | 134 | typedef struct IDirectMusicContainer *LPDIRECTMUSICCONTAINER; | 
 
 
 
 
 | 135 | typedef struct IDirectMusicContainer    IDirectMusicContainer8,    *LPDIRECTMUSICCONTAINER8; | 
 
 
 
 
 | 136 |  | 
 
 
 
 
 | 137 | /* RPC declarations */ | 
 
 
 
 
 | 138 | typedef struct IDirectMusicBand   *LPDMUS_BAND; | 
 
 
 
 
 | 139 | typedef struct IDirectMusicLoader *LPDMUS_LOADER; | 
 
 
 
 
 | 140 | typedef struct IDirectMusicObject *LPDMUS_OBJECT; | 
 
 
 
 
 | 141 |  | 
 
 
 
 
 | 142 | /* GUIDs - all types loader */ | 
 
 
 
 
 | 143 | DEFINE_GUID(GUID_DirectMusicAllTypes,         0xd2ac2893,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 144 | /* GUIDs - notification */ | 
 
 
 
 
 | 145 | DEFINE_GUID(GUID_NOTIFICATION_CHORD,          0xd2ac289b,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 146 | DEFINE_GUID(GUID_NOTIFICATION_COMMAND,        0xd2ac289c,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 147 | DEFINE_GUID(GUID_NOTIFICATION_MEASUREANDBEAT, 0xd2ac289a,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 148 | DEFINE_GUID(GUID_NOTIFICATION_PERFORMANCE,    0x81f75bc5,0x4e5d,0x11d2,0xbc,0xc7,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 149 | DEFINE_GUID(GUID_NOTIFICATION_RECOMPOSE,      0xd348372b,0x945b,0x45ae,0xa5,0x22,0x45,0x0f,0x12,0x5b,0x84,0xa5); | 
 
 
 
 
 | 150 | DEFINE_GUID(GUID_NOTIFICATION_SEGMENT,        0xd2ac2899,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 151 | /* GUIDs - param types */ | 
 
 
 
 
 | 152 | DEFINE_GUID(GUID_BandParam,                   0x02bb1938,0xcb8b,0x11d2,0x8b,0xb9,0x00,0x60,0x08,0x93,0xb1,0xb6); | 
 
 
 
 
 | 153 | DEFINE_GUID(GUID_ChordParam,                  0xd2ac289e,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 154 | DEFINE_GUID(GUID_CommandParam,                0xd2ac289d,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 155 | DEFINE_GUID(GUID_CommandParam2,               0x28f97ef7,0x9538,0x11d2,0x97,0xa9,0x00,0xc0,0x4f,0xa3,0x6e,0x58); | 
 
 
 
 
 | 156 | DEFINE_GUID(GUID_CommandParamNext,            0x472afe7a,0x281b,0x11d3,0x81,0x7d,0x00,0xc0,0x4f,0xa3,0x6e,0x58); | 
 
 
 
 
 | 157 | DEFINE_GUID(GUID_IDirectMusicBand,            0xd2ac28ac,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 158 | DEFINE_GUID(GUID_IDirectMusicChordMap,        0xd2ac28ad,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 159 | DEFINE_GUID(GUID_IDirectMusicStyle,           0xd2ac28a1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 160 | DEFINE_GUID(GUID_MuteParam,                   0xd2ac28af,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 161 | DEFINE_GUID(GUID_Play_Marker,                 0xd8761a41,0x801a,0x11d3,0x9b,0xd1,0xda,0xf7,0xe1,0xc3,0xd8,0x34); | 
 
 
 
 
 | 162 | DEFINE_GUID(GUID_RhythmParam,                 0xd2ac289f,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 163 | DEFINE_GUID(GUID_TempoParam,                  0xd2ac28a5,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 164 | DEFINE_GUID(GUID_TimeSignature,               0xd2ac28a4,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 165 | DEFINE_GUID(GUID_Valid_Start_Time,            0x7f6b1760,0x1fdb,0x11d3,0x82,0x26,0x44,0x45,0x53,0x54,0x00,0x00); | 
 
 
 
 
 | 166 | /* GUIDs - param setting */ | 
 
 
 
 
 | 167 | DEFINE_GUID(GUID_Clear_All_Bands,             0xd2ac28ab,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 168 | DEFINE_GUID(GUID_ConnectToDLSCollection,      0x1db1ae6b,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e); | 
 
 
 
 
 | 169 | DEFINE_GUID(GUID_Disable_Auto_Download,       0xd2ac28aa,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 170 | DEFINE_GUID(GUID_DisableTempo,                0x45fc707d,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 171 | DEFINE_GUID(GUID_DisableTimeSig,              0x45fc707b,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 172 | DEFINE_GUID(GUID_Download,                    0xd2ac28a7,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 173 | DEFINE_GUID(GUID_DownloadToAudioPath,         0x9f2c0341,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00); | 
 
 
 
 
 | 174 | DEFINE_GUID(GUID_Enable_Auto_Download,        0xd2ac28a9,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 175 | DEFINE_GUID(GUID_EnableTempo,                 0x45fc707e,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 176 | DEFINE_GUID(GUID_EnableTimeSig,               0x45fc707c,0x1db4,0x11d2,0xbc,0xac,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 177 | #define GUID_IgnoreBankSelectForGM            GUID_StandardMIDIFile | 
 
 
 
 
 | 178 | DEFINE_GUID(GUID_SeedVariations,              0x65b76fa5,0xff37,0x11d2,0x81,0x4e,0x00,0xc0,0x4f,0xa3,0x6e,0x58); | 
 
 
 
 
 | 179 | DEFINE_GUID(GUID_StandardMIDIFile,            0x06621075,0xe92e,0x11d1,0xa8,0xc5,0x00,0xc0,0x4f,0xa3,0x72,0x6e); | 
 
 
 
 
 | 180 | DEFINE_GUID(GUID_Unload,                      0xd2ac28a8,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 181 | DEFINE_GUID(GUID_UnloadFromAudioPath,         0x9f2c0342,0xc5c4,0x11d3,0x9b,0xd1,0x44,0x45,0x53,0x54,0x00,0x00); | 
 
 
 
 
 | 182 | DEFINE_GUID(GUID_Variations,                  0x11f72cce,0x26e6,0x4ecd,0xaf,0x2e,0xd6,0x68,0xe6,0x67,0x07,0xd8); | 
 
 
 
 
 | 183 | /* GUIDs - global data */ | 
 
 
 
 
 | 184 | DEFINE_GUID(GUID_PerfMasterTempo,             0xd2ac28b0,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 185 | DEFINE_GUID(GUID_PerfMasterVolume,            0xd2ac28b1,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 186 | DEFINE_GUID(GUID_PerfMasterGrooveLevel,       0xd2ac28b2,0xb39b,0x11d1,0x87,0x04,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 187 | DEFINE_GUID(GUID_PerfAutoDownload,            0xfb09565b,0x3631,0x11d2,0xbc,0xb8,0x00,0xa0,0xc9,0x22,0xe6,0xeb); | 
 
 
 
 
 | 188 | /* GUID - default DLS collection */ | 
 
 
 
 
 | 189 | DEFINE_GUID(GUID_DefaultGMCollection,         0xf17e8673,0xc3b4,0x11d1,0x87,0x0b,0x00,0x60,0x08,0x93,0xb1,0xbd); | 
 
 
 
 
 | 190 | /* GUID - default synthesizer */ | 
 
 
 
 
 | 191 | DEFINE_GUID(GUID_Synth_Default,               0x26bb9432,0x45fe,0x48d3,0xa3,0x75,0x24,0x72,0xc5,0xe3,0xe7,0x86); | 
 
 
 
 
 | 192 | /* GUIDs - define default buffer configuration */ | 
 
 
 
 
 | 193 | DEFINE_GUID(GUID_Buffer_Reverb,               0x186cc541,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 194 | DEFINE_GUID(GUID_Buffer_EnvReverb,            0x186cc542,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 195 | DEFINE_GUID(GUID_Buffer_Stereo,               0x186cc545,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 196 | DEFINE_GUID(GUID_Buffer_3D_Dry,               0x186cc546,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 197 | DEFINE_GUID(GUID_Buffer_Mono,                 0x186cc547,0xdb29,0x11d3,0x9b,0xd1,0x00,0x80,0xc7,0x15,0x0a,0x74); | 
 
 
 
 
 | 198 |  | 
 
 
 
 
 | 199 |  | 
 
 
 
 
 | 200 | /***************************************************************************** | 
 
 
 
 
 | 201 | * Typedef definitions | 
 
 
 
 
 | 202 | */ | 
 
 
 
 
 | 203 | typedef WORD    TRANSITION_TYPE, *LPTRANSITION_TYPE; | 
 
 
 
 
 | 204 | /* | 
 
 
 
 
 | 205 | * typedef __int64 REFERENCE_TIME,  *LPREFERENCE_TIME; | 
 
 
 
 
 | 206 | * typedef LONG    MUSIC_TIME,      *LPMUSIC_TIME; | 
 
 
 
 
 | 207 | */ | 
 
 
 
 
 | 208 |  | 
 
 
 
 
 | 209 |  | 
 
 
 
 
 | 210 | /***************************************************************************** | 
 
 
 
 
 | 211 | * Flags | 
 
 
 
 
 | 212 | */ | 
 
 
 
 
 | 213 | #define DMUS_APATH_SHARED_STEREOPLUSREVERB 0x1 | 
 
 
 
 
 | 214 | #define DMUS_APATH_DYNAMIC_3D              0x6 | 
 
 
 
 
 | 215 | #define DMUS_APATH_DYNAMIC_MONO            0x7 | 
 
 
 
 
 | 216 | #define DMUS_APATH_DYNAMIC_STEREO          0x8 | 
 
 
 
 
 | 217 |  | 
 
 
 
 
 | 218 | #define DMUS_AUDIOF_3D          0x01 | 
 
 
 
 
 | 219 | #define DMUS_AUDIOF_ENVIRON     0x02 | 
 
 
 
 
 | 220 | #define DMUS_AUDIOF_EAX         0x04 | 
 
 
 
 
 | 221 | #define DMUS_AUDIOF_DMOS        0x08 | 
 
 
 
 
 | 222 | #define DMUS_AUDIOF_STREAMING   0x10 | 
 
 
 
 
 | 223 | #define DMUS_AUDIOF_BUFFERS     0x20 | 
 
 
 
 
 | 224 | #define DMUS_AUDIOF_ALL         0x3F | 
 
 
 
 
 | 225 |  | 
 
 
 
 
 | 226 | #define DMUS_AUDIOPARAMS_FEATURES     0x1 | 
 
 
 
 
 | 227 | #define DMUS_AUDIOPARAMS_VOICES       0x2 | 
 
 
 
 
 | 228 | #define DMUS_AUDIOPARAMS_SAMPLERATE   0x4 | 
 
 
 
 
 | 229 | #define DMUS_AUDIOPARAMS_DEFAULTSYNTH 0x8 | 
 
 
 
 
 | 230 |  | 
 
 
 
 
 | 231 | #define DMUS_CURVET_PBCURVE   0x03 | 
 
 
 
 
 | 232 | #define DMUS_CURVET_CCCURVE   0x04 | 
 
 
 
 
 | 233 | #define DMUS_CURVET_MATCURVE  0x05 | 
 
 
 
 
 | 234 | #define DMUS_CURVET_PATCURVE  0x06 | 
 
 
 
 
 | 235 | #define DMUS_CURVET_RPNCURVE  0x07 | 
 
 
 
 
 | 236 | #define DMUS_CURVET_NRPNCURVE 0x08 | 
 
 
 
 
 | 237 |  | 
 
 
 
 
 | 238 | #define DMUS_MASTERTEMPO_MAX 100.0f | 
 
 
 
 
 | 239 | #define DMUS_MASTERTEMPO_MIN 0.01f | 
 
 
 
 
 | 240 |  | 
 
 
 
 
 | 241 | #define DMUS_MAX_NAME     0x40 | 
 
 
 
 
 | 242 | #define DMUS_MAX_CATEGORY 0x40 | 
 
 
 
 
 | 243 | #define DMUS_MAX_FILENAME MAX_PATH | 
 
 
 
 
 | 244 |  | 
 
 
 
 
 | 245 | #define DMUS_MAXSUBCHORD 0x8 | 
 
 
 
 
 | 246 |  | 
 
 
 
 
 | 247 | #define DMUS_NOTIFICATION_SEGSTART       0x0 | 
 
 
 
 
 | 248 | #define DMUS_NOTIFICATION_SEGEND         0x1 | 
 
 
 
 
 | 249 | #define DMUS_NOTIFICATION_SEGALMOSTEND   0x2 | 
 
 
 
 
 | 250 | #define DMUS_NOTIFICATION_SEGLOOP        0x3 | 
 
 
 
 
 | 251 | #define DMUS_NOTIFICATION_SEGABORT       0x4 | 
 
 
 
 
 | 252 | #define DMUS_NOTIFICATION_MUSICSTARTED   0x0 | 
 
 
 
 
 | 253 | #define DMUS_NOTIFICATION_MUSICSTOPPED   0x1 | 
 
 
 
 
 | 254 | #define DMUS_NOTIFICATION_MUSICALMOSTEND 0x2 | 
 
 
 
 
 | 255 | #define DMUS_NOTIFICATION_MEASUREBEAT    0x0 | 
 
 
 
 
 | 256 | #define DMUS_NOTIFICATION_CHORD          0x0 | 
 
 
 
 
 | 257 | #define DMUS_NOTIFICATION_GROOVE         0x0 | 
 
 
 
 
 | 258 | #define DMUS_NOTIFICATION_EMBELLISHMENT  0x1 | 
 
 
 
 
 | 259 | #define DMUS_NOTIFICATION_RECOMPOSE      0x0 | 
 
 
 
 
 | 260 |  | 
 
 
 
 
 | 261 | #define DMUS_OBJ_OBJECT   0x001 | 
 
 
 
 
 | 262 | #define DMUS_OBJ_CLASS    0x002 | 
 
 
 
 
 | 263 | #define DMUS_OBJ_NAME     0x004 | 
 
 
 
 
 | 264 | #define DMUS_OBJ_CATEGORY 0x008 | 
 
 
 
 
 | 265 | #define DMUS_OBJ_FILENAME 0x010 | 
 
 
 
 
 | 266 | #define DMUS_OBJ_FULLPATH 0x020 | 
 
 
 
 
 | 267 | #define DMUS_OBJ_URL      0x040 | 
 
 
 
 
 | 268 | #define DMUS_OBJ_VERSION  0x080 | 
 
 
 
 
 | 269 | #define DMUS_OBJ_DATE     0x100 | 
 
 
 
 
 | 270 | #define DMUS_OBJ_LOADED   0x200 | 
 
 
 
 
 | 271 | #define DMUS_OBJ_MEMORY   0x400 | 
 
 
 
 
 | 272 | #define DMUS_OBJ_STREAM   0x800 | 
 
 
 
 
 | 273 |  | 
 
 
 
 
 | 274 | #define DMUS_PATH_SEGMENT           0x1000 | 
 
 
 
 
 | 275 | #define DMUS_PATH_SEGMENT_TRACK     0x1100 | 
 
 
 
 
 | 276 | #define DMUS_PATH_SEGMENT_GRAPH     0x1200 | 
 
 
 
 
 | 277 | #define DMUS_PATH_SEGMENT_TOOL      0x1300 | 
 
 
 
 
 | 278 | #define DMUS_PATH_AUDIOPATH         0x2000 | 
 
 
 
 
 | 279 | #define DMUS_PATH_AUDIOPATH_GRAPH   0x2200 | 
 
 
 
 
 | 280 | #define DMUS_PATH_AUDIOPATH_TOOL    0x2300 | 
 
 
 
 
 | 281 | #define DMUS_PATH_PERFORMANCE       0x3000 | 
 
 
 
 
 | 282 | #define DMUS_PATH_PERFORMANCE_GRAPH 0x3200 | 
 
 
 
 
 | 283 | #define DMUS_PATH_PERFORMANCE_TOOL  0x3300 | 
 
 
 
 
 | 284 | #define DMUS_PATH_PORT              0x4000 | 
 
 
 
 
 | 285 | #define DMUS_PATH_BUFFER            0x6000 | 
 
 
 
 
 | 286 | #define DMUS_PATH_BUFFER_DMO        0x6100 | 
 
 
 
 
 | 287 | #define DMUS_PATH_MIXIN_BUFFER      0x7000 | 
 
 
 
 
 | 288 | #define DMUS_PATH_MIXIN_BUFFER_DMO  0x7100 | 
 
 
 
 
 | 289 | #define DMUS_PATH_PRIMARY_BUFFER    0x8000 | 
 
 
 
 
 | 290 |  | 
 
 
 
 
 | 291 | #define DMUS_PCHANNEL_BROADCAST_PERFORMANCE     0xFFFFFFFF | 
 
 
 
 
 | 292 | #define DMUS_PCHANNEL_BROADCAST_AUDIOPATH   0xFFFFFFFE | 
 
 
 
 
 | 293 | #define DMUS_PCHANNEL_BROADCAST_SEGMENT     0xFFFFFFFD | 
 
 
 
 
 | 294 | #define DMUS_PCHANNEL_BROADCAST_GROUPS          0xFFFFFFFC | 
 
 
 
 
 | 295 | #define DMUS_PCHANNEL_ALL                   0xFFFFFFFB | 
 
 
 
 
 | 296 |  | 
 
 
 
 
 | 297 | #define DMUS_PLAYMODE_FIXED             0x0 | 
 
 
 
 
 | 298 | #define DMUS_PLAYMODE_FIXEDTOKEY        DMUS_PLAYMODE_KEY_ROOT | 
 
 
 
 
 | 299 | #define DMUS_PLAYMODE_FIXEDTOCHORD      DMUS_PLAYMODE_CHORD_ROOT | 
 
 
 
 
 | 300 | #define DMUS_PLAYMODE_PEDALPOINT        (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS) | 
 
 
 
 
 | 301 | #define DMUS_PLAYMODE_MELODIC           (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_SCALE_INTERVALS) | 
 
 
 
 
 | 302 | #define DMUS_PLAYMODE_NORMALCHORD       (DMUS_PLAYMODE_CHORD_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS) | 
 
 
 
 
 | 303 | #define DMUS_PLAYMODE_ALWAYSPLAY        (DMUS_PLAYMODE_MELODIC | DMUS_PLAYMODE_NORMALCHORD) | 
 
 
 
 
 | 304 | #define DMUS_PLAYMODE_PEDALPOINTCHORD   (DMUS_PLAYMODE_KEY_ROOT | DMUS_PLAYMODE_CHORD_INTERVALS) | 
 
 
 
 
 | 305 | #define DMUS_PLAYMODE_PEDALPOINTALWAYS  (DMUS_PLAYMODE_PEDALPOINT | DMUS_PLAYMODE_PEDALPOINTCHORD) | 
 
 
 
 
 | 306 | #define DMUS_PLAYMODE_PURPLEIZED        DMUS_PLAYMODE_ALWAYSPLAY | 
 
 
 
 
 | 307 | #define DMUS_PLAYMODE_SCALE_ROOT        DMUS_PLAYMODE_KEY_ROOT | 
 
 
 
 
 | 308 | #define DMUS_PLAYMODE_FIXEDTOSCALE      DMUS_PLAYMODE_FIXEDTOKEY | 
 
 
 
 
 | 309 |  | 
 
 
 
 
 | 310 | #define DMUS_PPQ 768 | 
 
 
 
 
 | 311 |  | 
 
 
 
 
 | 312 | #define DMUS_SEG_REPEAT_INFINITE 0xFFFFFFFF | 
 
 
 
 
 | 313 | #define DMUS_SEG_ALLTRACKS       0x80000000 | 
 
 
 
 
 | 314 | #define DMUS_SEG_ANYTRACK        0x80000000 | 
 
 
 
 
 | 315 |  | 
 
 
 
 
 | 316 | #define DMUS_TEMPO_MAX 1000 | 
 
 
 
 
 | 317 | #define DMUS_TEMPO_MIN 1 | 
 
 
 
 
 | 318 |  | 
 
 
 
 
 | 319 | #define DMUS_TRACKCONFIG_OVERRIDE_ALL          0x00001 | 
 
 
 
 
 | 320 | #define DMUS_TRACKCONFIG_OVERRIDE_PRIMARY      0x00002 | 
 
 
 
 
 | 321 | #define DMUS_TRACKCONFIG_FALLBACK              0x00004 | 
 
 
 
 
 | 322 | #define DMUS_TRACKCONFIG_CONTROL_ENABLED       0x00008 | 
 
 
 
 
 | 323 | #define DMUS_TRACKCONFIG_PLAY_ENABLED          0x00010 | 
 
 
 
 
 | 324 | #define DMUS_TRACKCONFIG_NOTIFICATION_ENABLED  0x00020 | 
 
 
 
 
 | 325 | #define DMUS_TRACKCONFIG_PLAY_CLOCKTIME        0x00040 | 
 
 
 
 
 | 326 | #define DMUS_TRACKCONFIG_PLAY_COMPOSE          0x00080 | 
 
 
 
 
 | 327 | #define DMUS_TRACKCONFIG_LOOP_COMPOSE          0x00100 | 
 
 
 
 
 | 328 | #define DMUS_TRACKCONFIG_COMPOSING             0x00200 | 
 
 
 
 
 | 329 | #define DMUS_TRACKCONFIG_TRANS1_FROMSEGSTART   0x00400 | 
 
 
 
 
 | 330 | #define DMUS_TRACKCONFIG_TRANS1_FROMSEGCURRENT 0x00800 | 
 
 
 
 
 | 331 | #define DMUS_TRACKCONFIG_TRANS1_TOSEGSTART     0x01000 | 
 
 
 
 
 | 332 | #define DMUS_TRACKCONFIG_CONTROL_PLAY          0x10000 | 
 
 
 
 
 | 333 | #define DMUS_TRACKCONFIG_CONTROL_NOTIFICATION  0x20000 | 
 
 
 
 
 | 334 | #define DMUS_TRACKCONFIG_DEFAULT               (DMUS_TRACKCONFIG_CONTROL_ENABLED | DMUS_TRACKCONFIG_PLAY_ENABLED | DMUS_TRACKCONFIG_NOTIFICATION_ENABLED) | 
 
 
 
 
 | 335 |  | 
 
 
 
 
 | 336 | #define DMUS_WAVEF_OFF          0x01 | 
 
 
 
 
 | 337 | #define DMUS_WAVEF_STREAMING    0x02 | 
 
 
 
 
 | 338 | #define DMUS_WAVEF_NOINVALIDATE 0x04 | 
 
 
 
 
 | 339 | #define DMUS_WAVEF_NOPREROLL    0x08 | 
 
 
 
 
 | 340 | #define DMUS_WAVEF_IGNORELOOPS  0x20 | 
 
 
 
 
 | 341 |  | 
 
 
 
 
 | 342 | #define DMUSB_LOADED  0x1 | 
 
 
 
 
 | 343 | #define DMUSB_DEFAULT 0x2 | 
 
 
 
 
 | 344 |  | 
 
 
 
 
 | 345 | #define MT_MIN 0x80000000 | 
 
 
 
 
 | 346 | #define MT_MAX 0x7FFFFFFF | 
 
 
 
 
 | 347 |  | 
 
 
 
 
 | 348 |  | 
 
 
 
 
 | 349 | /***************************************************************************** | 
 
 
 
 
 | 350 | * Definitions | 
 
 
 
 
 | 351 | */ | 
 
 
 
 
 | 352 | #define DMUS_PMSG_PART \ | 
 
 
 
 
 | 353 | DWORD              dwSize; \ | 
 
 
 
 
 | 354 | REFERENCE_TIME     rtTime; \ | 
 
 
 
 
 | 355 | MUSIC_TIME         mtTime; \ | 
 
 
 
 
 | 356 | DWORD              dwFlags; \ | 
 
 
 
 
 | 357 | DWORD              dwPChannel; \ | 
 
 
 
 
 | 358 | DWORD              dwVirtualTrackID; \ | 
 
 
 
 
 | 359 | IDirectMusicTool*  pTool; \ | 
 
 
 
 
 | 360 | struct IDirectMusicGraph* pGraph; \ | 
 
 
 
 
 | 361 | DWORD              dwType; \ | 
 
 
 
 
 | 362 | DWORD              dwVoiceID; \ | 
 
 
 
 
 | 363 | DWORD              dwGroupID; \ | 
 
 
 
 
 | 364 | IUnknown*          punkUser; | 
 
 
 
 
 | 365 |  | 
 
 
 
 
 | 366 |  | 
 
 
 
 
 | 367 | /***************************************************************************** | 
 
 
 
 
 | 368 | * Enumerations | 
 
 
 
 
 | 369 | */ | 
 
 
 
 
 | 370 |  | 
 
 
 
 
 | 371 | /* actual enumerations */ | 
 
 
 
 
 | 372 | typedef enum enumDMUS_STYLET_TYPES { | 
 
 
 
 
 | 373 | DMUS_STYLET_PATTERN = 0x0, | 
 
 
 
 
 | 374 | DMUS_STYLET_MOTIF   = 0x1, | 
 
 
 
 
 | 375 | } DMUS_STYLET_TYPES; | 
 
 
 
 
 | 376 |  | 
 
 
 
 
 | 377 | typedef enum enumDMUS_COMMANDT_TYPES { | 
 
 
 
 
 | 378 | DMUS_COMMANDT_GROOVE      = 0x0, | 
 
 
 
 
 | 379 | DMUS_COMMANDT_FILL        = 0x1, | 
 
 
 
 
 | 380 | DMUS_COMMANDT_INTRO       = 0x2, | 
 
 
 
 
 | 381 | DMUS_COMMANDT_BREAK       = 0x3, | 
 
 
 
 
 | 382 | DMUS_COMMANDT_END         = 0x4, | 
 
 
 
 
 | 383 | DMUS_COMMANDT_ENDANDINTRO = 0x5 | 
 
 
 
 
 | 384 | } DMUS_COMMANDT_TYPES; | 
 
 
 
 
 | 385 |  | 
 
 
 
 
 | 386 | typedef enum enumDMUS_SHAPET_TYPES { | 
 
 
 
 
 | 387 | DMUS_SHAPET_FALLING  = 0x0, | 
 
 
 
 
 | 388 | DMUS_SHAPET_LEVEL    = 0x1, | 
 
 
 
 
 | 389 | DMUS_SHAPET_LOOPABLE = 0x2, | 
 
 
 
 
 | 390 | DMUS_SHAPET_LOUD     = 0x3, | 
 
 
 
 
 | 391 | DMUS_SHAPET_QUIET    = 0x4, | 
 
 
 
 
 | 392 | DMUS_SHAPET_PEAKING  = 0x5, | 
 
 
 
 
 | 393 | DMUS_SHAPET_RANDOM   = 0x6, | 
 
 
 
 
 | 394 | DMUS_SHAPET_RISING   = 0x7, | 
 
 
 
 
 | 395 | DMUS_SHAPET_SONG     = 0x8 | 
 
 
 
 
 | 396 | } DMUS_SHAPET_TYPES; | 
 
 
 
 
 | 397 |  | 
 
 
 
 
 | 398 | typedef enum enumDMUS_COMPOSEF_FLAGS { | 
 
 
 
 
 | 399 | DMUS_COMPOSEF_NONE                = 0x000000, | 
 
 
 
 
 | 400 | DMUS_COMPOSEF_ALIGN               = 0x000001, | 
 
 
 
 
 | 401 | DMUS_COMPOSEF_OVERLAP             = 0x000002, | 
 
 
 
 
 | 402 | DMUS_COMPOSEF_IMMEDIATE           = 0x000004, | 
 
 
 
 
 | 403 | DMUS_COMPOSEF_GRID                = 0x000008, | 
 
 
 
 
 | 404 | DMUS_COMPOSEF_BEAT                = 0x000010, | 
 
 
 
 
 | 405 | DMUS_COMPOSEF_MEASURE             = 0x000020, | 
 
 
 
 
 | 406 | DMUS_COMPOSEF_AFTERPREPARETIME    = 0x000040, | 
 
 
 
 
 | 407 | DMUS_COMPOSEF_VALID_START_BEAT    = 0x000080, | 
 
 
 
 
 | 408 | DMUS_COMPOSEF_VALID_START_GRID    = 0x000100, | 
 
 
 
 
 | 409 | DMUS_COMPOSEF_VALID_START_TICK    = 0x000200, | 
 
 
 
 
 | 410 | DMUS_COMPOSEF_SEGMENTEND          = 0x000400, | 
 
 
 
 
 | 411 | DMUS_COMPOSEF_MARKER              = 0x000800, | 
 
 
 
 
 | 412 | DMUS_COMPOSEF_MODULATE            = 0x001000, | 
 
 
 
 
 | 413 | DMUS_COMPOSEF_LONG                = 0x002000, | 
 
 
 
 
 | 414 | DMUS_COMPOSEF_ENTIRE_TRANSITION   = 0x004000, | 
 
 
 
 
 | 415 | DMUS_COMPOSEF_1BAR_TRANSITION     = 0x008000, | 
 
 
 
 
 | 416 | DMUS_COMPOSEF_ENTIRE_ADDITION     = 0x010000, | 
 
 
 
 
 | 417 | DMUS_COMPOSEF_1BAR_ADDITION       = 0x020000, | 
 
 
 
 
 | 418 | DMUS_COMPOSEF_VALID_START_MEASURE = 0x040000, | 
 
 
 
 
 | 419 | DMUS_COMPOSEF_DEFAULT             = 0x080000, | 
 
 
 
 
 | 420 | DMUS_COMPOSEF_NOINVALIDATE        = 0x100000, | 
 
 
 
 
 | 421 | DMUS_COMPOSEF_USE_AUDIOPATH       = 0x200000, | 
 
 
 
 
 | 422 | DMUS_COMPOSEF_INVALIDATE_PRI      = 0x400000 | 
 
 
 
 
 | 423 | } DMUS_COMPOSEF_FLAGS; | 
 
 
 
 
 | 424 |  | 
 
 
 
 
 | 425 | typedef enum enumDMUS_PMSGF_FLAGS { | 
 
 
 
 
 | 426 | DMUS_PMSGF_REFTIME        = 1, | 
 
 
 
 
 | 427 | DMUS_PMSGF_MUSICTIME      = 2, | 
 
 
 
 
 | 428 | DMUS_PMSGF_TOOL_IMMEDIATE = 4, | 
 
 
 
 
 | 429 | DMUS_PMSGF_TOOL_QUEUE     = 8, | 
 
 
 
 
 | 430 | DMUS_PMSGF_TOOL_ATTIME    = 0x10, | 
 
 
 
 
 | 431 | DMUS_PMSGF_TOOL_FLUSH     = 0x20, | 
 
 
 
 
 | 432 | DMUS_PMSGF_LOCKTOREFTIME  = 0x40, | 
 
 
 
 
 | 433 | DMUS_PMSGF_DX8            = 0x80 | 
 
 
 
 
 | 434 | } DMUS_PMSGF_FLAGS; | 
 
 
 
 
 | 435 |  | 
 
 
 
 
 | 436 | typedef enum enumDMUS_PMSGT_TYPES { | 
 
 
 
 
 | 437 | DMUS_PMSGT_MIDI             = 0x00, | 
 
 
 
 
 | 438 | DMUS_PMSGT_NOTE             = 0x01, | 
 
 
 
 
 | 439 | DMUS_PMSGT_SYSEX            = 0x02, | 
 
 
 
 
 | 440 | DMUS_PMSGT_NOTIFICATION     = 0x03, | 
 
 
 
 
 | 441 | DMUS_PMSGT_TEMPO            = 0x04, | 
 
 
 
 
 | 442 | DMUS_PMSGT_CURVE            = 0x05, | 
 
 
 
 
 | 443 | DMUS_PMSGT_TIMESIG          = 0x06, | 
 
 
 
 
 | 444 | DMUS_PMSGT_PATCH            = 0x07, | 
 
 
 
 
 | 445 | DMUS_PMSGT_TRANSPOSE        = 0x08, | 
 
 
 
 
 | 446 | DMUS_PMSGT_CHANNEL_PRIORITY = 0x09, | 
 
 
 
 
 | 447 | DMUS_PMSGT_STOP             = 0x0A, | 
 
 
 
 
 | 448 | DMUS_PMSGT_DIRTY            = 0x0B, | 
 
 
 
 
 | 449 | DMUS_PMSGT_WAVE             = 0x0C, | 
 
 
 
 
 | 450 | DMUS_PMSGT_LYRIC            = 0x0D, | 
 
 
 
 
 | 451 | DMUS_PMSGT_SCRIPTLYRIC      = 0x0E, | 
 
 
 
 
 | 452 | DMUS_PMSGT_USER             = 0xFF | 
 
 
 
 
 | 453 | } DMUS_PMSGT_TYPES; | 
 
 
 
 
 | 454 |  | 
 
 
 
 
 | 455 | typedef enum enumDMUS_SEGF_FLAGS { | 
 
 
 
 
 | 456 | DMUS_SEGF_REFTIME             = 0x000040, | 
 
 
 
 
 | 457 | DMUS_SEGF_SECONDARY           = 0x000080, | 
 
 
 
 
 | 458 | DMUS_SEGF_QUEUE               = 0x000100, | 
 
 
 
 
 | 459 | DMUS_SEGF_CONTROL             = 0x000200, | 
 
 
 
 
 | 460 | DMUS_SEGF_AFTERPREPARETIME    = 0x000400, | 
 
 
 
 
 | 461 | DMUS_SEGF_GRID                = 0x000800, | 
 
 
 
 
 | 462 | DMUS_SEGF_BEAT                = 0x001000, | 
 
 
 
 
 | 463 | DMUS_SEGF_MEASURE             = 0x002000, | 
 
 
 
 
 | 464 | DMUS_SEGF_DEFAULT             = 0x004000, | 
 
 
 
 
 | 465 | DMUS_SEGF_NOINVALIDATE        = 0x008000, | 
 
 
 
 
 | 466 | DMUS_SEGF_ALIGN               = 0x0010000, | 
 
 
 
 
 | 467 | DMUS_SEGF_VALID_START_BEAT    = 0x0020000, | 
 
 
 
 
 | 468 | DMUS_SEGF_VALID_START_GRID    = 0x0040000, | 
 
 
 
 
 | 469 | DMUS_SEGF_VALID_START_TICK    = 0x0080000, | 
 
 
 
 
 | 470 | DMUS_SEGF_AUTOTRANSITION      = 0x0100000, | 
 
 
 
 
 | 471 | DMUS_SEGF_AFTERQUEUETIME      = 0x0200000, | 
 
 
 
 
 | 472 | DMUS_SEGF_AFTERLATENCYTIME    = 0x0400000, | 
 
 
 
 
 | 473 | DMUS_SEGF_SEGMENTEND          = 0x0800000, | 
 
 
 
 
 | 474 | DMUS_SEGF_MARKER              = 0x01000000, | 
 
 
 
 
 | 475 | DMUS_SEGF_TIMESIG_ALWAYS      = 0x02000000, | 
 
 
 
 
 | 476 | DMUS_SEGF_USE_AUDIOPATH       = 0x04000000, | 
 
 
 
 
 | 477 | DMUS_SEGF_VALID_START_MEASURE = 0x08000000, | 
 
 
 
 
 | 478 | DMUS_SEGF_INVALIDATE_PRI      = 0x10000000 | 
 
 
 
 
 | 479 | } DMUS_SEGF_FLAGS; | 
 
 
 
 
 | 480 |  | 
 
 
 
 
 | 481 | typedef enum enumDMUS_TIME_RESOLVE_FLAGS { | 
 
 
 
 
 | 482 | DMUS_TIME_RESOLVE_AFTERPREPARETIME = DMUS_SEGF_AFTERPREPARETIME, | 
 
 
 
 
 | 483 | DMUS_TIME_RESOLVE_AFTERQUEUETIME   = DMUS_SEGF_AFTERQUEUETIME, | 
 
 
 
 
 | 484 | DMUS_TIME_RESOLVE_AFTERLATENCYTIME = DMUS_SEGF_AFTERLATENCYTIME, | 
 
 
 
 
 | 485 | DMUS_TIME_RESOLVE_GRID             = DMUS_SEGF_GRID, | 
 
 
 
 
 | 486 | DMUS_TIME_RESOLVE_BEAT             = DMUS_SEGF_BEAT, | 
 
 
 
 
 | 487 | DMUS_TIME_RESOLVE_MEASURE          = DMUS_SEGF_MEASURE, | 
 
 
 
 
 | 488 | DMUS_TIME_RESOLVE_MARKER           = DMUS_SEGF_MARKER, | 
 
 
 
 
 | 489 | DMUS_TIME_RESOLVE_SEGMENTEND       = DMUS_SEGF_SEGMENTEND, | 
 
 
 
 
 | 490 | } DMUS_TIME_RESOLVE_FLAGS; | 
 
 
 
 
 | 491 |  | 
 
 
 
 
 | 492 | typedef enum enumDMUS_CHORDKEYF_FLAGS { | 
 
 
 
 
 | 493 | DMUS_CHORDKEYF_SILENT = 0x1, | 
 
 
 
 
 | 494 | } DMUS_CHORDKEYF_FLAGS; | 
 
 
 
 
 | 495 |  | 
 
 
 
 
 | 496 | typedef enum enumDMUS_NOTEF_FLAGS { | 
 
 
 
 
 | 497 | DMUS_NOTEF_NOTEON               = 0x01, | 
 
 
 
 
 | 498 | /* DX8 */ | 
 
 
 
 
 | 499 | DMUS_NOTEF_NOINVALIDATE         = 0x02, | 
 
 
 
 
 | 500 | DMUS_NOTEF_NOINVALIDATE_INSCALE = 0x04, | 
 
 
 
 
 | 501 | DMUS_NOTEF_NOINVALIDATE_INCHORD = 0x08, | 
 
 
 
 
 | 502 | DMUS_NOTEF_REGENERATE           = 0x10, | 
 
 
 
 
 | 503 | } DMUS_NOTEF_FLAGS; | 
 
 
 
 
 | 504 |  | 
 
 
 
 
 | 505 | typedef enum enumDMUS_PLAYMODE_FLAGS { | 
 
 
 
 
 | 506 | DMUS_PLAYMODE_KEY_ROOT        = 0x01, | 
 
 
 
 
 | 507 | DMUS_PLAYMODE_CHORD_ROOT      = 0x02, | 
 
 
 
 
 | 508 | DMUS_PLAYMODE_SCALE_INTERVALS = 0x04, | 
 
 
 
 
 | 509 | DMUS_PLAYMODE_CHORD_INTERVALS = 0x08, | 
 
 
 
 
 | 510 | DMUS_PLAYMODE_NONE            = 0x10, | 
 
 
 
 
 | 511 | } DMUS_PLAYMODE_FLAGS; | 
 
 
 
 
 | 512 |  | 
 
 
 
 
 | 513 | typedef enum enumDMUS_CURVE_FLAGS { | 
 
 
 
 
 | 514 | DMUS_CURVE_RESET              = 0x1, | 
 
 
 
 
 | 515 | DMUS_CURVE_START_FROM_CURRENT = 0x2 | 
 
 
 
 
 | 516 | } DMUS_CURVE_FLAGS; | 
 
 
 
 
 | 517 |  | 
 
 
 
 
 | 518 | enum { | 
 
 
 
 
 | 519 | DMUS_CURVES_LINEAR  = 0x0, | 
 
 
 
 
 | 520 | DMUS_CURVES_INSTANT = 0x1, | 
 
 
 
 
 | 521 | DMUS_CURVES_EXP     = 0x2, | 
 
 
 
 
 | 522 | DMUS_CURVES_LOG     = 0x3, | 
 
 
 
 
 | 523 | DMUS_CURVES_SINE    = 0x4 | 
 
 
 
 
 | 524 | }; | 
 
 
 
 
 | 525 |  | 
 
 
 
 
 | 526 |  | 
 
 
 
 
 | 527 | /***************************************************************************** | 
 
 
 
 
 | 528 | * Structures | 
 
 
 
 
 | 529 | */ | 
 
 
 
 
 | 530 | /* typedef definitions */ | 
 
 
 
 
 | 531 | /*typedef struct _DMUS_PMSG                  DMUS_PMSG,                  *LPDMUS_PMSG; */ | 
 
 
 
 
 | 532 | typedef struct _DMUS_AUDIOPARAMS           DMUS_AUDIOPARAMS,           *LPDMUS_AUDIOPARAMS; | 
 
 
 
 
 | 533 | typedef struct _DMUS_SUBCHORD              DMUS_SUBCHORD,              *LPDMUS_SUBCHORD; | 
 
 
 
 
 | 534 | typedef struct _DMUS_CHORD_KEY             DMUS_CHORD_KEY,             *LPDMUS_CHORD_KEY; | 
 
 
 
 
 | 535 | typedef struct _DMUS_NOTE_PMSG             DMUS_NOTE_PMSG,             *LPDMUS_NOTE_PMSG; | 
 
 
 
 
 | 536 | typedef struct _DMUS_MIDI_PMSG             DMUS_MIDI_PMSG,             *LPDMUS_MIDI_PMSG; | 
 
 
 
 
 | 537 | typedef struct _DMUS_PATCH_PMSG            DMUS_PATCH_PMSG,            *LPDMUS_PATCH_PMSG; | 
 
 
 
 
 | 538 | typedef struct _DMUS_TRANSPOSE_PMSG        DMUS_TRANSPOSE_PMSG,        *LPDMUS_TRANSPOSE_PMSG; | 
 
 
 
 
 | 539 | typedef struct _DMUS_CHANNEL_PRIORITY_PMSG DMUS_CHANNEL_PRIORITY_PMSG, *LPDMUS_CHANNEL_PRIORITY_PMSG; | 
 
 
 
 
 | 540 | typedef struct _DMUS_TEMPO_PMSG            DMUS_TEMPO_PMSG,            *LPDMUS_TEMPO_PMSG; | 
 
 
 
 
 | 541 | typedef struct _DMUS_SYSEX_PMSG            DMUS_SYSEX_PMSG,            *LPDMUS_SYSEX_PMSG; | 
 
 
 
 
 | 542 | typedef struct _DMUS_CURVE_PMSG            DMUS_CURVE_PMSG,            *LPDMUS_CURVE_PMSG; | 
 
 
 
 
 | 543 | typedef struct _DMUS_TIMESIG_PMSG          DMUS_TIMESIG_PMSG,          *LPDMUS_TIMESIG_PMSG; | 
 
 
 
 
 | 544 | typedef struct _DMUS_NOTIFICATION_PMSG     DMUS_NOTIFICATION_PMSG,     *LPDMUS_NOTIFICATION_PMSG; | 
 
 
 
 
 | 545 | typedef struct _DMUS_WAVE_PMSG             DMUS_WAVE_PMSG,             *LPDMUS_WAVE_PMSG; | 
 
 
 
 
 | 546 | typedef struct _DMUS_LYRIC_PMSG            DMUS_LYRIC_PMSG,            *LPDMUS_LYRIC_PMSG; | 
 
 
 
 
 | 547 | typedef struct _DMUS_VERSION               DMUS_VERSION,               *LPDMUS_VERSION; | 
 
 
 
 
 | 548 | typedef struct _DMUS_TIMESIGNATURE         DMUS_TIMESIGNATURE,         *LPDMUS_TIMESIGNATURE; | 
 
 
 
 
 | 549 | typedef struct _DMUS_VALID_START_PARAM     DMUS_VALID_START_PARAM,     *LPDMUS_VALID_START_PARAM; | 
 
 
 
 
 | 550 | typedef struct _DMUS_PLAY_MARKER_PARAM     DMUS_PLAY_MARKER_PARAM,     *LPDMUS_PLAY_MARKER_PARAM; | 
 
 
 
 
 | 551 | typedef struct _DMUS_OBJECTDESC            DMUS_OBJECTDESC,            *LPDMUS_OBJECTDESC; | 
 
 
 
 
 | 552 | typedef struct _DMUS_SCRIPT_ERRORINFO      DMUS_SCRIPT_ERRORINFO,      *LPDMUS_SCRIPT_ERRORINFO; | 
 
 
 
 
 | 553 | typedef struct _DMUS_COMMAND_PARAM         DMUS_COMMAND_PARAM,         *LPDMUS_COMMAND_PARAM; | 
 
 
 
 
 | 554 | typedef struct _DMUS_COMMAND_PARAM_2       DMUS_COMMAND_PARAM_2,       *LPDMUS_COMMAND_PARAM_2; | 
 
 
 
 
 | 555 | typedef struct _DMUS_BAND_PARAM            DMUS_BAND_PARAM,            *LPDMUS_BAND_PARAM; | 
 
 
 
 
 | 556 | typedef struct _DMUS_VARIATIONS_PARAM      DMUS_VARIATIONS_PARAM,      *LPDMUS_VARIATIONS_PARAM; | 
 
 
 
 
 | 557 |  | 
 
 
 
 
 | 558 | /* actual structures */ | 
 
 
 
 
 | 559 | struct _DMUS_PMSG { | 
 
 
 
 
 | 560 | DMUS_PMSG_PART | 
 
 
 
 
 | 561 | }; | 
 
 
 
 
 | 562 |  | 
 
 
 
 
 | 563 | struct _DMUS_AUDIOPARAMS { | 
 
 
 
 
 | 564 | DWORD dwSize; | 
 
 
 
 
 | 565 | WINBOOL  fInitNow; | 
 
 
 
 
 | 566 | DWORD dwValidData; | 
 
 
 
 
 | 567 | DWORD dwFeatures; | 
 
 
 
 
 | 568 | DWORD dwVoices; | 
 
 
 
 
 | 569 | DWORD dwSampleRate; | 
 
 
 
 
 | 570 | CLSID clsidDefaultSynth; | 
 
 
 
 
 | 571 | }; | 
 
 
 
 
 | 572 |  | 
 
 
 
 
 | 573 | struct _DMUS_SUBCHORD { | 
 
 
 
 
 | 574 | DWORD dwChordPattern; | 
 
 
 
 
 | 575 | DWORD dwScalePattern; | 
 
 
 
 
 | 576 | DWORD dwInversionPoints; | 
 
 
 
 
 | 577 | DWORD dwLevels; | 
 
 
 
 
 | 578 | BYTE  bChordRoot; | 
 
 
 
 
 | 579 | BYTE  bScaleRoot; | 
 
 
 
 
 | 580 | }; | 
 
 
 
 
 | 581 |  | 
 
 
 
 
 | 582 | struct _DMUS_CHORD_KEY { | 
 
 
 
 
 | 583 | WCHAR         wszName[16]; | 
 
 
 
 
 | 584 | WORD          wMeasure; | 
 
 
 
 
 | 585 | BYTE          bBeat; | 
 
 
 
 
 | 586 | BYTE          bSubChordCount; | 
 
 
 
 
 | 587 | DMUS_SUBCHORD SubChordList[DMUS_MAXSUBCHORD]; | 
 
 
 
 
 | 588 | DWORD         dwScale; | 
 
 
 
 
 | 589 | BYTE          bKey; | 
 
 
 
 
 | 590 | BYTE          bFlags; | 
 
 
 
 
 | 591 | }; | 
 
 
 
 
 | 592 |  | 
 
 
 
 
 | 593 | struct _DMUS_NOTE_PMSG { | 
 
 
 
 
 | 594 | DMUS_PMSG_PART | 
 
 
 
 
 | 595 | MUSIC_TIME mtDuration; | 
 
 
 
 
 | 596 | WORD       wMusicValue; | 
 
 
 
 
 | 597 | WORD       wMeasure; | 
 
 
 
 
 | 598 | short      nOffset; | 
 
 
 
 
 | 599 | BYTE       bBeat; | 
 
 
 
 
 | 600 | BYTE       bGrid; | 
 
 
 
 
 | 601 | BYTE       bVelocity; | 
 
 
 
 
 | 602 | BYTE       bFlags; | 
 
 
 
 
 | 603 | BYTE       bTimeRange; | 
 
 
 
 
 | 604 | BYTE       bDurRange; | 
 
 
 
 
 | 605 | BYTE       bVelRange; | 
 
 
 
 
 | 606 | BYTE       bPlayModeFlags; | 
 
 
 
 
 | 607 | BYTE       bSubChordLevel; | 
 
 
 
 
 | 608 | BYTE       bMidiValue; | 
 
 
 
 
 | 609 | char       cTranspose; | 
 
 
 
 
 | 610 | }; | 
 
 
 
 
 | 611 |  | 
 
 
 
 
 | 612 | struct _DMUS_MIDI_PMSG { | 
 
 
 
 
 | 613 | DMUS_PMSG_PART | 
 
 
 
 
 | 614 | BYTE bStatus; | 
 
 
 
 
 | 615 | BYTE bByte1; | 
 
 
 
 
 | 616 | BYTE bByte2; | 
 
 
 
 
 | 617 | BYTE bPad[1]; | 
 
 
 
 
 | 618 | }; | 
 
 
 
 
 | 619 |  | 
 
 
 
 
 | 620 | struct _DMUS_PATCH_PMSG { | 
 
 
 
 
 | 621 | DMUS_PMSG_PART | 
 
 
 
 
 | 622 | BYTE byInstrument; | 
 
 
 
 
 | 623 | BYTE byMSB; | 
 
 
 
 
 | 624 | BYTE byLSB; | 
 
 
 
 
 | 625 | BYTE byPad[1]; | 
 
 
 
 
 | 626 | }; | 
 
 
 
 
 | 627 |  | 
 
 
 
 
 | 628 | struct _DMUS_TRANSPOSE_PMSG { | 
 
 
 
 
 | 629 | DMUS_PMSG_PART | 
 
 
 
 
 | 630 | short nTranspose; | 
 
 
 
 
 | 631 | /* DX8 */ | 
 
 
 
 
 | 632 | WORD  wMergeIndex; | 
 
 
 
 
 | 633 | }; | 
 
 
 
 
 | 634 |  | 
 
 
 
 
 | 635 | struct _DMUS_CHANNEL_PRIORITY_PMSG { | 
 
 
 
 
 | 636 | DMUS_PMSG_PART | 
 
 
 
 
 | 637 | DWORD dwChannelPriority; | 
 
 
 
 
 | 638 | }; | 
 
 
 
 
 | 639 |  | 
 
 
 
 
 | 640 | struct _DMUS_TEMPO_PMSG { | 
 
 
 
 
 | 641 | DMUS_PMSG_PART | 
 
 
 
 
 | 642 | double  dblTempo; | 
 
 
 
 
 | 643 | }; | 
 
 
 
 
 | 644 |  | 
 
 
 
 
 | 645 | struct _DMUS_SYSEX_PMSG { | 
 
 
 
 
 | 646 | DMUS_PMSG_PART | 
 
 
 
 
 | 647 | DWORD dwLen; | 
 
 
 
 
 | 648 | BYTE  abData[1]; | 
 
 
 
 
 | 649 | }; | 
 
 
 
 
 | 650 |  | 
 
 
 
 
 | 651 | struct _DMUS_CURVE_PMSG { | 
 
 
 
 
 | 652 | DMUS_PMSG_PART | 
 
 
 
 
 | 653 | MUSIC_TIME mtDuration; | 
 
 
 
 
 | 654 | MUSIC_TIME mtOriginalStart; | 
 
 
 
 
 | 655 | MUSIC_TIME mtResetDuration; | 
 
 
 
 
 | 656 | short      nStartValue; | 
 
 
 
 
 | 657 | short      nEndValue; | 
 
 
 
 
 | 658 | short      nResetValue; | 
 
 
 
 
 | 659 | WORD       wMeasure; | 
 
 
 
 
 | 660 | short      nOffset; | 
 
 
 
 
 | 661 | BYTE       bBeat; | 
 
 
 
 
 | 662 | BYTE       bGrid; | 
 
 
 
 
 | 663 | BYTE       bType; | 
 
 
 
 
 | 664 | BYTE       bCurveShape; | 
 
 
 
 
 | 665 | BYTE       bCCData; | 
 
 
 
 
 | 666 | BYTE       bFlags; | 
 
 
 
 
 | 667 | /* DX8 */ | 
 
 
 
 
 | 668 | WORD       wParamType; | 
 
 
 
 
 | 669 | WORD       wMergeIndex; | 
 
 
 
 
 | 670 | }; | 
 
 
 
 
 | 671 |  | 
 
 
 
 
 | 672 | struct _DMUS_TIMESIG_PMSG { | 
 
 
 
 
 | 673 | DMUS_PMSG_PART | 
 
 
 
 
 | 674 | BYTE bBeatsPerMeasure; | 
 
 
 
 
 | 675 | BYTE bBeat; | 
 
 
 
 
 | 676 | WORD wGridsPerBeat; | 
 
 
 
 
 | 677 | }; | 
 
 
 
 
 | 678 |  | 
 
 
 
 
 | 679 | struct _DMUS_NOTIFICATION_PMSG { | 
 
 
 
 
 | 680 | DMUS_PMSG_PART | 
 
 
 
 
 | 681 | GUID  guidNotificationType; | 
 
 
 
 
 | 682 | DWORD dwNotificationOption; | 
 
 
 
 
 | 683 | DWORD dwField1; | 
 
 
 
 
 | 684 | DWORD dwField2; | 
 
 
 
 
 | 685 | }; | 
 
 
 
 
 | 686 |  | 
 
 
 
 
 | 687 | struct _DMUS_WAVE_PMSG { | 
 
 
 
 
 | 688 | DMUS_PMSG_PART | 
 
 
 
 
 | 689 | REFERENCE_TIME rtStartOffset; | 
 
 
 
 
 | 690 | REFERENCE_TIME rtDuration; | 
 
 
 
 
 | 691 | LONG           lOffset; | 
 
 
 
 
 | 692 | LONG           lVolume; | 
 
 
 
 
 | 693 | LONG           lPitch; | 
 
 
 
 
 | 694 | BYTE           bFlags; | 
 
 
 
 
 | 695 | }; | 
 
 
 
 
 | 696 |  | 
 
 
 
 
 | 697 | struct _DMUS_LYRIC_PMSG { | 
 
 
 
 
 | 698 | DMUS_PMSG_PART | 
 
 
 
 
 | 699 | WCHAR wszString[1]; | 
 
 
 
 
 | 700 | }; | 
 
 
 
 
 | 701 |  | 
 
 
 
 
 | 702 | struct _DMUS_VERSION { | 
 
 
 
 
 | 703 | DWORD dwVersionMS; | 
 
 
 
 
 | 704 | DWORD dwVersionLS; | 
 
 
 
 
 | 705 | }; | 
 
 
 
 
 | 706 |  | 
 
 
 
 
 | 707 | struct _DMUS_TIMESIGNATURE { | 
 
 
 
 
 | 708 | MUSIC_TIME mtTime; | 
 
 
 
 
 | 709 | BYTE       bBeatsPerMeasure; | 
 
 
 
 
 | 710 | BYTE       bBeat; | 
 
 
 
 
 | 711 | WORD       wGridsPerBeat; | 
 
 
 
 
 | 712 | }; | 
 
 
 
 
 | 713 |  | 
 
 
 
 
 | 714 | struct _DMUS_VALID_START_PARAM { | 
 
 
 
 
 | 715 | MUSIC_TIME mtTime; | 
 
 
 
 
 | 716 | }; | 
 
 
 
 
 | 717 |  | 
 
 
 
 
 | 718 | struct _DMUS_PLAY_MARKER_PARAM { | 
 
 
 
 
 | 719 | MUSIC_TIME mtTime; | 
 
 
 
 
 | 720 | }; | 
 
 
 
 
 | 721 |  | 
 
 
 
 
 | 722 | struct _DMUS_OBJECTDESC { | 
 
 
 
 
 | 723 | DWORD        dwSize; | 
 
 
 
 
 | 724 | DWORD        dwValidData; | 
 
 
 
 
 | 725 | GUID         guidObject; | 
 
 
 
 
 | 726 | GUID         guidClass; | 
 
 
 
 
 | 727 | FILETIME     ftDate; | 
 
 
 
 
 | 728 | DMUS_VERSION vVersion; | 
 
 
 
 
 | 729 | WCHAR        wszName[DMUS_MAX_NAME]; | 
 
 
 
 
 | 730 | WCHAR        wszCategory[DMUS_MAX_CATEGORY]; | 
 
 
 
 
 | 731 | WCHAR        wszFileName[DMUS_MAX_FILENAME]; | 
 
 
 
 
 | 732 | LONGLONG     llMemLength; | 
 
 
 
 
 | 733 | LPBYTE       pbMemData; | 
 
 
 
 
 | 734 | IStream*     pStream; | 
 
 
 
 
 | 735 | }; | 
 
 
 
 
 | 736 |  | 
 
 
 
 
 | 737 | struct _DMUS_SCRIPT_ERRORINFO { | 
 
 
 
 
 | 738 | DWORD   dwSize; | 
 
 
 
 
 | 739 | HRESULT hr; | 
 
 
 
 
 | 740 | ULONG   ulLineNumber; | 
 
 
 
 
 | 741 | LONG    ichCharPosition; | 
 
 
 
 
 | 742 | WCHAR   wszSourceFile[DMUS_MAX_FILENAME]; | 
 
 
 
 
 | 743 | WCHAR   wszSourceComponent[DMUS_MAX_FILENAME]; | 
 
 
 
 
 | 744 | WCHAR   wszDescription[DMUS_MAX_FILENAME]; | 
 
 
 
 
 | 745 | WCHAR   wszSourceLineText[DMUS_MAX_FILENAME]; | 
 
 
 
 
 | 746 | }; | 
 
 
 
 
 | 747 |  | 
 
 
 
 
 | 748 | struct _DMUS_COMMAND_PARAM { | 
 
 
 
 
 | 749 | BYTE bCommand; | 
 
 
 
 
 | 750 | BYTE bGrooveLevel; | 
 
 
 
 
 | 751 | BYTE bGrooveRange; | 
 
 
 
 
 | 752 | BYTE bRepeatMode; | 
 
 
 
 
 | 753 | }; | 
 
 
 
 
 | 754 |  | 
 
 
 
 
 | 755 | struct _DMUS_COMMAND_PARAM_2 { | 
 
 
 
 
 | 756 | MUSIC_TIME mtTime; | 
 
 
 
 
 | 757 | BYTE       bCommand; | 
 
 
 
 
 | 758 | BYTE       bGrooveLevel; | 
 
 
 
 
 | 759 | BYTE       bGrooveRange; | 
 
 
 
 
 | 760 | BYTE       bRepeatMode; | 
 
 
 
 
 | 761 | }; | 
 
 
 
 
 | 762 |  | 
 
 
 
 
 | 763 | struct _DMUS_BAND_PARAM { | 
 
 
 
 
 | 764 | MUSIC_TIME       mtTimePhysical; | 
 
 
 
 
 | 765 | struct IDirectMusicBand *pBand; | 
 
 
 
 
 | 766 | }; | 
 
 
 
 
 | 767 |  | 
 
 
 
 
 | 768 | struct _DMUS_VARIATIONS_PARAM { | 
 
 
 
 
 | 769 | DWORD  dwPChannelsUsed; | 
 
 
 
 
 | 770 | DWORD* padwPChannels; | 
 
 
 
 
 | 771 | DWORD* padwVariations; | 
 
 
 
 
 | 772 | }; | 
 
 
 
 
 | 773 |  | 
 
 
 
 
 | 774 |  | 
 
 
 
 
 | 775 | /***************************************************************************** | 
 
 
 
 
 | 776 | * IDirectMusicBand interface | 
 
 
 
 
 | 777 | */ | 
 
 
 
 
 | 778 | #define INTERFACE IDirectMusicBand | 
 
 
 
 
 | 779 | DECLARE_INTERFACE_(IDirectMusicBand,IUnknown) | 
 
 
 
 
 | 780 | { | 
 
 
 
 
 | 781 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 782 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 783 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 784 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 785 | /*** IDirectMusicBand methods ***/ | 
 
 
 
 
 | 786 | STDMETHOD(CreateSegment)(THIS_ struct IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 787 | STDMETHOD(Download)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE; | 
 
 
 
 
 | 788 | STDMETHOD(Unload)(THIS_ struct IDirectMusicPerformance *pPerformance) PURE; | 
 
 
 
 
 | 789 | }; | 
 
 
 
 
 | 790 | #undef INTERFACE | 
 
 
 
 
 | 791 |  | 
 
 
 
 
 | 792 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 793 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 794 | #define IDirectMusicBand_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 795 | #define IDirectMusicBand_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 796 | #define IDirectMusicBand_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 797 | /*** IDirectMusicBand methods ***/ | 
 
 
 
 
 | 798 | #define IDirectMusicBand_CreateSegment(p,a)    (p)->lpVtbl->CreateSegment(p,a) | 
 
 
 
 
 | 799 | #define IDirectMusicBand_Download(p,a)         (p)->lpVtbl->Download(p,a) | 
 
 
 
 
 | 800 | #define IDirectMusicBand_Unload(p,a)           (p)->lpVtbl->Unload(p,a) | 
 
 
 
 
 | 801 | #endif | 
 
 
 
 
 | 802 |  | 
 
 
 
 
 | 803 |  | 
 
 
 
 
 | 804 | /***************************************************************************** | 
 
 
 
 
 | 805 | * IDirectMusicObject interface | 
 
 
 
 
 | 806 | */ | 
 
 
 
 
 | 807 | #define INTERFACE IDirectMusicObject | 
 
 
 
 
 | 808 | DECLARE_INTERFACE_(IDirectMusicObject,IUnknown) | 
 
 
 
 
 | 809 | { | 
 
 
 
 
 | 810 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 811 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 812 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 813 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 814 | /*** IDirectMusicObject methods ***/ | 
 
 
 
 
 | 815 | STDMETHOD(GetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 816 | STDMETHOD(SetDescriptor)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 817 | STDMETHOD(ParseDescriptor)(THIS_ LPSTREAM pStream, LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 818 | }; | 
 
 
 
 
 | 819 | #undef INTERFACE | 
 
 
 
 
 | 820 |  | 
 
 
 
 
 | 821 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 822 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 823 | #define IDirectMusicObject_QueryInterface(p,a,b)  (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 824 | #define IDirectMusicObject_AddRef(p)              (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 825 | #define IDirectMusicObject_Release(p)             (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 826 | /*** IDirectMusicObject methods ***/ | 
 
 
 
 
 | 827 | #define IDirectMusicObject_GetDescriptor(p,a)     (p)->lpVtbl->GetDescriptor(p,a) | 
 
 
 
 
 | 828 | #define IDirectMusicObject_SetDescriptor(p,a)     (p)->lpVtbl->SetDescriptor(p,a) | 
 
 
 
 
 | 829 | #define IDirectMusicObject_ParseDescriptor(p,a,b) (p)->lpVtbl->ParseDescriptor(p,a,b) | 
 
 
 
 
 | 830 | #endif | 
 
 
 
 
 | 831 |  | 
 
 
 
 
 | 832 |  | 
 
 
 
 
 | 833 | /***************************************************************************** | 
 
 
 
 
 | 834 | * IDirectMusicLoader interface | 
 
 
 
 
 | 835 | */ | 
 
 
 
 
 | 836 | #define INTERFACE IDirectMusicLoader | 
 
 
 
 
 | 837 | DECLARE_INTERFACE_(IDirectMusicLoader,IUnknown) | 
 
 
 
 
 | 838 | { | 
 
 
 
 
 | 839 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 840 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 841 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 842 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 843 | /*** IDirectMusicLoader methods ***/ | 
 
 
 
 
 | 844 | STDMETHOD(GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE; | 
 
 
 
 
 | 845 | STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 846 | STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, WINBOOL fClear) PURE; | 
 
 
 
 
 | 847 | STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE; | 
 
 
 
 
 | 848 | STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE; | 
 
 
 
 
 | 849 | STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE; | 
 
 
 
 
 | 850 | STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE; | 
 
 
 
 
 | 851 | STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, WINBOOL fEnable) PURE; | 
 
 
 
 
 | 852 | STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 853 | }; | 
 
 
 
 
 | 854 | #undef INTERFACE | 
 
 
 
 
 | 855 |  | 
 
 
 
 
 | 856 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 857 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 858 | #define IDirectMusicLoader_QueryInterface(p,a,b)       (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 859 | #define IDirectMusicLoader_AddRef(p)                   (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 860 | #define IDirectMusicLoader_Release(p)                  (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 861 | /*** IDirectMusicLoader methods ***/ | 
 
 
 
 
 | 862 | #define IDirectMusicLoader_GetObject(p,a,b,c)          (p)->lpVtbl->GetObject(p,a,b,c) | 
 
 
 
 
 | 863 | #define IDirectMusicLoader_SetObject(p,a)              (p)->lpVtbl->SetObject(p,a) | 
 
 
 
 
 | 864 | #define IDirectMusicLoader_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c) | 
 
 
 
 
 | 865 | #define IDirectMusicLoader_ScanDirectory(p,a,b,c)      (p)->lpVtbl->ScanDirectory(p,a,b,c) | 
 
 
 
 
 | 866 | #define IDirectMusicLoader_CacheObject(p,a)            (p)->lpVtbl->CacheObject(p,a) | 
 
 
 
 
 | 867 | #define IDirectMusicLoader_ReleaseObject(p,a)          (p)->lpVtbl->ReleaseObject(p,a) | 
 
 
 
 
 | 868 | #define IDirectMusicLoader_ClearCache(p,a)             (p)->lpVtbl->ClearCache(p,a) | 
 
 
 
 
 | 869 | #define IDirectMusicLoader_EnableCache(p,a,b)          (p)->lpVtbl->EnableCache(p,a,b) | 
 
 
 
 
 | 870 | #define IDirectMusicLoader_EnumObject(p,a,b,c)         (p)->lpVtbl->EnumObject(p,a,b,c) | 
 
 
 
 
 | 871 | #endif | 
 
 
 
 
 | 872 |  | 
 
 
 
 
 | 873 |  | 
 
 
 
 
 | 874 | /***************************************************************************** | 
 
 
 
 
 | 875 | * IDirectMusicLoader8 interface | 
 
 
 
 
 | 876 | */ | 
 
 
 
 
 | 877 | #define INTERFACE IDirectMusicLoader8 | 
 
 
 
 
 | 878 | DECLARE_INTERFACE_(IDirectMusicLoader8,IDirectMusicLoader) | 
 
 
 
 
 | 879 | { | 
 
 
 
 
 | 880 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 881 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 882 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 883 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 884 | /*** IDirectMusicLoader methods ***/ | 
 
 
 
 
 | 885 | STDMETHOD(GetObject)(THIS_ LPDMUS_OBJECTDESC pDesc, REFIID riid, LPVOID *ppv) PURE; | 
 
 
 
 
 | 886 | STDMETHOD(SetObject)(THIS_ LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 887 | STDMETHOD(SetSearchDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzPath, WINBOOL fClear) PURE; | 
 
 
 
 
 | 888 | STDMETHOD(ScanDirectory)(THIS_ REFGUID rguidClass, WCHAR *pwzFileExtension, WCHAR *pwzScanFileName) PURE; | 
 
 
 
 
 | 889 | STDMETHOD(CacheObject)(THIS_ IDirectMusicObject *pObject) PURE; | 
 
 
 
 
 | 890 | STDMETHOD(ReleaseObject)(THIS_ IDirectMusicObject *pObject) PURE; | 
 
 
 
 
 | 891 | STDMETHOD(ClearCache)(THIS_ REFGUID rguidClass) PURE; | 
 
 
 
 
 | 892 | STDMETHOD(EnableCache)(THIS_ REFGUID rguidClass, WINBOOL fEnable) PURE; | 
 
 
 
 
 | 893 | STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc) PURE; | 
 
 
 
 
 | 894 | /*** IDirectMusicLoader8 methods ***/ | 
 
 
 
 
 | 895 | STDMETHOD_(void,CollectGarbage)(THIS) PURE; | 
 
 
 
 
 | 896 | STDMETHOD(ReleaseObjectByUnknown)(THIS_ IUnknown *pObject) PURE; | 
 
 
 
 
 | 897 | STDMETHOD(LoadObjectFromFile)(THIS_ REFGUID rguidClassID, REFIID iidInterfaceID, WCHAR *pwzFilePath, void **ppObject) PURE; | 
 
 
 
 
 | 898 | }; | 
 
 
 
 
 | 899 | #undef INTERFACE | 
 
 
 
 
 | 900 |  | 
 
 
 
 
 | 901 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 902 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 903 | #define IDirectMusicLoader8_QueryInterface(p,a,b)         (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 904 | #define IDirectMusicLoader8_AddRef(p)                     (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 905 | #define IDirectMusicLoader8_Release(p)                    (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 906 | /*** IDirectMusicLoader methods ***/ | 
 
 
 
 
 | 907 | #define IDirectMusicLoader8_GetObject(p,a,b,c)            (p)->lpVtbl->GetObject(p,a,b,c) | 
 
 
 
 
 | 908 | #define IDirectMusicLoader8_SetObject(p,a)                (p)->lpVtbl->SetObject(p,a) | 
 
 
 
 
 | 909 | #define IDirectMusicLoader8_SetSearchDirectory(p,a,b,c)   (p)->lpVtbl->SetSearchDirectory(p,a,b,c) | 
 
 
 
 
 | 910 | #define IDirectMusicLoader8_ScanDirectory(p,a,b,c)        (p)->lpVtbl->ScanDirectory(p,a,b,c) | 
 
 
 
 
 | 911 | #define IDirectMusicLoader8_CacheObject(p,a)              (p)->lpVtbl->CacheObject(p,a) | 
 
 
 
 
 | 912 | #define IDirectMusicLoader8_ReleaseObject(p,a)            (p)->lpVtbl->ReleaseObject(p,a) | 
 
 
 
 
 | 913 | #define IDirectMusicLoader8_ClearCache(p,a)               (p)->lpVtbl->ClearCache(p,a) | 
 
 
 
 
 | 914 | #define IDirectMusicLoader8_EnableCache(p,a,b)            (p)->lpVtbl->EnableCache(p,a,b) | 
 
 
 
 
 | 915 | #define IDirectMusicLoader8_EnumObject(p,a,b,c)           (p)->lpVtbl->EnumObject(p,a,b,c) | 
 
 
 
 
 | 916 | /*** IDirectMusicLoader8 methods ***/ | 
 
 
 
 
 | 917 | #define IDirectMusicLoader8_CollectGarbage(p)             (p)->lpVtbl->CollectGarbage(p) | 
 
 
 
 
 | 918 | #define IDirectMusicLoader8_ReleaseObjectByUnknown(p,a)   (p)->lpVtbl->ReleaseObjectByUnknown(p,a) | 
 
 
 
 
 | 919 | #define IDirectMusicLoader8_LoadObjectFromFile(p,a,b,c,d) (p)->lpVtbl->LoadObjectFromFile(p,a,b,c,d) | 
 
 
 
 
 | 920 | #endif | 
 
 
 
 
 | 921 |  | 
 
 
 
 
 | 922 |  | 
 
 
 
 
 | 923 | /***************************************************************************** | 
 
 
 
 
 | 924 | * IDirectMusicGetLoader interface | 
 
 
 
 
 | 925 | */ | 
 
 
 
 
 | 926 | #define INTERFACE IDirectMusicGetLoader | 
 
 
 
 
 | 927 | DECLARE_INTERFACE_(IDirectMusicGetLoader,IUnknown) | 
 
 
 
 
 | 928 | { | 
 
 
 
 
 | 929 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 930 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 931 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 932 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 933 | /*** IDirectMusicGetLoader methods ***/ | 
 
 
 
 
 | 934 | STDMETHOD(GetLoader)(THIS_ IDirectMusicLoader **ppLoader) PURE; | 
 
 
 
 
 | 935 | }; | 
 
 
 
 
 | 936 | #undef INTERFACE | 
 
 
 
 
 | 937 |  | 
 
 
 
 
 | 938 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 939 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 940 | #define IDirectMusicGetLoader_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 941 | #define IDirectMusicGetLoader_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 942 | #define IDirectMusicGetLoader_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 943 | /*** IDirectMusicGetLoader methods ***/ | 
 
 
 
 
 | 944 | #define IDirectMusicGetLoader_GetLoader(p,a)        (p)->lpVtbl->GetLoader(p,a) | 
 
 
 
 
 | 945 | #endif | 
 
 
 
 
 | 946 |  | 
 
 
 
 
 | 947 |  | 
 
 
 
 
 | 948 | /***************************************************************************** | 
 
 
 
 
 | 949 | * IDirectMusicSegment interface | 
 
 
 
 
 | 950 | */ | 
 
 
 
 
 | 951 | #define INTERFACE IDirectMusicSegment | 
 
 
 
 
 | 952 | DECLARE_INTERFACE_(IDirectMusicSegment,IUnknown) | 
 
 
 
 
 | 953 | { | 
 
 
 
 
 | 954 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 955 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 956 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 957 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 958 | /*** IDirectMusicSegment methods ***/ | 
 
 
 
 
 | 959 | STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE; | 
 
 
 
 
 | 960 | STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE; | 
 
 
 
 
 | 961 | STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; | 
 
 
 
 
 | 962 | STDMETHOD(SetRepeats)(THIS_ DWORD dwRepeats) PURE; | 
 
 
 
 
 | 963 | STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE; | 
 
 
 
 
 | 964 | STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE; | 
 
 
 
 
 | 965 | STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE; | 
 
 
 
 
 | 966 | STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE; | 
 
 
 
 
 | 967 | STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE; | 
 
 
 
 
 | 968 | STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE; | 
 
 
 
 
 | 969 | STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD  dwFlags) PURE; | 
 
 
 
 
 | 970 | STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; | 
 
 
 
 
 | 971 | STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; | 
 
 
 
 
 | 972 | STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 973 | STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 974 | STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; | 
 
 
 
 
 | 975 | STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; | 
 
 
 
 
 | 976 | STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 977 | STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE; | 
 
 
 
 
 | 978 | STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 979 | STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE; | 
 
 
 
 
 | 980 | STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE; | 
 
 
 
 
 | 981 | STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE; | 
 
 
 
 
 | 982 | }; | 
 
 
 
 
 | 983 | #undef INTERFACE | 
 
 
 
 
 | 984 |  | 
 
 
 
 
 | 985 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 986 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 987 | #define IDirectMusicSegment_QueryInterface(p,a,b)       (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 988 | #define IDirectMusicSegment_AddRef(p)                   (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 989 | #define IDirectMusicSegment_Release(p)                  (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 990 | /*** IDirectMusicSegment methods ***/ | 
 
 
 
 
 | 991 | #define IDirectMusicSegment_GetLength(p,a)              (p)->lpVtbl->GetLength(p,a) | 
 
 
 
 
 | 992 | #define IDirectMusicSegment_SetLength(p,a)              (p)->lpVtbl->SetLength(p,a) | 
 
 
 
 
 | 993 | #define IDirectMusicSegment_GetRepeats(p,a)             (p)->lpVtbl->GetRepeats(p,a) | 
 
 
 
 
 | 994 | #define IDirectMusicSegment_SetRepeats(p,a)             (p)->lpVtbl->SetRepeats(p,a) | 
 
 
 
 
 | 995 | #define IDirectMusicSegment_GetDefaultResolution(p,a)   (p)->lpVtbl->GetDefaultResolution(p,a) | 
 
 
 
 
 | 996 | #define IDirectMusicSegment_SetDefaultResolution(p,a)   (p)->lpVtbl->SetDefaultResolution(p,a) | 
 
 
 
 
 | 997 | #define IDirectMusicSegment_GetTrack(p,a,b,c,d)         (p)->lpVtbl->GetTrack(p,a,b,c,d) | 
 
 
 
 
 | 998 | #define IDirectMusicSegment_GetTrackGroup(p,a,b)        (p)->lpVtbl->GetTrackGroup(p,a,b) | 
 
 
 
 
 | 999 | #define IDirectMusicSegment_InsertTrack(p,a,b)          (p)->lpVtbl->InsertTrack(p,a,b) | 
 
 
 
 
 | 1000 | #define IDirectMusicSegment_RemoveTrack(p,a)            (p)->lpVtbl->RemoveTrack(p,a) | 
 
 
 
 
 | 1001 | #define IDirectMusicSegment_InitPlay(p,a,b,c)           (p)->lpVtbl->InitPlay(p,a,b,c) | 
 
 
 
 
 | 1002 | #define IDirectMusicSegment_GetGraph(p,a)               (p)->lpVtbl->GetGraph(p,a) | 
 
 
 
 
 | 1003 | #define IDirectMusicSegment_SetGraph(p,a)               (p)->lpVtbl->SetGraph(p,a) | 
 
 
 
 
 | 1004 | #define IDirectMusicSegment_AddNotificationType(p,a)    (p)->lpVtbl->AddNotificationType(p,a) | 
 
 
 
 
 | 1005 | #define IDirectMusicSegment_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) | 
 
 
 
 
 | 1006 | #define IDirectMusicSegment_GetParam(p,a,b,c,d,e,f)     (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1007 | #define IDirectMusicSegment_SetParam(p,a,b,c,d,e)       (p)->lpVtbl->SetParam(p,a,b,c,d,e) | 
 
 
 
 
 | 1008 | #define IDirectMusicSegment_Clone(p,a,b,c)              (p)->lpVtbl->Clone(p,a,b,c) | 
 
 
 
 
 | 1009 | #define IDirectMusicSegment_SetStartPoint(p,a)          (p)->lpVtbl->SetStartPoint(p,a) | 
 
 
 
 
 | 1010 | #define IDirectMusicSegment_GetStartPoint(p,a)          (p)->lpVtbl->GetStartPoint(p,a) | 
 
 
 
 
 | 1011 | #define IDirectMusicSegment_SetLoopPoints(p,a,b)        (p)->lpVtbl->SetLoopPoints(p,a,b) | 
 
 
 
 
 | 1012 | #define IDirectMusicSegment_GetLoopPoints(p,a,b)        (p)->lpVtbl->GetLoopPoints(p,a,b) | 
 
 
 
 
 | 1013 | #define IDirectMusicSegment_SetPChannelsUsed(p,a,b)     (p)->lpVtbl->SetPChannelsUsed(p,a,b) | 
 
 
 
 
 | 1014 | #endif | 
 
 
 
 
 | 1015 |  | 
 
 
 
 
 | 1016 |  | 
 
 
 
 
 | 1017 | /***************************************************************************** | 
 
 
 
 
 | 1018 | * IDirectMusicSegment8 interface | 
 
 
 
 
 | 1019 | */ | 
 
 
 
 
 | 1020 | #define INTERFACE IDirectMusicSegment8 | 
 
 
 
 
 | 1021 | DECLARE_INTERFACE_(IDirectMusicSegment8,IDirectMusicSegment) | 
 
 
 
 
 | 1022 | { | 
 
 
 
 
 | 1023 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1024 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1025 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1026 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1027 | /*** IDirectMusicSegment methods ***/ | 
 
 
 
 
 | 1028 | STDMETHOD(GetLength)(THIS_ MUSIC_TIME *pmtLength) PURE; | 
 
 
 
 
 | 1029 | STDMETHOD(SetLength)(THIS_ MUSIC_TIME mtLength) PURE; | 
 
 
 
 
 | 1030 | STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; | 
 
 
 
 
 | 1031 | STDMETHOD(SetRepeats)(THIS_ DWORD dwRepeats) PURE; | 
 
 
 
 
 | 1032 | STDMETHOD(GetDefaultResolution)(THIS_ DWORD *pdwResolution) PURE; | 
 
 
 
 
 | 1033 | STDMETHOD(SetDefaultResolution)(THIS_ DWORD dwResolution) PURE; | 
 
 
 
 
 | 1034 | STDMETHOD(GetTrack)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, IDirectMusicTrack **ppTrack) PURE; | 
 
 
 
 
 | 1035 | STDMETHOD(GetTrackGroup)(THIS_ IDirectMusicTrack *pTrack, DWORD *pdwGroupBits) PURE; | 
 
 
 
 
 | 1036 | STDMETHOD(InsertTrack)(THIS_ IDirectMusicTrack *pTrack, DWORD dwGroupBits) PURE; | 
 
 
 
 
 | 1037 | STDMETHOD(RemoveTrack)(THIS_ IDirectMusicTrack *pTrack) PURE; | 
 
 
 
 
 | 1038 | STDMETHOD(InitPlay)(THIS_ struct IDirectMusicSegmentState **ppSegState, struct IDirectMusicPerformance *pPerformance, DWORD  dwFlags) PURE; | 
 
 
 
 
 | 1039 | STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; | 
 
 
 
 
 | 1040 | STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; | 
 
 
 
 
 | 1041 | STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1042 | STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1043 | STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; | 
 
 
 
 
 | 1044 | STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; | 
 
 
 
 
 | 1045 | STDMETHOD(Clone)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1046 | STDMETHOD(SetStartPoint)(THIS_ MUSIC_TIME mtStart) PURE; | 
 
 
 
 
 | 1047 | STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 1048 | STDMETHOD(SetLoopPoints)(THIS_ MUSIC_TIME mtStart, MUSIC_TIME mtEnd) PURE; | 
 
 
 
 
 | 1049 | STDMETHOD(GetLoopPoints)(THIS_ MUSIC_TIME *pmtStart, MUSIC_TIME *pmtEnd) PURE; | 
 
 
 
 
 | 1050 | STDMETHOD(SetPChannelsUsed)(THIS_ DWORD dwNumPChannels, DWORD *paPChannels) PURE; | 
 
 
 
 
 | 1051 | /*** IDirectMusicSegment8 methods ***/ | 
 
 
 
 
 | 1052 | STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE; | 
 
 
 
 
 | 1053 | STDMETHOD(GetAudioPathConfig)(THIS_ IUnknown **ppAudioPathConfig) PURE; | 
 
 
 
 
 | 1054 | STDMETHOD(Compose)(THIS_ MUSIC_TIME mtTime, IDirectMusicSegment *pFromSegment, IDirectMusicSegment *pToSegment, IDirectMusicSegment **ppComposedSegment) PURE; | 
 
 
 
 
 | 1055 | STDMETHOD(Download)(THIS_ IUnknown *pAudioPath) PURE; | 
 
 
 
 
 | 1056 | STDMETHOD(Unload)(THIS_ IUnknown *pAudioPath) PURE; | 
 
 
 
 
 | 1057 | }; | 
 
 
 
 
 | 1058 | #undef INTERFACE | 
 
 
 
 
 | 1059 |  | 
 
 
 
 
 | 1060 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1061 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1062 | #define IDirectMusicSegment8_QueryInterface(p,a,b)       (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1063 | #define IDirectMusicSegment8_AddRef(p)                   (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1064 | #define IDirectMusicSegment8_Release(p)                  (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1065 | /*** IDirectMusicSegment methods ***/ | 
 
 
 
 
 | 1066 | #define IDirectMusicSegment8_GetLength(p,a)              (p)->lpVtbl->GetLength(p,a) | 
 
 
 
 
 | 1067 | #define IDirectMusicSegment8_SetLength(p,a)              (p)->lpVtbl->SetLength(p,a) | 
 
 
 
 
 | 1068 | #define IDirectMusicSegment8_GetRepeats(p,a)             (p)->lpVtbl->GetRepeats(p,a) | 
 
 
 
 
 | 1069 | #define IDirectMusicSegment8_SetRepeats(p,a)             (p)->lpVtbl->SetRepeats(p,a) | 
 
 
 
 
 | 1070 | #define IDirectMusicSegment8_GetDefaultResolution(p,a)   (p)->lpVtbl->GetDefaultResolution(p,a) | 
 
 
 
 
 | 1071 | #define IDirectMusicSegment8_SetDefaultResolution(p,a)   (p)->lpVtbl->SetDefaultResolution(p,a) | 
 
 
 
 
 | 1072 | #define IDirectMusicSegment8_GetTrack(p,a,b,c,d)         (p)->lpVtbl->GetTrack(p,a,b,c,d) | 
 
 
 
 
 | 1073 | #define IDirectMusicSegment8_GetTrackGroup(p,a,b)        (p)->lpVtbl->GetTrackGroup(p,a,b) | 
 
 
 
 
 | 1074 | #define IDirectMusicSegment8_InsertTrack(p,a,b)          (p)->lpVtbl->InsertTrack(p,a,b) | 
 
 
 
 
 | 1075 | #define IDirectMusicSegment8_RemoveTrack(p,a)            (p)->lpVtbl->RemoveTrack(p,a) | 
 
 
 
 
 | 1076 | #define IDirectMusicSegment8_InitPlay(p,a,b,c)           (p)->lpVtbl->InitPlay(p,a,b,c) | 
 
 
 
 
 | 1077 | #define IDirectMusicSegment8_GetGraph(p,a)               (p)->lpVtbl->GetGraph(p,a) | 
 
 
 
 
 | 1078 | #define IDirectMusicSegment8_SetGraph(p,a)               (p)->lpVtbl->SetGraph(p,a) | 
 
 
 
 
 | 1079 | #define IDirectMusicSegment8_AddNotificationType(p,a)    (p)->lpVtbl->AddNotificationType(p,a) | 
 
 
 
 
 | 1080 | #define IDirectMusicSegment8_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a) | 
 
 
 
 
 | 1081 | #define IDirectMusicSegment8_GetParam(p,a,b,c,d,e,f)     (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1082 | #define IDirectMusicSegment8_SetParam(p,a,b,c,d,e)       (p)->lpVtbl->SetParam(p,a,b,c,d,e) | 
 
 
 
 
 | 1083 | #define IDirectMusicSegment8_Clone(p,a,b,c)              (p)->lpVtbl->Clone(p,a,b,c) | 
 
 
 
 
 | 1084 | #define IDirectMusicSegment8_SetStartPoint(p,a)          (p)->lpVtbl->SetStartPoint(p,a) | 
 
 
 
 
 | 1085 | #define IDirectMusicSegment8_GetStartPoint(p,a)          (p)->lpVtbl->GetStartPoint(p,a) | 
 
 
 
 
 | 1086 | #define IDirectMusicSegment8_SetLoopPoints(p,a,b)        (p)->lpVtbl->SetLoopPoints(p,a,b) | 
 
 
 
 
 | 1087 | #define IDirectMusicSegment8_GetLoopPoints(p,a,b)        (p)->lpVtbl->GetLoopPoints(p,a,b) | 
 
 
 
 
 | 1088 | #define IDirectMusicSegment8_SetPChannelsUsed(p,a,b)     (p)->lpVtbl->SetPChannelsUsed(p,a,b) | 
 
 
 
 
 | 1089 | /*** IDirectMusicSegment8 methods ***/ | 
 
 
 
 
 | 1090 | #define IDirectMusicSegment8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e) | 
 
 
 
 
 | 1091 | #define IDirectMusicSegment8_GetAudioPathConfig(p,a)     (p)->lpVtbl->GetAudioPathConfig(p,a) | 
 
 
 
 
 | 1092 | #define IDirectMusicSegment8_Compose(p,a,b,c,d)          (p)->lpVtbl->Compose(p,a,b,c,d) | 
 
 
 
 
 | 1093 | #define IDirectMusicSegment8_Download(p,a)               (p)->lpVtbl->Download(p,a) | 
 
 
 
 
 | 1094 | #define IDirectMusicSegment8_Unload(p,a)                 (p)->lpVtbl->Unload(p,a) | 
 
 
 
 
 | 1095 | #endif | 
 
 
 
 
 | 1096 |  | 
 
 
 
 
 | 1097 |  | 
 
 
 
 
 | 1098 | /***************************************************************************** | 
 
 
 
 
 | 1099 | * IDirectMusicSegmentState interface | 
 
 
 
 
 | 1100 | */ | 
 
 
 
 
 | 1101 | #define INTERFACE IDirectMusicSegmentState | 
 
 
 
 
 | 1102 | DECLARE_INTERFACE_(IDirectMusicSegmentState,IUnknown) | 
 
 
 
 
 | 1103 | { | 
 
 
 
 
 | 1104 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1105 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1106 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1107 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1108 | /*** IDirectMusicSegmentState methods ***/ | 
 
 
 
 
 | 1109 | STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; | 
 
 
 
 
 | 1110 | STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1111 | STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 1112 | STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE; | 
 
 
 
 
 | 1113 | STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 1114 | }; | 
 
 
 
 
 | 1115 | #undef INTERFACE | 
 
 
 
 
 | 1116 |  | 
 
 
 
 
 | 1117 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1118 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1119 | #define IDirectMusicSegmentState_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1120 | #define IDirectMusicSegmentState_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1121 | #define IDirectMusicSegmentState_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1122 | /*** IDirectMusicSegmentState methods ***/ | 
 
 
 
 
 | 1123 | #define IDirectMusicSegmentState_GetRepeats(p,a)       (p)->lpVtbl->GetRepeats(p,a) | 
 
 
 
 
 | 1124 | #define IDirectMusicSegmentState_GetSegment(p,a)       (p)->lpVtbl->GetSegment(p,a) | 
 
 
 
 
 | 1125 | #define IDirectMusicSegmentState_GetStartTime(p,a)     (p)->lpVtbl->GetStartTime(p,a) | 
 
 
 
 
 | 1126 | #define IDirectMusicSegmentState_GetSeek(p,a)          (p)->lpVtbl->GetSeek(p,a) | 
 
 
 
 
 | 1127 | #define IDirectMusicSegmentState_GetStartPoint(p,a)    (p)->lpVtbl->GetStartPoint(p,a) | 
 
 
 
 
 | 1128 | #endif | 
 
 
 
 
 | 1129 |  | 
 
 
 
 
 | 1130 |  | 
 
 
 
 
 | 1131 | /***************************************************************************** | 
 
 
 
 
 | 1132 | * IDirectMusicSegmentState8 interface | 
 
 
 
 
 | 1133 | */ | 
 
 
 
 
 | 1134 | #define INTERFACE IDirectMusicSegmentState8 | 
 
 
 
 
 | 1135 | DECLARE_INTERFACE_(IDirectMusicSegmentState8,IDirectMusicSegmentState) | 
 
 
 
 
 | 1136 | { | 
 
 
 
 
 | 1137 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1138 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1139 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1140 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1141 | /*** IDirectMusicSegmentState methods ***/ | 
 
 
 
 
 | 1142 | STDMETHOD(GetRepeats)(THIS_ DWORD *pdwRepeats) PURE; | 
 
 
 
 
 | 1143 | STDMETHOD(GetSegment)(THIS_ IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1144 | STDMETHOD(GetStartTime)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 1145 | STDMETHOD(GetSeek)(THIS_ MUSIC_TIME *pmtSeek) PURE; | 
 
 
 
 
 | 1146 | STDMETHOD(GetStartPoint)(THIS_ MUSIC_TIME *pmtStart) PURE; | 
 
 
 
 
 | 1147 | /*** IDirectMusicSegmentState8 methods ***/ | 
 
 
 
 
 | 1148 | STDMETHOD(SetTrackConfig)(THIS_ REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff) PURE; | 
 
 
 
 
 | 1149 | STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, DWORD dwIndex, REFGUID iidInterface, void **ppObject) PURE; | 
 
 
 
 
 | 1150 | }; | 
 
 
 
 
 | 1151 | #undef INTERFACE | 
 
 
 
 
 | 1152 |  | 
 
 
 
 
 | 1153 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1154 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1155 | #define IDirectMusicSegmentState8_QueryInterface(p,a,b)            (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1156 | #define IDirectMusicSegmentState8_AddRef(p)                        (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1157 | #define IDirectMusicSegmentState8_Release(p)                       (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1158 | /*** IDirectMusicSegmentState methods ***/ | 
 
 
 
 
 | 1159 | #define IDirectMusicSegmentState8_GetRepeats(p,a)                  (p)->lpVtbl->GetRepeats(p,a) | 
 
 
 
 
 | 1160 | #define IDirectMusicSegmentState8_GetSegment(p,a)                  (p)->lpVtbl->GetSegment(p,a) | 
 
 
 
 
 | 1161 | #define IDirectMusicSegmentState8_GetStartTime(p,a)                (p)->lpVtbl->GetStartTime(p,a) | 
 
 
 
 
 | 1162 | #define IDirectMusicSegmentState8_GetSeek(p,a)                     (p)->lpVtbl->GetSeek(p,a) | 
 
 
 
 
 | 1163 | #define IDirectMusicSegmentState8_GetStartPoint(p,a)               (p)->lpVtbl->GetStartPoint(p,a) | 
 
 
 
 
 | 1164 | /*** IDirectMusicSegmentState8 methods ***/ | 
 
 
 
 
 | 1165 | #define IDirectMusicSegmentState8_SetTrackConfig(p,a,b,c,d,e)      (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e) | 
 
 
 
 
 | 1166 | #define IDirectMusicSegmentState8_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g) | 
 
 
 
 
 | 1167 | #endif | 
 
 
 
 
 | 1168 |  | 
 
 
 
 
 | 1169 |  | 
 
 
 
 
 | 1170 | /***************************************************************************** | 
 
 
 
 
 | 1171 | * IDirectMusicAudioPath interface | 
 
 
 
 
 | 1172 | */ | 
 
 
 
 
 | 1173 | #define INTERFACE IDirectMusicAudioPath | 
 
 
 
 
 | 1174 | DECLARE_INTERFACE_(IDirectMusicAudioPath,IUnknown) | 
 
 
 
 
 | 1175 | { | 
 
 
 
 
 | 1176 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1177 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1178 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1179 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1180 | /*** IDirectMusicAudioPath methods ***/ | 
 
 
 
 
 | 1181 | STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, WORD dwIndex, REFGUID iidInterface, void **ppObject) PURE; | 
 
 
 
 
 | 1182 | STDMETHOD(Activate)(THIS_ WINBOOL fActivate) PURE; | 
 
 
 
 
 | 1183 | STDMETHOD(SetVolume)(THIS_ LONG lVolume, DWORD dwDuration) PURE; | 
 
 
 
 
 | 1184 | STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE; | 
 
 
 
 
 | 1185 | }; | 
 
 
 
 
 | 1186 | #undef INTERFACE | 
 
 
 
 
 | 1187 |  | 
 
 
 
 
 | 1188 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1189 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1190 | #define IDirectMusicAudioPath_QueryInterface(p,a,b)            (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1191 | #define IDirectMusicAudioPath_AddRef(p)                        (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1192 | #define IDirectMusicAudioPath_Release(p)                       (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1193 | /*** IDirectMusicAudioPath methods ***/ | 
 
 
 
 
 | 1194 | #define IDirectMusicAudioPath_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g) | 
 
 
 
 
 | 1195 | #define IDirectMusicAudioPath_Activate(p,a)                    (p)->lpVtbl->Activate(p,a) | 
 
 
 
 
 | 1196 | #define IDirectMusicAudioPath_SetVolume(p,a,b)                 (p)->lpVtbl->SetVolume(p,a,b) | 
 
 
 
 
 | 1197 | #define IDirectMusicAudioPath_ConvertPChannel(p,a,b)           (p)->lpVtbl->ConvertPChannel(p,a,b) | 
 
 
 
 
 | 1198 | #endif | 
 
 
 
 
 | 1199 |  | 
 
 
 
 
 | 1200 |  | 
 
 
 
 
 | 1201 | /***************************************************************************** | 
 
 
 
 
 | 1202 | * IDirectMusicPerformance interface | 
 
 
 
 
 | 1203 | */ | 
 
 
 
 
 | 1204 | #define INTERFACE IDirectMusicPerformance | 
 
 
 
 
 | 1205 | DECLARE_INTERFACE_(IDirectMusicPerformance,IUnknown) | 
 
 
 
 
 | 1206 | { | 
 
 
 
 
 | 1207 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1208 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1209 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1210 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1211 | /*** IDirectMusicPerformance methods ***/ | 
 
 
 
 
 | 1212 | STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; | 
 
 
 
 
 | 1213 | STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE; | 
 
 
 
 
 | 1214 | STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE; | 
 
 
 
 
 | 1215 | STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE; | 
 
 
 
 
 | 1216 | STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE; | 
 
 
 
 
 | 1217 | STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE; | 
 
 
 
 
 | 1218 | STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE; | 
 
 
 
 
 | 1219 | STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE; | 
 
 
 
 
 | 1220 | STDMETHOD(SendPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; | 
 
 
 
 
 | 1221 | STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1222 | STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE; | 
 
 
 
 
 | 1223 | STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE; | 
 
 
 
 
 | 1224 | STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE; | 
 
 
 
 
 | 1225 | STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE; | 
 
 
 
 
 | 1226 | STDMETHOD(FreePMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; | 
 
 
 
 
 | 1227 | STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; | 
 
 
 
 
 | 1228 | STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; | 
 
 
 
 
 | 1229 | STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE; | 
 
 
 
 
 | 1230 | STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE; | 
 
 
 
 
 | 1231 | STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1232 | STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1233 | STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE; | 
 
 
 
 
 | 1234 | STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE; | 
 
 
 
 
 | 1235 | STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE; | 
 
 
 
 
 | 1236 | STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE; | 
 
 
 
 
 | 1237 | STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; | 
 
 
 
 
 | 1238 | STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; | 
 
 
 
 
 | 1239 | STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE; | 
 
 
 
 
 | 1240 | STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; | 
 
 
 
 
 | 1241 | STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; | 
 
 
 
 
 | 1242 | STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; | 
 
 
 
 
 | 1243 | STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; | 
 
 
 
 
 | 1244 | STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1245 | STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1246 | STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE; | 
 
 
 
 
 | 1247 | STDMETHOD(CloseDown)(THIS) PURE; | 
 
 
 
 
 | 1248 | STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE; | 
 
 
 
 
 | 1249 | STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE; | 
 
 
 
 
 | 1250 | STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE; | 
 
 
 
 
 | 1251 | STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE; | 
 
 
 
 
 | 1252 | STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE; | 
 
 
 
 
 | 1253 | }; | 
 
 
 
 
 | 1254 | #undef INTERFACE | 
 
 
 
 
 | 1255 |  | 
 
 
 
 
 | 1256 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1257 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1258 | #define IDirectMusicPerformance_QueryInterface(p,a,b)                 (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1259 | #define IDirectMusicPerformance_AddRef(p)                             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1260 | #define IDirectMusicPerformance_Release(p)                            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1261 | /*** IDirectMusicPerformance methods ***/ | 
 
 
 
 
 | 1262 | #define IDirectMusicPerformance_Init(p,a,b,c)                         (p)->lpVtbl->Init(p,a,b,c) | 
 
 
 
 
 | 1263 | #define IDirectMusicPerformance_PlaySegment(p,a,b,c,d)                (p)->lpVtbl->PlaySegment(p,a,b,c,d) | 
 
 
 
 
 | 1264 | #define IDirectMusicPerformance_Stop(p,a,b,c,d)                       (p)->lpVtbl->Stop(p,a,b,c,d) | 
 
 
 
 
 | 1265 | #define IDirectMusicPerformance_GetSegmentState(p,a,b)                (p)->lpVtbl->GetSegmentState(p,a,b) | 
 
 
 
 
 | 1266 | #define IDirectMusicPerformance_SetPrepareTime(p,a)                   (p)->lpVtbl->SetPrepareTime(p,a) | 
 
 
 
 
 | 1267 | #define IDirectMusicPerformance_GetPrepareTime(p,a)                   (p)->lpVtbl->GetPrepareTime(p,a) | 
 
 
 
 
 | 1268 | #define IDirectMusicPerformance_SetBumperLength(p,a)                  (p)->lpVtbl->SetBumperLength(p,a) | 
 
 
 
 
 | 1269 | #define IDirectMusicPerformance_GetBumperLength(p,a)                  (p)->lpVtbl->GetBumperLength(p,a) | 
 
 
 
 
 | 1270 | #define IDirectMusicPerformance_SendPMsg(p,a)                         (p)->lpVtbl->SendPMsg(p,a) | 
 
 
 
 
 | 1271 | #define IDirectMusicPerformance_MusicToReferenceTime(p,a,b)           (p)->lpVtbl->MusicToReferenceTime(p,a,b) | 
 
 
 
 
 | 1272 | #define IDirectMusicPerformance_ReferenceToMusicTime(p,a,b)           (p)->lpVtbl->ReferenceToMusicTime(p,a,b) | 
 
 
 
 
 | 1273 | #define IDirectMusicPerformance_IsPlaying(p,a,b)                      (p)->lpVtbl->IsPlaying(p,a,b) | 
 
 
 
 
 | 1274 | #define IDirectMusicPerformance_GetTime(p,a,b)                        (p)->lpVtbl->GetTime(p,a,b) | 
 
 
 
 
 | 1275 | #define IDirectMusicPerformance_AllocPMsg(p,a,b)                      (p)->lpVtbl->AllocPMsg(p,a,b) | 
 
 
 
 
 | 1276 | #define IDirectMusicPerformance_FreePMsg(p,a)                         (p)->lpVtbl->FreePMsg(p,a) | 
 
 
 
 
 | 1277 | #define IDirectMusicPerformance_GetGraph(p,a)                         (p)->lpVtbl->GetGraph(p,a) | 
 
 
 
 
 | 1278 | #define IDirectMusicPerformance_SetGraph(p,a)                         (p)->lpVtbl->SetGraph(p,a) | 
 
 
 
 
 | 1279 | #define IDirectMusicPerformance_SetNotificationHandle(p,a,b)          (p)->lpVtbl->SetNotificationHandle(p,a,b) | 
 
 
 
 
 | 1280 | #define IDirectMusicPerformance_GetNotificationPMsg(p,a)              (p)->lpVtbl->GetNotificationPMsg(p,a) | 
 
 
 
 
 | 1281 | #define IDirectMusicPerformance_AddNotificationType(p,a)              (p)->lpVtbl->AddNotificationType(p,a) | 
 
 
 
 
 | 1282 | #define IDirectMusicPerformance_RemoveNotificationType(p,a)           (p)->lpVtbl->RemoveNotificationType(p,a) | 
 
 
 
 
 | 1283 | #define IDirectMusicPerformance_AddPort(p,a)                          (p)->lpVtbl->AddPort(p,a) | 
 
 
 
 
 | 1284 | #define IDirectMusicPerformance_RemovePort(p,a)                       (p)->lpVtbl->RemovePort(p,a) | 
 
 
 
 
 | 1285 | #define IDirectMusicPerformance_AssignPChannelBlock(p,a,b,c)          (p)->lpVtbl->AssignPChannelBlock(p,a,b,c) | 
 
 
 
 
 | 1286 | #define IDirectMusicPerformance_AssignPChannel(p,a,b,c,d)             (p)->lpVtbl->AssignPChannel(p,a,b,c,d) | 
 
 
 
 
 | 1287 | #define IDirectMusicPerformance_PChannelInfo(p,a,b,c,d)               (p)->lpVtbl->PChannelInfo(p,a,b,c,d) | 
 
 
 
 
 | 1288 | #define IDirectMusicPerformance_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h) | 
 
 
 
 
 | 1289 | #define IDirectMusicPerformance_Invalidate(p,a,b)                     (p)->lpVtbl->Invalidate(p,a,b) | 
 
 
 
 
 | 1290 | #define IDirectMusicPerformance_GetParam(p,a,b,c,d,e,f)               (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1291 | #define IDirectMusicPerformance_SetParam(p,a,b,c,d,e)                 (p)->lpVtbl->SetParam(p,a,b,c,d,e) | 
 
 
 
 
 | 1292 | #define IDirectMusicPerformance_GetGlobalParam(p,a,b,c)               (p)->lpVtbl->GetGlobalParam(p,a,b,c) | 
 
 
 
 
 | 1293 | #define IDirectMusicPerformance_SetGlobalParam(p,a,b,c)               (p)->lpVtbl->SetGlobalParam(p,a,b,c) | 
 
 
 
 
 | 1294 | #define IDirectMusicPerformance_GetLatencyTime(p,a)                   (p)->lpVtbl->GetLatencyTime(p,a) | 
 
 
 
 
 | 1295 | #define IDirectMusicPerformance_GetQueueTime(p,a)                     (p)->lpVtbl->GetQueueTime(p,a) | 
 
 
 
 
 | 1296 | #define IDirectMusicPerformance_AdjustTime(p,a)                       (p)->lpVtbl->AdjustTime(p,a) | 
 
 
 
 
 | 1297 | #define IDirectMusicPerformance_CloseDown(p)                          (p)->lpVtbl->CloseDown(p) | 
 
 
 
 
 | 1298 | #define IDirectMusicPerformance_GetResolvedTime(p,a,b,c)              (p)->lpVtbl->GetResolvedTime(p,a,b,c) | 
 
 
 
 
 | 1299 | #define IDirectMusicPerformance_MIDIToMusic(p,a,b,c,d,e)              (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e) | 
 
 
 
 
 | 1300 | #define IDirectMusicPerformance_MusicToMIDI(p,a,b,c,d,e)              (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e) | 
 
 
 
 
 | 1301 | #define IDirectMusicPerformance_TimeToRhythm(p,a,b,c,d,e,f)           (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1302 | #define IDirectMusicPerformance_RhythmToTime(p,a,b,c,d,e,f)           (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1303 | #endif | 
 
 
 
 
 | 1304 |  | 
 
 
 
 
 | 1305 |  | 
 
 
 
 
 | 1306 | /***************************************************************************** | 
 
 
 
 
 | 1307 | * IDirectMusicPerformance8 interface | 
 
 
 
 
 | 1308 | */ | 
 
 
 
 
 | 1309 | #define INTERFACE IDirectMusicPerformance8 | 
 
 
 
 
 | 1310 | DECLARE_INTERFACE_(IDirectMusicPerformance8,IDirectMusicPerformance) | 
 
 
 
 
 | 1311 | { | 
 
 
 
 
 | 1312 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1313 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1314 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1315 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1316 | /*** IDirectMusicPerformance methods ***/ | 
 
 
 
 
 | 1317 | STDMETHOD(Init)(THIS_ IDirectMusic **ppDirectMusic, LPDIRECTSOUND pDirectSound, HWND hWnd) PURE; | 
 
 
 
 
 | 1318 | STDMETHOD(PlaySegment)(THIS_ IDirectMusicSegment *pSegment, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState) PURE; | 
 
 
 
 
 | 1319 | STDMETHOD(Stop)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegmentState, MUSIC_TIME mtTime, DWORD dwFlags) PURE; | 
 
 
 
 
 | 1320 | STDMETHOD(GetSegmentState)(THIS_ IDirectMusicSegmentState **ppSegmentState, MUSIC_TIME mtTime) PURE; | 
 
 
 
 
 | 1321 | STDMETHOD(SetPrepareTime)(THIS_ DWORD dwMilliSeconds) PURE; | 
 
 
 
 
 | 1322 | STDMETHOD(GetPrepareTime)(THIS_ DWORD *pdwMilliSeconds) PURE; | 
 
 
 
 
 | 1323 | STDMETHOD(SetBumperLength)(THIS_ DWORD dwMilliSeconds) PURE; | 
 
 
 
 
 | 1324 | STDMETHOD(GetBumperLength)(THIS_ DWORD *pdwMilliSeconds) PURE; | 
 
 
 
 
 | 1325 | STDMETHOD(SendPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; | 
 
 
 
 
 | 1326 | STDMETHOD(MusicToReferenceTime)(THIS_ MUSIC_TIME mtTime, REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1327 | STDMETHOD(ReferenceToMusicTime)(THIS_ REFERENCE_TIME rtTime, MUSIC_TIME *pmtTime) PURE; | 
 
 
 
 
 | 1328 | STDMETHOD(IsPlaying)(THIS_ IDirectMusicSegment *pSegment, IDirectMusicSegmentState *pSegState) PURE; | 
 
 
 
 
 | 1329 | STDMETHOD(GetTime)(THIS_ REFERENCE_TIME *prtNow, MUSIC_TIME *pmtNow) PURE; | 
 
 
 
 
 | 1330 | STDMETHOD(AllocPMsg)(THIS_ ULONG cb, DMUS_PMSG **ppPMSG) PURE; | 
 
 
 
 
 | 1331 | STDMETHOD(FreePMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; | 
 
 
 
 
 | 1332 | STDMETHOD(GetGraph)(THIS_ struct IDirectMusicGraph **ppGraph) PURE; | 
 
 
 
 
 | 1333 | STDMETHOD(SetGraph)(THIS_ struct IDirectMusicGraph *pGraph) PURE; | 
 
 
 
 
 | 1334 | STDMETHOD(SetNotificationHandle)(THIS_ HANDLE hNotification, REFERENCE_TIME rtMinimum) PURE; | 
 
 
 
 
 | 1335 | STDMETHOD(GetNotificationPMsg)(THIS_ DMUS_NOTIFICATION_PMSG **ppNotificationPMsg) PURE; | 
 
 
 
 
 | 1336 | STDMETHOD(AddNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1337 | STDMETHOD(RemoveNotificationType)(THIS_ REFGUID rguidNotificationType) PURE; | 
 
 
 
 
 | 1338 | STDMETHOD(AddPort)(THIS_ IDirectMusicPort *pPort) PURE; | 
 
 
 
 
 | 1339 | STDMETHOD(RemovePort)(THIS_ IDirectMusicPort *pPort) PURE; | 
 
 
 
 
 | 1340 | STDMETHOD(AssignPChannelBlock)(THIS_ DWORD dwBlockNum, IDirectMusicPort *pPort, DWORD dwGroup) PURE; | 
 
 
 
 
 | 1341 | STDMETHOD(AssignPChannel)(THIS_ DWORD dwPChannel, IDirectMusicPort *pPort, DWORD dwGroup, DWORD dwMChannel) PURE; | 
 
 
 
 
 | 1342 | STDMETHOD(PChannelInfo)(THIS_ DWORD dwPChannel, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; | 
 
 
 
 
 | 1343 | STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInst, DWORD dwPChannel, IDirectMusicDownloadedInstrument **ppDownInst, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges, IDirectMusicPort **ppPort, DWORD *pdwGroup, DWORD *pdwMChannel) PURE; | 
 
 
 
 
 | 1344 | STDMETHOD(Invalidate)(THIS_ MUSIC_TIME mtTime, DWORD dwFlags) PURE; | 
 
 
 
 
 | 1345 | STDMETHOD(GetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; | 
 
 
 
 
 | 1346 | STDMETHOD(SetParam)(THIS_ REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void *pParam) PURE; | 
 
 
 
 
 | 1347 | STDMETHOD(GetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; | 
 
 
 
 
 | 1348 | STDMETHOD(SetGlobalParam)(THIS_ REFGUID rguidType, void *pParam, DWORD dwSize) PURE; | 
 
 
 
 
 | 1349 | STDMETHOD(GetLatencyTime)(THIS_ REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1350 | STDMETHOD(GetQueueTime)(THIS_ REFERENCE_TIME *prtTime) PURE; | 
 
 
 
 
 | 1351 | STDMETHOD(AdjustTime)(THIS_ REFERENCE_TIME rtAmount) PURE; | 
 
 
 
 
 | 1352 | STDMETHOD(CloseDown)(THIS) PURE; | 
 
 
 
 
 | 1353 | STDMETHOD(GetResolvedTime)(THIS_ REFERENCE_TIME rtTime, REFERENCE_TIME *prtResolved, DWORD dwTimeResolveFlags) PURE; | 
 
 
 
 
 | 1354 | STDMETHOD(MIDIToMusic)(THIS_ BYTE bMIDIValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, WORD *pwMusicValue) PURE; | 
 
 
 
 
 | 1355 | STDMETHOD(MusicToMIDI)(THIS_ WORD wMusicValue, DMUS_CHORD_KEY *pChord, BYTE bPlayMode, BYTE bChordLevel, BYTE *pbMIDIValue) PURE; | 
 
 
 
 
 | 1356 | STDMETHOD(TimeToRhythm)(THIS_ MUSIC_TIME mtTime, DMUS_TIMESIGNATURE *pTimeSig, WORD *pwMeasure, BYTE *pbBeat, BYTE *pbGrid, short *pnOffset) PURE; | 
 
 
 
 
 | 1357 | STDMETHOD(RhythmToTime)(THIS_ WORD wMeasure, BYTE bBeat, BYTE bGrid, short nOffset, DMUS_TIMESIGNATURE *pTimeSig, MUSIC_TIME *pmtTime) PURE; | 
 
 
 
 
 | 1358 | /*** IDirectMusicPerformance8 methods ***/ | 
 
 
 
 
 | 1359 | STDMETHOD(InitAudio)(THIS_ IDirectMusic **ppDirectMusic, IDirectSound **ppDirectSound, HWND hWnd, DWORD dwDefaultPathType, DWORD dwPChannelCount, DWORD dwFlags, DMUS_AUDIOPARAMS *pParams) PURE; | 
 
 
 
 
 | 1360 | STDMETHOD(PlaySegmentEx)(THIS_ IUnknown *pSource, WCHAR *pwzSegmentName, IUnknown *pTransition, DWORD dwFlags, __int64 i64StartTime, IDirectMusicSegmentState **ppSegmentState, IUnknown *pFrom, IUnknown *pAudioPath) PURE; | 
 
 
 
 
 | 1361 | STDMETHOD(StopEx)(THIS_ IUnknown *pObjectToStop, __int64 i64StopTime, DWORD dwFlags) PURE; | 
 
 
 
 
 | 1362 | STDMETHOD(ClonePMsg)(THIS_ DMUS_PMSG *pSourcePMSG, DMUS_PMSG **ppCopyPMSG) PURE; | 
 
 
 
 
 | 1363 | STDMETHOD(CreateAudioPath)(THIS_ IUnknown *pSourceConfig, WINBOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE; | 
 
 
 
 
 | 1364 | STDMETHOD(CreateStandardAudioPath)(THIS_ DWORD dwType, DWORD dwPChannelCount, WINBOOL fActivate, IDirectMusicAudioPath **ppNewPath) PURE; | 
 
 
 
 
 | 1365 | STDMETHOD(SetDefaultAudioPath)(THIS_ IDirectMusicAudioPath *pAudioPath) PURE; | 
 
 
 
 
 | 1366 | STDMETHOD(GetDefaultAudioPath)(THIS_ IDirectMusicAudioPath **ppAudioPath) PURE; | 
 
 
 
 
 | 1367 | STDMETHOD(GetParamEx)(THIS_ REFGUID rguidType, DWORD dwTrackID, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME *pmtNext, void *pParam) PURE; | 
 
 
 
 
 | 1368 | }; | 
 
 
 
 
 | 1369 | #undef INTERFACE | 
 
 
 
 
 | 1370 |  | 
 
 
 
 
 | 1371 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1372 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1373 | #define IDirectMusicPerformance8_QueryInterface(p,a,b)                 (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1374 | #define IDirectMusicPerformance8_AddRef(p)                             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1375 | #define IDirectMusicPerformance8_Release(p)                            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1376 | /*** IDirectMusicPerformance methods ***/ | 
 
 
 
 
 | 1377 | #define IDirectMusicPerformance8_Init(p,a,b,c)                         (p)->lpVtbl->Init(p,a,b,c) | 
 
 
 
 
 | 1378 | #define IDirectMusicPerformance8_PlaySegment(p,a,b,c,d)                (p)->lpVtbl->PlaySegment(p,a,b,c,d) | 
 
 
 
 
 | 1379 | #define IDirectMusicPerformance8_Stop(p,a,b,c,d)                       (p)->lpVtbl->Stop(p,a,b,c,d) | 
 
 
 
 
 | 1380 | #define IDirectMusicPerformance8_GetSegmentState(p,a,b)                (p)->lpVtbl->GetSegmentState(p,a,b) | 
 
 
 
 
 | 1381 | #define IDirectMusicPerformance8_SetPrepareTime(p,a)                   (p)->lpVtbl->SetPrepareTime(p,a) | 
 
 
 
 
 | 1382 | #define IDirectMusicPerformance8_GetPrepareTime(p,a)                   (p)->lpVtbl->GetPrepareTime(p,a) | 
 
 
 
 
 | 1383 | #define IDirectMusicPerformance8_SetBumperLength(p,a)                  (p)->lpVtbl->SetBumperLength(p,a) | 
 
 
 
 
 | 1384 | #define IDirectMusicPerformance8_GetBumperLength(p,a)                  (p)->lpVtbl->GetBumperLength(p,a) | 
 
 
 
 
 | 1385 | #define IDirectMusicPerformance8_SendPMsg(p,a)                         (p)->lpVtbl->SendPMsg(p,a) | 
 
 
 
 
 | 1386 | #define IDirectMusicPerformance8_MusicToReferenceTime(p,a,b)           (p)->lpVtbl->MusicToReferenceTime(p,a,b) | 
 
 
 
 
 | 1387 | #define IDirectMusicPerformance8_ReferenceToMusicTime(p,a,b)           (p)->lpVtbl->ReferenceToMusicTime(p,a,b) | 
 
 
 
 
 | 1388 | #define IDirectMusicPerformance8_IsPlaying(p,a,b)                      (p)->lpVtbl->IsPlaying(p,a,b) | 
 
 
 
 
 | 1389 | #define IDirectMusicPerformance8_GetTime(p,a,b)                        (p)->lpVtbl->GetTime(p,a,b) | 
 
 
 
 
 | 1390 | #define IDirectMusicPerformance8_AllocPMsg(p,a,b)                      (p)->lpVtbl->AllocPMsg(p,a,b) | 
 
 
 
 
 | 1391 | #define IDirectMusicPerformance8_FreePMsg(p,a)                         (p)->lpVtbl->FreePMsg(p,a) | 
 
 
 
 
 | 1392 | #define IDirectMusicPerformance8_GetGraph(p,a)                         (p)->lpVtbl->GetGraph(p,a) | 
 
 
 
 
 | 1393 | #define IDirectMusicPerformance8_SetGraph(p,a)                         (p)->lpVtbl->SetGraph(p,a) | 
 
 
 
 
 | 1394 | #define IDirectMusicPerformance8_SetNotificationHandle(p,a,b)          (p)->lpVtbl->SetNotificationHandle(p,a,b) | 
 
 
 
 
 | 1395 | #define IDirectMusicPerformance8_GetNotificationPMsg(p,a)              (p)->lpVtbl->GetNotificationPMsg(p,a) | 
 
 
 
 
 | 1396 | #define IDirectMusicPerformance8_AddNotificationType(p,a)              (p)->lpVtbl->AddNotificationType(p,a) | 
 
 
 
 
 | 1397 | #define IDirectMusicPerformance8_RemoveNotificationType(p,a)           (p)->lpVtbl->RemoveNotificationType(p,a) | 
 
 
 
 
 | 1398 | #define IDirectMusicPerformance8_AddPort(p,a)                          (p)->lpVtbl->AddPort(p,a) | 
 
 
 
 
 | 1399 | #define IDirectMusicPerformance8_RemovePort(p,a)                       (p)->lpVtbl->RemovePort(p,a) | 
 
 
 
 
 | 1400 | #define IDirectMusicPerformance8_AssignPChannelBlock(p,a,b,c)          (p)->lpVtbl->AssignPChannelBlock(p,a,b,c) | 
 
 
 
 
 | 1401 | #define IDirectMusicPerformance8_AssignPChannel(p,a,b,c,d)             (p)->lpVtbl->AssignPChannel(p,a,b,c,d) | 
 
 
 
 
 | 1402 | #define IDirectMusicPerformance8_PChannelInfo(p,a,b,c,d)               (p)->lpVtbl->PChannelInfo(p,a,b,c,d) | 
 
 
 
 
 | 1403 | #define IDirectMusicPerformance8_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h) | 
 
 
 
 
 | 1404 | #define IDirectMusicPerformance8_Invalidate(p,a,b)                     (p)->lpVtbl->Invalidate(p,a,b) | 
 
 
 
 
 | 1405 | #define IDirectMusicPerformance8_GetParam(p,a,b,c,d,e,f)               (p)->lpVtbl->GetParam(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1406 | #define IDirectMusicPerformance8_SetParam(p,a,b,c,d,e)                 (p)->lpVtbl->SetParam(p,a,b,c,d,e) | 
 
 
 
 
 | 1407 | #define IDirectMusicPerformance8_GetGlobalParam(p,a,b,c)               (p)->lpVtbl->GetGlobalParam(p,a,b,c) | 
 
 
 
 
 | 1408 | #define IDirectMusicPerformance8_SetGlobalParam(p,a,b,c)               (p)->lpVtbl->SetGlobalParam(p,a,b,c) | 
 
 
 
 
 | 1409 | #define IDirectMusicPerformance8_GetLatencyTime(p,a)                   (p)->lpVtbl->GetLatencyTime(p,a) | 
 
 
 
 
 | 1410 | #define IDirectMusicPerformance8_GetQueueTime(p,a)                     (p)->lpVtbl->GetQueueTime(p,a) | 
 
 
 
 
 | 1411 | #define IDirectMusicPerformance8_AdjustTime(p,a)                       (p)->lpVtbl->AdjustTime(p,a) | 
 
 
 
 
 | 1412 | #define IDirectMusicPerformance8_CloseDown(p)                          (p)->lpVtbl->CloseDown(p) | 
 
 
 
 
 | 1413 | #define IDirectMusicPerformance8_GetResolvedTime(p,a,b,c)              (p)->lpVtbl->GetResolvedTime(p,a,b,c) | 
 
 
 
 
 | 1414 | #define IDirectMusicPerformance8_MIDIToMusic(p,a,b,c,d,e)              (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e) | 
 
 
 
 
 | 1415 | #define IDirectMusicPerformance8_MusicToMIDI(p,a,b,c,d,e)              (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e) | 
 
 
 
 
 | 1416 | #define IDirectMusicPerformance8_TimeToRhythm(p,a,b,c,d,e,f)           (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1417 | #define IDirectMusicPerformance8_RhythmToTime(p,a,b,c,d,e,f)           (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1418 | /*  IDirectMusicPerformance8 methods*/ | 
 
 
 
 
 | 1419 | #define IDirectMusicPerformance8_InitAudio(p,a,b,c,d,e,f,g)            (p)->lpVtbl->InitAudio(p,a,b,c,d,e,f,g) | 
 
 
 
 
 | 1420 | #define IDirectMusicPerformance8_PlaySegmentEx(p,a,b,c,d,e,f,g,h)      (p)->lpVtbl->PlaySegmentEx(p,a,b,c,d,e,f,g,h) | 
 
 
 
 
 | 1421 | #define IDirectMusicPerformance8_StopEx(p,a,b,c)                       (p)->lpVtbl->StopEx(p,a,b,c) | 
 
 
 
 
 | 1422 | #define IDirectMusicPerformance8_ClonePMsg(p,a,b)                      (p)->lpVtbl->ClonePMsg(p,a,b) | 
 
 
 
 
 | 1423 | #define IDirectMusicPerformance8_CreateAudioPath(p,a,b,c)              (p)->lpVtbl->CreateAudioPath(p,a,b,c) | 
 
 
 
 
 | 1424 | #define IDirectMusicPerformance8_CreateStandardAudioPath(p,a,b,c,d)    (p)->lpVtbl->CreateStandardAudioPath(p,a,b,c,d) | 
 
 
 
 
 | 1425 | #define IDirectMusicPerformance8_SetDefaultAudioPath(p,a)              (p)->lpVtbl->SetDefaultAudioPath(p,a) | 
 
 
 
 
 | 1426 | #define IDirectMusicPerformance8_GetDefaultAudioPath(p,a)              (p)->lpVtbl->GetDefaultAudioPath(p,a) | 
 
 
 
 
 | 1427 | #define IDirectMusicPerformance8_GetParamEx(p,a,b,c,d,e,f,g)           (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f,g) | 
 
 
 
 
 | 1428 | #endif | 
 
 
 
 
 | 1429 |  | 
 
 
 
 
 | 1430 |  | 
 
 
 
 
 | 1431 | /***************************************************************************** | 
 
 
 
 
 | 1432 | * IDirectMusicGraph interface | 
 
 
 
 
 | 1433 | */ | 
 
 
 
 
 | 1434 | #define INTERFACE IDirectMusicGraph | 
 
 
 
 
 | 1435 | DECLARE_INTERFACE_(IDirectMusicGraph,IUnknown) | 
 
 
 
 
 | 1436 | { | 
 
 
 
 
 | 1437 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1438 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1439 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1440 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1441 | /*** IDirectMusicGraph methods ***/ | 
 
 
 
 
 | 1442 | STDMETHOD(StampPMsg)(THIS_ DMUS_PMSG *pPMSG) PURE; | 
 
 
 
 
 | 1443 | STDMETHOD(InsertTool)(THIS_ IDirectMusicTool *pTool, DWORD *pdwPChannels, DWORD cPChannels, LONG lIndex) PURE; | 
 
 
 
 
 | 1444 | STDMETHOD(GetTool)(THIS_ DWORD dwIndex, IDirectMusicTool **ppTool) PURE; | 
 
 
 
 
 | 1445 | STDMETHOD(RemoveTool)(THIS_ IDirectMusicTool *pTool) PURE; | 
 
 
 
 
 | 1446 | }; | 
 
 
 
 
 | 1447 | #undef INTERFACE | 
 
 
 
 
 | 1448 |  | 
 
 
 
 
 | 1449 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1450 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1451 | #define IDirectMusicGraph_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1452 | #define IDirectMusicGraph_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1453 | #define IDirectMusicGraph_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1454 | /*** IDirectMusicGraph methods ***/ | 
 
 
 
 
 | 1455 | #define IDirectMusicGraph_StampPMsg(p,a)        (p)->lpVtbl->StampPMsg(p,a) | 
 
 
 
 
 | 1456 | #define IDirectMusicGraph_InsertTool(p,a,b,c,d) (p)->lpVtbl->InsertTool(p,a,b,c,d) | 
 
 
 
 
 | 1457 | #define IDirectMusicGraph_GetTool(p,a,b)        (p)->lpVtbl->GetTool(p,a,b) | 
 
 
 
 
 | 1458 | #define IDirectMusicGraph_RemoveTool(p,a)       (p)->lpVtbl->RemoveTool(p,a) | 
 
 
 
 
 | 1459 | #endif | 
 
 
 
 
 | 1460 |  | 
 
 
 
 
 | 1461 |  | 
 
 
 
 
 | 1462 | /***************************************************************************** | 
 
 
 
 
 | 1463 | * IDirectMusicStyle interface | 
 
 
 
 
 | 1464 | */ | 
 
 
 
 
 | 1465 | #define INTERFACE IDirectMusicStyle | 
 
 
 
 
 | 1466 | DECLARE_INTERFACE_(IDirectMusicStyle,IUnknown) | 
 
 
 
 
 | 1467 | { | 
 
 
 
 
 | 1468 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1469 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1470 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1471 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1472 | /*** IDirectMusicStyle methods ***/ | 
 
 
 
 
 | 1473 | STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE; | 
 
 
 
 
 | 1474 | STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1475 | STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE; | 
 
 
 
 
 | 1476 | STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1477 | STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1478 | STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE; | 
 
 
 
 
 | 1479 | STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1480 | STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE; | 
 
 
 
 
 | 1481 | STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE; | 
 
 
 
 
 | 1482 | STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE; | 
 
 
 
 
 | 1483 | STDMETHOD(GetTempo)(THIS_ double *pTempo) PURE; | 
 
 
 
 
 | 1484 | }; | 
 
 
 
 
 | 1485 | #undef INTERFACE | 
 
 
 
 
 | 1486 |  | 
 
 
 
 
 | 1487 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1488 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1489 | #define IDirectMusicStyle_QueryInterface(p,a,b)             (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1490 | #define IDirectMusicStyle_AddRef(p)                         (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1491 | #define IDirectMusicStyle_Release(p)                        (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1492 | /*** IDirectMusicStyle methods ***/ | 
 
 
 
 
 | 1493 | #define IDirectMusicStyle_GetBand(p,a,b)                    (p)->lpVtbl->GetBand(p,a,b) | 
 
 
 
 
 | 1494 | #define IDirectMusicStyle_EnumBand(p,a,b)                   (p)->lpVtbl->EnumBand(p,a,b) | 
 
 
 
 
 | 1495 | #define IDirectMusicStyle_GetDefaultBand(p,a)               (p)->lpVtbl->GetDefaultBand(p,a) | 
 
 
 
 
 | 1496 | #define IDirectMusicStyle_EnumMotif(p,a,b)                  (p)->lpVtbl->EnumMotif(p,a,b) | 
 
 
 
 
 | 1497 | #define IDirectMusicStyle_GetMotif(p,a,b)                   (p)->lpVtbl->GetMotif(p,a,b) | 
 
 
 
 
 | 1498 | #define IDirectMusicStyle_GetDefaultChordMap(p,a)           (p)->lpVtbl->GetDefaultChordMap(p,a) | 
 
 
 
 
 | 1499 | #define IDirectMusicStyle_EnumChordMap(p,a,b)               (p)->lpVtbl->EnumChordMap(p,a,b) | 
 
 
 
 
 | 1500 | #define IDirectMusicStyle_GetChordMap(p,a,b)                (p)->lpVtbl->GetChordMap(p,a,b) | 
 
 
 
 
 | 1501 | #define IDirectMusicStyle_GetTimeSignature(p,a)             (p)->lpVtbl->GetTimeSignature(p,a) | 
 
 
 
 
 | 1502 | #define IDirectMusicStyle_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d) | 
 
 
 
 
 | 1503 | #define IDirectMusicStyle_GetTempo(p,a)                     (p)->lpVtbl->GetTempo(p,a) | 
 
 
 
 
 | 1504 | #endif | 
 
 
 
 
 | 1505 |  | 
 
 
 
 
 | 1506 |  | 
 
 
 
 
 | 1507 | /***************************************************************************** | 
 
 
 
 
 | 1508 | * IDirectMusicStyle8 interface | 
 
 
 
 
 | 1509 | */ | 
 
 
 
 
 | 1510 | #define INTERFACE IDirectMusicStyle8 | 
 
 
 
 
 | 1511 | DECLARE_INTERFACE_(IDirectMusicStyle8,IDirectMusicStyle) | 
 
 
 
 
 | 1512 | { | 
 
 
 
 
 | 1513 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1514 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1515 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1516 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1517 | /*** IDirectMusicStyle methods ***/ | 
 
 
 
 
 | 1518 | STDMETHOD(GetBand)(THIS_ WCHAR *pwszName, IDirectMusicBand **ppBand) PURE; | 
 
 
 
 
 | 1519 | STDMETHOD(EnumBand)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1520 | STDMETHOD(GetDefaultBand)(THIS_ IDirectMusicBand **ppBand) PURE; | 
 
 
 
 
 | 1521 | STDMETHOD(EnumMotif)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1522 | STDMETHOD(GetMotif)(THIS_ WCHAR *pwszName, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1523 | STDMETHOD(GetDefaultChordMap)(THIS_ struct IDirectMusicChordMap **ppChordMap) PURE; | 
 
 
 
 
 | 1524 | STDMETHOD(EnumChordMap)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1525 | STDMETHOD(GetChordMap)(THIS_ WCHAR *pwszName, struct IDirectMusicChordMap **ppChordMap) PURE; | 
 
 
 
 
 | 1526 | STDMETHOD(GetTimeSignature)(THIS_ DMUS_TIMESIGNATURE *pTimeSig) PURE; | 
 
 
 
 
 | 1527 | STDMETHOD(GetEmbellishmentLength)(THIS_ DWORD dwType, DWORD dwLevel, DWORD *pdwMin, DWORD *pdwMax) PURE; | 
 
 
 
 
 | 1528 | STDMETHOD(GetTempo)(THIS_ double *pTempo) PURE; | 
 
 
 
 
 | 1529 | /*** IDirectMusicStyle8 methods ***/ | 
 
 
 
 
 | 1530 | STDMETHOD(EnumPattern)(THIS_ DWORD dwIndex, DWORD dwPatternType, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1531 | }; | 
 
 
 
 
 | 1532 | #undef INTERFACE | 
 
 
 
 
 | 1533 |  | 
 
 
 
 
 | 1534 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1535 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1536 | #define IDirectMusicStyle8_QueryInterface(p,a,b)             (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1537 | #define IDirectMusicStyle8_AddRef(p)                         (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1538 | #define IDirectMusicStyle8_Release(p)                        (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1539 | /*** IDirectMusicStyle methods ***/ | 
 
 
 
 
 | 1540 | #define IDirectMusicStyle8_GetBand(p,a,b)                    (p)->lpVtbl->GetBand(p,a,b) | 
 
 
 
 
 | 1541 | #define IDirectMusicStyle8_EnumBand(p,a,b)                   (p)->lpVtbl->EnumBand(p,a,b) | 
 
 
 
 
 | 1542 | #define IDirectMusicStyle8_GetDefaultBand(p,a)               (p)->lpVtbl->GetDefaultBand(p,a) | 
 
 
 
 
 | 1543 | #define IDirectMusicStyle8_EnumMotif(p,a,b)                  (p)->lpVtbl->EnumMotif(p,a,b) | 
 
 
 
 
 | 1544 | #define IDirectMusicStyle8_GetMotif(p,a,b)                   (p)->lpVtbl->GetMotif(p,a,b) | 
 
 
 
 
 | 1545 | #define IDirectMusicStyle8_GetDefaultChordMap(p,a)           (p)->lpVtbl->GetDefaultChordMap(p,a) | 
 
 
 
 
 | 1546 | #define IDirectMusicStyle8_EnumChordMap(p,a,b)               (p)->lpVtbl->EnumChordMap(p,a,b) | 
 
 
 
 
 | 1547 | #define IDirectMusicStyle8_GetChordMap(p,a,b)                (p)->lpVtbl->GetChordMap(p,a,b) | 
 
 
 
 
 | 1548 | #define IDirectMusicStyle8_GetTimeSignature(p,a)             (p)->lpVtbl->GetTimeSignature(p,a) | 
 
 
 
 
 | 1549 | #define IDirectMusicStyle8_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d) | 
 
 
 
 
 | 1550 | #define IDirectMusicStyle8_GetTempo(p,a)                     (p)->lpVtbl->GetTempo(p,a) | 
 
 
 
 
 | 1551 | /*** IDirectMusicStyle8 methods ***/ | 
 
 
 
 
 | 1552 | #define IDirectMusicStyle8_EnumPattern(p,a,b,c)              (p)->lpVtbl->EnumPattern(p,a,b,c) | 
 
 
 
 
 | 1553 | #endif | 
 
 
 
 
 | 1554 |  | 
 
 
 
 
 | 1555 |  | 
 
 
 
 
 | 1556 | /***************************************************************************** | 
 
 
 
 
 | 1557 | * IDirectMusicChordMap interface | 
 
 
 
 
 | 1558 | */ | 
 
 
 
 
 | 1559 | #define INTERFACE IDirectMusicChordMap | 
 
 
 
 
 | 1560 | DECLARE_INTERFACE_(IDirectMusicChordMap,IUnknown) | 
 
 
 
 
 | 1561 | { | 
 
 
 
 
 | 1562 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1563 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1564 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1565 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1566 | /*** IDirectMusicChordMap methods ***/ | 
 
 
 
 
 | 1567 | STDMETHOD(GetScale)(THIS_ DWORD *pdwScale) PURE; | 
 
 
 
 
 | 1568 | }; | 
 
 
 
 
 | 1569 | #undef INTERFACE | 
 
 
 
 
 | 1570 |  | 
 
 
 
 
 | 1571 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1572 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1573 | #define IDirectMusicChordMap_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1574 | #define IDirectMusicChordMap_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1575 | #define IDirectMusicChordMap_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1576 | /*** IDirectMusicChordMap methods ***/ | 
 
 
 
 
 | 1577 | #define IDirectMusicChordMap_GetScale(p,a)         (p)->lpVtbl->GetScale(p,a) | 
 
 
 
 
 | 1578 | #endif | 
 
 
 
 
 | 1579 |  | 
 
 
 
 
 | 1580 |  | 
 
 
 
 
 | 1581 | /***************************************************************************** | 
 
 
 
 
 | 1582 | * IDirectMusicComposer interface | 
 
 
 
 
 | 1583 | */ | 
 
 
 
 
 | 1584 | #define INTERFACE IDirectMusicComposer | 
 
 
 
 
 | 1585 | DECLARE_INTERFACE_(IDirectMusicComposer,IUnknown) | 
 
 
 
 
 | 1586 | { | 
 
 
 
 
 | 1587 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1588 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1589 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1590 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1591 | /*** IDirectMusicComposer methods ***/ | 
 
 
 
 
 | 1592 | STDMETHOD(ComposeSegmentFromTemplate)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment *pTemplate, WORD wActivity, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1593 | STDMETHOD(ComposeSegmentFromShape)(THIS_ IDirectMusicStyle *pStyle, WORD wNumMeasures, WORD wShape, WORD wActivity, WINBOOL fIntro, WINBOOL fEnd, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1594 | STDMETHOD(ComposeTransition)(THIS_ IDirectMusicSegment *pFromSeg, IDirectMusicSegment *pToSeg, MUSIC_TIME mtTime, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg) PURE; | 
 
 
 
 
 | 1595 | STDMETHOD(AutoTransition)(THIS_ IDirectMusicPerformance *pPerformance, IDirectMusicSegment *pToSeg, WORD wCommand, DWORD dwFlags, IDirectMusicChordMap *pChordMap, IDirectMusicSegment **ppTransSeg, IDirectMusicSegmentState **ppToSegState, IDirectMusicSegmentState **ppTransSegState) PURE; | 
 
 
 
 
 | 1596 | STDMETHOD(ComposeTemplateFromShape)(THIS_ WORD wNumMeasures, WORD wShape, WINBOOL fIntro, WINBOOL fEnd, WORD wEndLength, IDirectMusicSegment **ppTemplate) PURE; | 
 
 
 
 
 | 1597 | STDMETHOD(ChangeChordMap)(THIS_ IDirectMusicSegment *pSegment, WINBOOL fTrackScale, IDirectMusicChordMap *pChordMap) PURE; | 
 
 
 
 
 | 1598 | }; | 
 
 
 
 
 | 1599 | #undef INTERFACE | 
 
 
 
 
 | 1600 |  | 
 
 
 
 
 | 1601 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1602 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1603 | #define IDirectMusicComposer_QueryInterface(p,a,b)                      (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1604 | #define IDirectMusicComposer_AddRef(p)                                  (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1605 | #define IDirectMusicComposer_Release(p)                                 (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1606 | /*** IDirectMusicComposer methods ***/ | 
 
 
 
 
 | 1607 | #define IDirectMusicComposer_ComposeSegmentFromTemplate(p,a,b,c,d,e)    (p)->lpVtbl->ComposeSegmentFromTemplate(p,a,b,c,d,e) | 
 
 
 
 
 | 1608 | #define IDirectMusicComposer_ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) | 
 
 
 
 
 | 1609 | #define IDirectMusicComposer_ComposeTransition(p,a,b,c,d,e,f,g)         (p)->lpVtbl->ComposeTransition(p,a,b,c,d,e,f,g) | 
 
 
 
 
 | 1610 | #define IDirectMusicComposer_AutoTransition(p,a,b,c,d,e,f,g,h)          (p)->lpVtbl->AutoTransition(p,a,b,c,d,e,f,g,h) | 
 
 
 
 
 | 1611 | #define IDirectMusicComposer_ComposeTemplateFromShape(p,a,b,c,d,e,f)    (p)->lpVtbl->ComposeTemplateFromShape(p,a,b,c,d,e,f) | 
 
 
 
 
 | 1612 | #define IDirectMusicComposer_ChangeChordMap(p,a,b,c)                    (p)->lpVtbl->ChangeChordMap(p,a,b,c) | 
 
 
 
 
 | 1613 | #endif | 
 
 
 
 
 | 1614 |  | 
 
 
 
 
 | 1615 |  | 
 
 
 
 
 | 1616 | /***************************************************************************** | 
 
 
 
 
 | 1617 | * IDirectMusicPatternTrack interface | 
 
 
 
 
 | 1618 | */ | 
 
 
 
 
 | 1619 | #define INTERFACE IDirectMusicPatternTrack | 
 
 
 
 
 | 1620 | DECLARE_INTERFACE_(IDirectMusicPatternTrack,IUnknown) | 
 
 
 
 
 | 1621 | { | 
 
 
 
 
 | 1622 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1623 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1624 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1625 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1626 | /*** IDirectMusicPatternTrack methods ***/ | 
 
 
 
 
 | 1627 | STDMETHOD(CreateSegment)(THIS_ IDirectMusicStyle *pStyle, IDirectMusicSegment **ppSegment) PURE; | 
 
 
 
 
 | 1628 | STDMETHOD(SetVariation)(THIS_ IDirectMusicSegmentState *pSegState, DWORD dwVariationFlags, DWORD dwPart) PURE; | 
 
 
 
 
 | 1629 | STDMETHOD(SetPatternByName)(THIS_ IDirectMusicSegmentState *pSegState, WCHAR *wszName, IDirectMusicStyle *pStyle, DWORD dwPatternType, DWORD *pdwLength) PURE; | 
 
 
 
 
 | 1630 | }; | 
 
 
 
 
 | 1631 | #undef INTERFACE | 
 
 
 
 
 | 1632 |  | 
 
 
 
 
 | 1633 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1634 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1635 | #define IDirectMusicPatternTrack_QueryInterface(p,a,b)         (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1636 | #define IDirectMusicPatternTrack_AddRef(p)                     (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1637 | #define IDirectMusicPatternTrack_Release(p)                    (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1638 | /*** IDirectMusicPatternTrack methods ***/ | 
 
 
 
 
 | 1639 | #define IDirectMusicPatternTrack_CreateSegment(p,a,b)          (p)->lpVtbl->CreateSegment(p,a,b) | 
 
 
 
 
 | 1640 | #define IDirectMusicPatternTrack_SetVariation(p,a,b,c)         (p)->lpVtbl->SetVariation(p,a,b,c) | 
 
 
 
 
 | 1641 | #define IDirectMusicPatternTrack_SetPatternByName(p,a,b,c,d,e) (p)->lpVtbl->SetPatternByName(p,a,b,c,d,e) | 
 
 
 
 
 | 1642 | #endif | 
 
 
 
 
 | 1643 |  | 
 
 
 
 
 | 1644 |  | 
 
 
 
 
 | 1645 | /***************************************************************************** | 
 
 
 
 
 | 1646 | * IDirectMusicScript interface | 
 
 
 
 
 | 1647 | */ | 
 
 
 
 
 | 1648 | #define INTERFACE IDirectMusicScript | 
 
 
 
 
 | 1649 | DECLARE_INTERFACE_(IDirectMusicScript,IUnknown) | 
 
 
 
 
 | 1650 | { | 
 
 
 
 
 | 1651 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1652 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1653 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1654 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1655 | /*** IDirectMusicScript methods ***/ | 
 
 
 
 
 | 1656 | STDMETHOD(Init)(THIS_ IDirectMusicPerformance *pPerformance, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1657 | STDMETHOD(CallRoutine)(THIS_ WCHAR *pwszRoutineName, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1658 | STDMETHOD(SetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT varValue, WINBOOL fSetRef, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1659 | STDMETHOD(GetVariableVariant)(THIS_ WCHAR *pwszVariableName, VARIANT *pvarValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1660 | STDMETHOD(SetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG lValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1661 | STDMETHOD(GetVariableNumber)(THIS_ WCHAR *pwszVariableName, LONG *plValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1662 | STDMETHOD(SetVariableObject)(THIS_ WCHAR *pwszVariableName, IUnknown *punkValue, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1663 | STDMETHOD(GetVariableObject)(THIS_ WCHAR *pwszVariableName, REFIID riid, LPVOID *ppv, DMUS_SCRIPT_ERRORINFO *pErrorInfo) PURE; | 
 
 
 
 
 | 1664 | STDMETHOD(EnumRoutine)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1665 | STDMETHOD(EnumVariable)(THIS_ DWORD dwIndex, WCHAR *pwszName) PURE; | 
 
 
 
 
 | 1666 | }; | 
 
 
 
 
 | 1667 | #undef INTERFACE | 
 
 
 
 
 | 1668 |  | 
 
 
 
 
 | 1669 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1670 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1671 | #define IDirectMusicScript_QueryInterface(p,a,b)               (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1672 | #define IDirectMusicScript_AddRef(p)                           (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1673 | #define IDirectMusicScript_Release(p)                          (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1674 | /*** IDirectMusicScript methods ***/ | 
 
 
 
 
 | 1675 | #define IDirectMusicPatternTrack_Init(p,a,b)                   (p)->lpVtbl->Init(p,a,b) | 
 
 
 
 
 | 1676 | #define IDirectMusicPatternTrack_CallRoutine(p,a,b)            (p)->lpVtbl->CallRoutine(p,a,b) | 
 
 
 
 
 | 1677 | #define IDirectMusicPatternTrack_SetVariableVariant(p,a,b,c,d) (p)->lpVtbl->SetVariableVariant(p,a,b,c,d) | 
 
 
 
 
 | 1678 | #define IDirectMusicPatternTrack_GetVariableVariant(p,a,b,c)   (p)->lpVtbl->GetVariableVariant(p,a,b,c) | 
 
 
 
 
 | 1679 | #define IDirectMusicPatternTrack_SetVariableNumber(p,a,b,c)    (p)->lpVtbl->SetVariableNumber(p,a,b,c) | 
 
 
 
 
 | 1680 | #define IDirectMusicPatternTrack_GetVariableNumber(p,a,b,c)    (p)->lpVtbl->GetVariableNumber(p,a,b,c) | 
 
 
 
 
 | 1681 | #define IDirectMusicPatternTrack_SetVariableObject(p,a,b,c)    (p)->lpVtbl->SetVariableObject(p,a,b,c) | 
 
 
 
 
 | 1682 | #define IDirectMusicPatternTrack_GetVariableObject(p,a,b,c,d)  (p)->lpVtbl->GetVariableObject(p,a,b,c,d) | 
 
 
 
 
 | 1683 | #define IDirectMusicPatternTrack_EnumRoutine(p,a,b)            (p)->lpVtbl->EnumRoutine(p,a,b) | 
 
 
 
 
 | 1684 | #define IDirectMusicPatternTrack_EnumVariable(p,a,b)           (p)->lpVtbl->EnumVariable(p,a,b) | 
 
 
 
 
 | 1685 | #endif | 
 
 
 
 
 | 1686 |  | 
 
 
 
 
 | 1687 |  | 
 
 
 
 
 | 1688 | /***************************************************************************** | 
 
 
 
 
 | 1689 | * IDirectMusicContainer interface | 
 
 
 
 
 | 1690 | */ | 
 
 
 
 
 | 1691 | #define INTERFACE IDirectMusicContainer | 
 
 
 
 
 | 1692 | DECLARE_INTERFACE_(IDirectMusicContainer,IUnknown) | 
 
 
 
 
 | 1693 | { | 
 
 
 
 
 | 1694 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1695 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 
 
 
 
 
 | 1696 | STDMETHOD_(ULONG,AddRef)(THIS) PURE; | 
 
 
 
 
 | 1697 | STDMETHOD_(ULONG,Release)(THIS) PURE; | 
 
 
 
 
 | 1698 | /*** IDirectMusicContainer methods ***/ | 
 
 
 
 
 | 1699 | STDMETHOD(EnumObject)(THIS_ REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc, WCHAR *pwszAlias) PURE; | 
 
 
 
 
 | 1700 | }; | 
 
 
 
 
 | 1701 | #undef INTERFACE | 
 
 
 
 
 | 1702 |  | 
 
 
 
 
 | 1703 | #if !defined(__cplusplus) || defined(CINTERFACE) | 
 
 
 
 
 | 1704 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 1705 | #define IDirectMusicContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) | 
 
 
 
 
 | 1706 | #define IDirectMusicContainer_AddRef(p)             (p)->lpVtbl->AddRef(p) | 
 
 
 
 
 | 1707 | #define IDirectMusicContainer_Release(p)            (p)->lpVtbl->Release(p) | 
 
 
 
 
 | 1708 | /*** IDirectMusicContainer methods ***/ | 
 
 
 
 
 | 1709 | #define IDirectMusicContainer_EnumObject(p,a,b,c,d) (p)->lpVtbl->EnumObject(p,a,b,c,d) | 
 
 
 
 
 | 1710 | #endif | 
 
 
 
 
 | 1711 |  | 
 
 
 
 
 | 1712 |  | 
 
 
 
 
 | 1713 | #ifdef __cplusplus | 
 
 
 
 
 | 1714 | } | 
 
 
 
 
 | 1715 | #endif | 
 
 
 
 
 | 1716 |  | 
 
 
 
 
 | 1717 | #include <poppack.h> | 
 
 
 
 
 | 1718 |  | 
 
 
 
 
 | 1719 | #endif /* __WINE_DMUSIC_PERFORMANCE_H */ |