dmime: Remove DECLSPEC_HIDDEN usage.
[wine.git] / dlls / dmime / dmime_private.h
blob7cdc15348665310925289ccc48c33afd3f1fc726
1 /* DirectMusicInteractiveEngine Private Include
3 * Copyright (C) 2003-2004 Rok Mandeljc
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_DMIME_PRIVATE_H
21 #define __WINE_DMIME_PRIVATE_H
23 #include <stdio.h>
24 #include <stdarg.h>
25 #include <string.h>
27 #define COBJMACROS
29 #include "windef.h"
30 #include "winbase.h"
31 #include "winnt.h"
32 #include "wingdi.h"
33 #include "winuser.h"
35 #include "wine/debug.h"
36 #include "wine/list.h"
37 #include "winreg.h"
38 #include "objbase.h"
40 #include "dmusici.h"
41 #include "dmusicf.h"
42 #include "dmusics.h"
43 #include "dmusicc.h"
45 /*****************************************************************************
46 * Interfaces
48 typedef struct IDirectMusicGraphImpl IDirectMusicGraphImpl;
49 typedef struct IDirectMusicAudioPathImpl IDirectMusicAudioPathImpl;
51 /*****************************************************************************
52 * ClassFactory
54 extern HRESULT create_dmperformance(REFIID riid, void **ret_iface);
55 extern HRESULT create_dmsegment(REFIID riid, void **ret_iface);
56 extern HRESULT create_dmsegmentstate(REFIID riid, void **ret_iface);
57 extern HRESULT create_dmgraph(REFIID riid, void **ret_iface);
58 extern HRESULT create_dmaudiopath(REFIID riid, void **ret_iface);
60 extern HRESULT create_dmlyricstrack(REFIID riid, void **ret_iface);
61 extern HRESULT create_dmmarkertrack(REFIID riid, void **ret_iface);
62 extern HRESULT create_dmparamcontroltrack(REFIID riid, void **ret_iface);
63 extern HRESULT create_dmsegtriggertrack(REFIID riid, void **ret_iface);
64 extern HRESULT create_dmseqtrack(REFIID riid, void **ret_iface);
65 extern HRESULT create_dmsysextrack(REFIID riid, void **ret_iface);
66 extern HRESULT create_dmtempotrack(REFIID riid, void **ret_iface);
67 extern HRESULT create_dmtimesigtrack(REFIID riid, void **ret_iface);
68 extern HRESULT create_dmwavetrack(REFIID riid, void **ret_iface);
70 extern void set_audiopath_perf_pointer(IDirectMusicAudioPath*,IDirectMusicPerformance8*);
71 extern void set_audiopath_dsound_buffer(IDirectMusicAudioPath*,IDirectSoundBuffer*);
72 extern void set_audiopath_primary_dsound_buffer(IDirectMusicAudioPath*,IDirectSoundBuffer*);
74 /*****************************************************************************
75 * Auxiliary definitions
77 typedef struct _DMUS_PRIVATE_SEGMENT_TRACK {
78 struct list entry; /* for listing elements */
79 DWORD dwGroupBits;
80 DWORD flags;
81 IDirectMusicTrack* pTrack;
82 } DMUS_PRIVATE_SEGMENT_TRACK, *LPDMUS_PRIVATE_SEGMENT_TRACK;
84 typedef struct _DMUS_PRIVATE_TEMPO_ITEM {
85 struct list entry; /* for listing elements */
86 DMUS_IO_TEMPO_ITEM item;
87 } DMUS_PRIVATE_TEMPO_ITEM, *LPDMUS_PRIVATE_TEMPO_ITEM;
89 typedef struct _DMUS_PRIVATE_GRAPH_TOOL {
90 struct list entry; /* for listing elements */
91 DWORD dwIndex;
92 IDirectMusicTool* pTool;
93 } DMUS_PRIVATE_GRAPH_TOOL, *LPDMUS_PRIVATE_GRAPH_TOOL;
95 typedef struct _DMUS_PRIVATE_TEMPO_PLAY_STATE {
96 DWORD dummy;
97 } DMUS_PRIVATE_TEMPO_PLAY_STATE, *LPDMUS_PRIVATE_TEMPO_PLAY_STATE;
99 /**********************************************************************
100 * Dll lifetime tracking declaration for dmime.dll
102 extern LONG DMIME_refCount;
103 static inline void DMIME_LockModule(void) { InterlockedIncrement( &DMIME_refCount ); }
104 static inline void DMIME_UnlockModule(void) { InterlockedDecrement( &DMIME_refCount ); }
106 /*****************************************************************************
107 * Misc.
110 #endif /* __WINE_DMIME_PRIVATE_H */