2003-07-22 00:10:14 +02:00
|
|
|
/* DirectMusicInteractiveEngine Private Include
|
|
|
|
*
|
2004-01-20 01:21:40 +01:00
|
|
|
* Copyright (C) 2003-2004 Rok Mandeljc
|
2003-07-22 00:10:14 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_DMIME_PRIVATE_H
|
|
|
|
#define __WINE_DMIME_PRIVATE_H
|
|
|
|
|
2004-02-25 02:30:03 +01:00
|
|
|
#include <stdio.h>
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
2004-02-25 02:30:03 +01:00
|
|
|
#include <string.h>
|
2003-09-06 01:08:26 +02:00
|
|
|
|
2004-08-11 21:43:45 +02:00
|
|
|
#define COBJMACROS
|
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winnt.h"
|
2003-09-06 01:08:26 +02:00
|
|
|
#include "wingdi.h"
|
2004-01-20 01:21:40 +01:00
|
|
|
#include "winuser.h"
|
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
#include "wine/list.h"
|
|
|
|
#include "wine/unicode.h"
|
|
|
|
#include "winreg.h"
|
2004-08-22 23:38:46 +02:00
|
|
|
#include "objbase.h"
|
2004-01-20 01:21:40 +01:00
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
#include "dmusici.h"
|
|
|
|
#include "dmusicf.h"
|
2004-01-20 01:21:40 +01:00
|
|
|
#include "dmusics.h"
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* Interfaces
|
|
|
|
*/
|
|
|
|
typedef struct IDirectMusicPerformance8Impl IDirectMusicPerformance8Impl;
|
|
|
|
typedef struct IDirectMusicSegment8Impl IDirectMusicSegment8Impl;
|
|
|
|
typedef struct IDirectMusicSegmentState8Impl IDirectMusicSegmentState8Impl;
|
|
|
|
typedef struct IDirectMusicGraphImpl IDirectMusicGraphImpl;
|
|
|
|
typedef struct IDirectMusicAudioPathImpl IDirectMusicAudioPathImpl;
|
|
|
|
typedef struct IDirectMusicTool8Impl IDirectMusicTool8Impl;
|
|
|
|
typedef struct IDirectMusicPatternTrackImpl IDirectMusicPatternTrackImpl;
|
|
|
|
|
2003-08-23 01:53:27 +02:00
|
|
|
typedef struct IDirectMusicLyricsTrack IDirectMusicLyricsTrack;
|
|
|
|
typedef struct IDirectMusicMarkerTrack IDirectMusicMarkerTrack;
|
|
|
|
typedef struct IDirectMusicParamControlTrack IDirectMusicParamControlTrack;
|
|
|
|
typedef struct IDirectMusicSegTriggerTrack IDirectMusicSegTriggerTrack;
|
|
|
|
typedef struct IDirectMusicSeqTrack IDirectMusicSeqTrack;
|
|
|
|
typedef struct IDirectMusicSysExTrack IDirectMusicSysExTrack;
|
|
|
|
typedef struct IDirectMusicTempoTrack IDirectMusicTempoTrack;
|
|
|
|
typedef struct IDirectMusicTimeSigTrack IDirectMusicTimeSigTrack;
|
|
|
|
typedef struct IDirectMusicWaveTrack IDirectMusicWaveTrack;
|
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* ClassFactory
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentStateImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicGraphImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicAudioPathImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicToolImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicPatternTrackImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicLyricsTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicMarkerTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicParamControlTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegTriggerTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSeqTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSysExTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicTempoTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicTimeSigTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicWaveTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter);
|
|
|
|
|
2003-08-23 01:53:27 +02:00
|
|
|
|
2004-05-14 23:36:15 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* Auxiliary definitions
|
|
|
|
*/
|
|
|
|
typedef struct _DMUS_PRIVATE_SEGMENT_TRACK {
|
|
|
|
struct list entry; /* for listing elements */
|
|
|
|
DWORD dwGroupBits;
|
|
|
|
IDirectMusicTrack* pTrack;
|
|
|
|
} DMUS_PRIVATE_SEGMENT_TRACK, *LPDMUS_PRIVATE_SEGMENT_TRACK;
|
|
|
|
|
2004-05-17 21:48:49 +02:00
|
|
|
typedef struct _DMUS_PRIVATE_TEMPO_ITEM {
|
|
|
|
struct list entry; /* for listing elements */
|
|
|
|
DMUS_IO_TEMPO_ITEM item;
|
|
|
|
} DMUS_PRIVATE_TEMPO_ITEM, *LPDMUS_PRIVATE_TEMPO_ITEM;
|
|
|
|
|
2004-05-19 06:32:43 +02:00
|
|
|
typedef struct _DMUS_PRIVATE_SEGMENT_ITEM {
|
|
|
|
struct list entry; /* for listing elements */
|
|
|
|
DMUS_IO_SEGMENT_ITEM_HEADER header;
|
|
|
|
IDirectMusicObject* pObject;
|
|
|
|
WCHAR wszName[DMUS_MAX_NAME];
|
|
|
|
} DMUS_PRIVATE_SEGMENT_ITEM, *LPDMUS_PRIVATE_SEGMENT_ITEM;
|
|
|
|
|
2004-05-20 03:15:30 +02:00
|
|
|
typedef struct _DMUS_PRIVATE_GRAPH_TOOL {
|
|
|
|
struct list entry; /* for listing elements */
|
|
|
|
DWORD dwIndex;
|
|
|
|
IDirectMusicTool* pTool;
|
|
|
|
} DMUS_PRIVATE_GRAPH_TOOL, *LPDMUS_PRIVATE_GRAPH_TOOL;
|
|
|
|
|
2004-05-19 06:32:43 +02:00
|
|
|
typedef struct _DMUS_PRIVATE_TEMPO_PLAY_STATE {
|
|
|
|
DWORD dummy;
|
|
|
|
} DMUS_PRIVATE_TEMPO_PLAY_STATE, *LPDMUS_PRIVATE_TEMPO_PLAY_STATE;
|
2004-05-17 21:48:49 +02:00
|
|
|
|
2004-01-03 01:58:08 +01:00
|
|
|
/* some sort of aux. performance channel: as far as i can understand, these are
|
|
|
|
used to represent a particular midi channel in particular group at particular
|
|
|
|
group; so all we need to do is to fill it with parent port, group and midi
|
|
|
|
channel ? */
|
2004-01-20 01:21:40 +01:00
|
|
|
typedef struct DMUSIC_PRIVATE_PCHANNEL_ {
|
2004-01-03 01:58:08 +01:00
|
|
|
DWORD channel; /* map to this channel... */
|
|
|
|
DWORD group; /* ... in this group ... */
|
|
|
|
IDirectMusicPort *port; /* ... at this port */
|
|
|
|
} DMUSIC_PRIVATE_PCHANNEL, *LPDMUSIC_PRIVATE_PCHANNEL;
|
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicPerformance8Impl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicPerformance8Impl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IDirectMusicPerformance8Vtbl *lpVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicPerformanceImpl fields */
|
|
|
|
IDirectMusic8* pDirectMusic;
|
|
|
|
IDirectSound* pDirectSound;
|
|
|
|
IDirectMusicGraph* pToolGraph;
|
|
|
|
DMUS_AUDIOPARAMS pParams;
|
|
|
|
|
|
|
|
/* global parameters */
|
|
|
|
BOOL fAutoDownload;
|
|
|
|
char cMasterGrooveLevel;
|
|
|
|
float fMasterTempo;
|
|
|
|
long lMasterVolume;
|
|
|
|
|
|
|
|
/* performance channels */
|
|
|
|
DMUSIC_PRIVATE_PCHANNEL PChannel[1];
|
|
|
|
|
|
|
|
/* IDirectMusicPerformance8Impl fields */
|
|
|
|
IDirectMusicAudioPath* pDefaultPath;
|
2004-05-05 03:32:55 +02:00
|
|
|
HANDLE hNotification;
|
|
|
|
REFERENCE_TIME rtMinimum;
|
2004-05-05 20:59:59 +02:00
|
|
|
|
2004-05-07 01:37:54 +02:00
|
|
|
REFERENCE_TIME rtLatencyTime;
|
|
|
|
DWORD dwBumperLength;
|
|
|
|
DWORD dwPrepareTime;
|
2004-05-05 20:59:59 +02:00
|
|
|
/** Message Processing */
|
|
|
|
HANDLE procThread;
|
2004-05-07 01:37:54 +02:00
|
|
|
DWORD procThreadId;
|
2004-05-05 20:59:59 +02:00
|
|
|
REFERENCE_TIME procThreadStartTime;
|
|
|
|
BOOL procThreadTicStarted;
|
2004-05-07 01:37:54 +02:00
|
|
|
CRITICAL_SECTION safe;
|
|
|
|
struct DMUS_PMSGItem* head;
|
|
|
|
struct DMUS_PMSGItem* imm_head;
|
2003-07-22 00:10:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicPerformance8Impl_QueryInterface (LPDIRECTMUSICPERFORMANCE8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicPerformance8Impl_AddRef (LPDIRECTMUSICPERFORMANCE8 iface);
|
|
|
|
/* IDirectMusicPerformance: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicPerformance8Impl_GetTime (LPDIRECTMUSICPERFORMANCE8 iface, REFERENCE_TIME* prtNow, MUSIC_TIME* pmtNow);
|
|
|
|
extern HRESULT WINAPI IDirectMusicPerformance8Impl_GetGraph (LPDIRECTMUSICPERFORMANCE8 iface, IDirectMusicGraph** ppGraph);
|
|
|
|
extern HRESULT WINAPI IDirectMusicPerformance8Impl_SetGraph (LPDIRECTMUSICPERFORMANCE8 iface, IDirectMusicGraph* pGraph);
|
|
|
|
/* IDirectMusicPerformance8: */
|
2004-05-05 03:32:55 +02:00
|
|
|
extern HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDIRECTMUSICPERFORMANCE8 iface, DWORD dwType, DWORD dwPChannelCount, BOOL fActivate, IDirectMusicAudioPath** ppNewPath);
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicSegment8Impl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicSegment8Impl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicSegment8Vtbl *SegmentVtbl;
|
|
|
|
const IDirectMusicObjectVtbl *ObjectVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicSegment8Impl fields */
|
2004-05-10 21:56:17 +02:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
|
|
|
DMUS_IO_SEGMENT_HEADER header;
|
2004-05-14 23:36:15 +02:00
|
|
|
IDirectMusicGraph* pGraph;
|
|
|
|
struct list Tracks;
|
2003-07-22 00:10:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSegment8Impl_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegment8Impl_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicSegment(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_QueryInterface (LPDIRECTMUSICSEGMENT8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_AddRef (LPDIRECTMUSICSEGMENT8 iface);
|
|
|
|
/* IDirectMusicObject: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_QueryInterface (LPDIRECTMUSICOBJECT iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_AddRef (LPDIRECTMUSICOBJECT iface);
|
|
|
|
/* IPersistStream: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSegment8Impl_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegment8Impl_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicSegmentState8Impl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicSegmentState8Impl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IDirectMusicSegmentState8Vtbl *lpVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicSegmentState8Impl fields */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSegmentState8Impl_QueryInterface (LPDIRECTMUSICSEGMENTSTATE8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegmentState8Impl_AddRef (LPDIRECTMUSICSEGMENTSTATE8 iface);
|
2004-01-20 01:21:40 +01:00
|
|
|
/* IDirectMusicSegmentState(8): */
|
2003-07-22 00:10:14 +02:00
|
|
|
extern HRESULT WINAPI IDirectMusicSegmentState8Impl_GetObjectInPath (LPDIRECTMUSICSEGMENTSTATE8 iface, DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, DWORD dwIndex, REFGUID iidInterface, void** ppObject);
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicGraphImpl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicGraphImpl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicGraphVtbl *GraphVtbl;
|
|
|
|
const IDirectMusicObjectVtbl *ObjectVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicGraphImpl fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2004-05-20 03:15:30 +02:00
|
|
|
WORD num_tools;
|
|
|
|
struct list Tools;
|
2003-07-22 00:10:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicGraphImpl_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicGraphImpl_IUnknown_AddRef (LPUNKNOWN iface);
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IDirectMusicGraph: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_QueryInterface (LPDIRECTMUSICGRAPH iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicGraphImpl_IDirectMusicGraph_AddRef (LPDIRECTMUSICGRAPH iface);
|
|
|
|
/* IDirectMusicObject: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicObject_QueryInterface (LPDIRECTMUSICOBJECT iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicGraphImpl_IDirectMusicObject_AddRef (LPDIRECTMUSICOBJECT iface);
|
|
|
|
/* IPersistStream: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicGraphImpl_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicGraphImpl_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicAudioPathImpl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicAudioPathImpl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicAudioPathVtbl *AudioPathVtbl;
|
|
|
|
const IDirectMusicObjectVtbl *ObjectVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicAudioPathImpl fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
IDirectMusicPerformance8* pPerf;
|
|
|
|
IDirectMusicGraph* pToolGraph;
|
|
|
|
IDirectSoundBuffer* pDSBuffer;
|
|
|
|
IDirectSoundBuffer* pPrimary;
|
2004-05-10 21:56:17 +02:00
|
|
|
|
|
|
|
BOOL fActive;
|
2003-07-22 00:10:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicAudioPathImpl_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicAudioPathImpl_IUnknown_AddRef (LPUNKNOWN iface);
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IDirectMusicAudioPath: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_QueryInterface (LPDIRECTMUSICAUDIOPATH iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_AddRef (LPDIRECTMUSICAUDIOPATH iface);
|
|
|
|
extern HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate (LPDIRECTMUSICAUDIOPATH iface, BOOL fActivate);
|
|
|
|
/* IDirectMusicObject: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_QueryInterface (LPDIRECTMUSICOBJECT iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_AddRef (LPDIRECTMUSICOBJECT iface);
|
|
|
|
/* IPersistStream: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicAudioPathImpl_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicAudioPathImpl_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicTool8Impl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicTool8Impl {
|
2003-07-22 00:10:14 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IDirectMusicTool8Vtbl *lpVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicTool8Impl fields */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicTool8Impl_QueryInterface (LPDIRECTMUSICTOOL8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicTool8Impl_AddRef (LPDIRECTMUSICTOOL8 iface);
|
|
|
|
|
|
|
|
/*****************************************************************************
|
2003-08-23 01:53:27 +02:00
|
|
|
* IDirectMusicPatternTrackImpl implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicPatternTrackImpl {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IDirectMusicPatternTrackVtbl *lpVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicPatternTrackImpl fields */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicPatternTrackImpl_QueryInterface (LPDIRECTMUSICPATTERNTRACK iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicPatternTrackImpl_AddRef (LPDIRECTMUSICPATTERNTRACK iface);
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicLyricsTrack implementation structure
|
|
|
|
*/
|
|
|
|
struct IDirectMusicLyricsTrack
|
2003-07-22 00:10:14 +02:00
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-07-22 00:10:14 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IDirectMusicLyricsTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-07-22 00:10:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicLyricsTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicLyricsTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicLyricsTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicLyricsTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicLyricsTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicLyricsTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicMarkerTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicMarkerTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicMarkerTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicMarkerTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicMarkerTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicMarkerTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicMarkerTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicMarkerTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicMarkerTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicParamControlTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicParamControlTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicParamControlTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicParamControlTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicParamControlTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicParamControlTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicParamControlTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicParamControlTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicParamControlTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicSegTriggerTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicSegTriggerTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicSegTriggerTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2004-05-19 06:32:43 +02:00
|
|
|
|
|
|
|
struct list Items;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSegTriggerTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegTriggerTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegTriggerTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSegTriggerTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicSegTriggerTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicSeqTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicSeqTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicSeqTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSeqTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSeqTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSeqTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSeqTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicSeqTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicSysExTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicSysExTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicSysExTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSysExTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSysExTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicSysExTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicSysExTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicSysExTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicTempoTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicTempoTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicTempoTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2004-05-17 21:48:49 +02:00
|
|
|
BOOL enabled;
|
|
|
|
struct list Items;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicTempoTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicTempoTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
|
|
|
extern HRESULT WINAPI IDirectMusicTempoTrack_IDirectMusicTrack_IsParamSupported (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicTempoTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicTempoTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IDirectMusicTimeSigTrack implementation structure
|
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicTimeSigTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
|
|
|
/* IDirectMusicTimeSigTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicTimeSigTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicTimeSigTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicTimeSigTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicTimeSigTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
|
|
|
/* IPersistStream: */
|
|
|
|
extern HRESULT WINAPI IDirectMusicTimeSigTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicTimeSigTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
2004-01-20 01:21:40 +01:00
|
|
|
* IDirectMusicWaveTrack implementation structure
|
2003-08-23 01:53:27 +02:00
|
|
|
*/
|
2004-01-20 01:21:40 +01:00
|
|
|
struct IDirectMusicWaveTrack {
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IUnknown fields */
|
2005-05-30 12:01:08 +02:00
|
|
|
const IUnknownVtbl *UnknownVtbl;
|
|
|
|
const IDirectMusicTrack8Vtbl *TrackVtbl;
|
|
|
|
const IPersistStreamVtbl *PersistStreamVtbl;
|
2003-08-23 01:53:27 +02:00
|
|
|
DWORD ref;
|
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
/* IDirectMusicWaveTrack fields */
|
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* IUnknown: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicWaveTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicWaveTrack_IUnknown_AddRef (LPUNKNOWN iface);
|
|
|
|
/* IDirectMusicTrack(8): */
|
|
|
|
extern HRESULT WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_QueryInterface (LPDIRECTMUSICTRACK8 iface, REFIID riid, LPVOID *ppobj);
|
|
|
|
extern ULONG WINAPI IDirectMusicWaveTrack_IDirectMusicTrack_AddRef (LPDIRECTMUSICTRACK8 iface);
|
2003-08-23 01:53:27 +02:00
|
|
|
/* IPersistStream: */
|
2004-01-20 01:21:40 +01:00
|
|
|
extern HRESULT WINAPI IDirectMusicWaveTrack_IPersistStream_QueryInterface (LPPERSISTSTREAM iface, REFIID riid, void** ppvObject);
|
|
|
|
extern ULONG WINAPI IDirectMusicWaveTrack_IPersistStream_AddRef (LPPERSISTSTREAM iface);
|
|
|
|
|
2005-02-02 10:31:06 +01:00
|
|
|
/**********************************************************************
|
|
|
|
* Dll lifetime tracking declaration for dmime.dll
|
|
|
|
*/
|
|
|
|
extern LONG DMIME_refCount;
|
2005-06-20 16:18:03 +02:00
|
|
|
static inline void DMIME_LockModule(void) { InterlockedIncrement( &DMIME_refCount ); }
|
|
|
|
static inline void DMIME_UnlockModule(void) { InterlockedDecrement( &DMIME_refCount ); }
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
2004-01-20 01:21:40 +01:00
|
|
|
* Misc.
|
2003-08-23 01:53:27 +02:00
|
|
|
*/
|
2004-05-14 06:57:02 +02:00
|
|
|
|
|
|
|
#include "dmutils.h"
|
2004-05-11 06:27:23 +02:00
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
#endif /* __WINE_DMIME_PRIVATE_H */
|