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
|
|
|
*
|
2007-05-30 12:54:07 +02:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2003-07-22 00:10:14 +02:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-05-30 12:54:07 +02:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2003-07-22 00:10:14 +02:00
|
|
|
*
|
2007-05-30 12:54:07 +02:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-07-22 00:10:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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"
|
2005-11-28 10:36:41 +01:00
|
|
|
#include "dmusicc.h"
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* Interfaces
|
|
|
|
*/
|
|
|
|
typedef struct IDirectMusicSegment8Impl IDirectMusicSegment8Impl;
|
|
|
|
typedef struct IDirectMusicSegmentState8Impl IDirectMusicSegmentState8Impl;
|
|
|
|
typedef struct IDirectMusicGraphImpl IDirectMusicGraphImpl;
|
|
|
|
typedef struct IDirectMusicAudioPathImpl IDirectMusicAudioPathImpl;
|
|
|
|
|
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
|
|
|
|
*/
|
2011-05-13 16:56:07 +02:00
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegmentStateImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicGraphImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicAudioPathImpl (LPCGUID lpcGUID, LPVOID *ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicLyricsTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicMarkerTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicParamControlTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSegTriggerTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSeqTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicSysExTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicTempoTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicTimeSigTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
|
|
|
extern HRESULT WINAPI DMUSIC_CreateDirectMusicWaveTrack (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN;
|
2004-01-20 01:21:40 +01:00
|
|
|
|
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
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* IDirectMusicSegmentState8Impl fields */
|
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
};
|
|
|
|
|
2003-08-23 01:53:27 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* IDirectMusicMarkerTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* IDirectMusicParamControlTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* IDirectMusicSeqTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* IDirectMusicSysExTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* 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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
|
|
|
/* IDirectMusicTimeSigTrack fields */
|
2004-01-20 01:21:40 +01:00
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
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;
|
2005-07-12 19:03:19 +02:00
|
|
|
LONG ref;
|
2003-08-23 01:53:27 +02:00
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
/* IDirectMusicWaveTrack fields */
|
|
|
|
LPDMUS_OBJECTDESC pDesc;
|
2003-08-23 01:53:27 +02:00
|
|
|
};
|
|
|
|
|
2005-02-02 10:31:06 +01:00
|
|
|
/**********************************************************************
|
|
|
|
* Dll lifetime tracking declaration for dmime.dll
|
|
|
|
*/
|
2011-05-13 16:56:07 +02:00
|
|
|
extern LONG DMIME_refCount DECLSPEC_HIDDEN;
|
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 */
|