2003-07-21 22:10:14 +00:00
|
|
|
/* DirectMusicInteractiveEngine Private Include
|
|
|
|
*
|
2004-01-20 00:21:40 +00:00
|
|
|
* Copyright (C) 2003-2004 Rok Mandeljc
|
2003-07-21 22:10:14 +00:00
|
|
|
*
|
2007-05-30 10:54:07 +00: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-21 22:10:14 +00: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 10:54:07 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2003-07-21 22:10:14 +00:00
|
|
|
*
|
2007-05-30 10:54:07 +00: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-21 22:10:14 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_DMIME_PRIVATE_H
|
|
|
|
#define __WINE_DMIME_PRIVATE_H
|
|
|
|
|
2004-02-25 01:30:03 +00:00
|
|
|
#include <stdio.h>
|
2003-09-05 23:08:26 +00:00
|
|
|
#include <stdarg.h>
|
2004-02-25 01:30:03 +00:00
|
|
|
#include <string.h>
|
2003-09-05 23:08:26 +00:00
|
|
|
|
2004-08-11 19:43:45 +00:00
|
|
|
#define COBJMACROS
|
|
|
|
|
2003-07-21 22:10:14 +00:00
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winnt.h"
|
2003-09-05 23:08:26 +00:00
|
|
|
#include "wingdi.h"
|
2004-01-20 00:21:40 +00:00
|
|
|
#include "winuser.h"
|
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
#include "wine/list.h"
|
|
|
|
#include "winreg.h"
|
2004-08-22 21:38:46 +00:00
|
|
|
#include "objbase.h"
|
2004-01-20 00:21:40 +00:00
|
|
|
|
2003-07-21 22:10:14 +00:00
|
|
|
#include "dmusici.h"
|
|
|
|
#include "dmusicf.h"
|
2004-01-20 00:21:40 +00:00
|
|
|
#include "dmusics.h"
|
2005-11-28 09:36:41 +00:00
|
|
|
#include "dmusicc.h"
|
2003-07-21 22:10:14 +00:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* Interfaces
|
|
|
|
*/
|
|
|
|
typedef struct IDirectMusicGraphImpl IDirectMusicGraphImpl;
|
|
|
|
typedef struct IDirectMusicAudioPathImpl IDirectMusicAudioPathImpl;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* ClassFactory
|
|
|
|
*/
|
2023-06-29 08:17:57 +00:00
|
|
|
extern HRESULT create_dmperformance(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmsegment(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmsegmentstate(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmgraph(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmaudiopath(REFIID riid, void **ret_iface);
|
|
|
|
|
|
|
|
extern HRESULT create_dmlyricstrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmmarkertrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmparamcontroltrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmsegtriggertrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmseqtrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmsysextrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmtempotrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmtimesigtrack(REFIID riid, void **ret_iface);
|
|
|
|
extern HRESULT create_dmwavetrack(REFIID riid, void **ret_iface);
|
|
|
|
|
|
|
|
extern void set_audiopath_perf_pointer(IDirectMusicAudioPath*,IDirectMusicPerformance8*);
|
|
|
|
extern void set_audiopath_dsound_buffer(IDirectMusicAudioPath*,IDirectSoundBuffer*);
|
|
|
|
extern void set_audiopath_primary_dsound_buffer(IDirectMusicAudioPath*,IDirectSoundBuffer*);
|
2003-08-22 23:53:27 +00:00
|
|
|
|
2004-05-14 21:36:15 +00:00
|
|
|
/*****************************************************************************
|
|
|
|
* Auxiliary definitions
|
|
|
|
*/
|
|
|
|
typedef struct _DMUS_PRIVATE_SEGMENT_TRACK {
|
|
|
|
struct list entry; /* for listing elements */
|
|
|
|
DWORD dwGroupBits;
|
2020-03-26 18:09:25 +00:00
|
|
|
DWORD flags;
|
2004-05-14 21:36:15 +00:00
|
|
|
IDirectMusicTrack* pTrack;
|
|
|
|
} DMUS_PRIVATE_SEGMENT_TRACK, *LPDMUS_PRIVATE_SEGMENT_TRACK;
|
|
|
|
|
2004-05-17 19:48:49 +00: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-20 01:15:30 +00: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 04:32:43 +00:00
|
|
|
typedef struct _DMUS_PRIVATE_TEMPO_PLAY_STATE {
|
|
|
|
DWORD dummy;
|
|
|
|
} DMUS_PRIVATE_TEMPO_PLAY_STATE, *LPDMUS_PRIVATE_TEMPO_PLAY_STATE;
|
2004-05-17 19:48:49 +00:00
|
|
|
|
2005-02-02 09:31:06 +00:00
|
|
|
/**********************************************************************
|
|
|
|
* Dll lifetime tracking declaration for dmime.dll
|
|
|
|
*/
|
2023-06-29 08:17:57 +00:00
|
|
|
extern LONG DMIME_refCount;
|
2005-06-20 14:18:03 +00:00
|
|
|
static inline void DMIME_LockModule(void) { InterlockedIncrement( &DMIME_refCount ); }
|
|
|
|
static inline void DMIME_UnlockModule(void) { InterlockedDecrement( &DMIME_refCount ); }
|
2003-08-22 23:53:27 +00:00
|
|
|
|
|
|
|
/*****************************************************************************
|
2004-01-20 00:21:40 +00:00
|
|
|
* Misc.
|
2003-08-22 23:53:27 +00:00
|
|
|
*/
|
2004-05-14 04:57:02 +00:00
|
|
|
|
2003-07-21 22:10:14 +00:00
|
|
|
#endif /* __WINE_DMIME_PRIVATE_H */
|