Added stubs for dpnhpast and for all the dmusic dlls.
This commit is contained in:
parent
74a66ff99d
commit
3dec4c5219
|
@ -1371,9 +1371,18 @@ dlls/ddraw/Makefile
|
|||
dlls/devenum/Makefile
|
||||
dlls/dinput/Makefile
|
||||
dlls/dinput8/Makefile
|
||||
dlls/dmband/Makefile
|
||||
dlls/dmcompos/Makefile
|
||||
dlls/dmime/Makefile
|
||||
dlls/dmloader/Makefile
|
||||
dlls/dmscript/Makefile
|
||||
dlls/dmstyle/Makefile
|
||||
dlls/dmsynth/Makefile
|
||||
dlls/dmusic/Makefile
|
||||
dlls/dmusic32/Makefile
|
||||
dlls/dplay/Makefile
|
||||
dlls/dplayx/Makefile
|
||||
dlls/dpnhpast/Makefile
|
||||
dlls/dsound/Makefile
|
||||
dlls/dsound/tests/Makefile
|
||||
dlls/gdi/Makefile
|
||||
|
|
126
dlls/Makefile.in
126
dlls/Makefile.in
|
@ -30,9 +30,18 @@ BASEDIRS = \
|
|||
devenum \
|
||||
dinput \
|
||||
dinput8 \
|
||||
dmband \
|
||||
dmcompos \
|
||||
dmime \
|
||||
dmloader \
|
||||
dmscript \
|
||||
dmstyle \
|
||||
dmsynth \
|
||||
dmusic \
|
||||
dmusic32 \
|
||||
dplay \
|
||||
dplayx \
|
||||
dpnhpast \
|
||||
dsound \
|
||||
gdi \
|
||||
icmp \
|
||||
|
@ -199,9 +208,18 @@ all: \
|
|||
devenum.dll$(DLLEXT) \
|
||||
dinput.dll$(DLLEXT) \
|
||||
dinput8.dll$(DLLEXT) \
|
||||
dmband.dll$(DLLEXT) \
|
||||
dmcompos.dll$(DLLEXT) \
|
||||
dmime.dll$(DLLEXT) \
|
||||
dmloader.dll$(DLLEXT) \
|
||||
dmscript.dll$(DLLEXT) \
|
||||
dmstyle.dll$(DLLEXT) \
|
||||
dmsynth.dll$(DLLEXT) \
|
||||
dmusic.dll$(DLLEXT) \
|
||||
dmusic32.dll$(DLLEXT) \
|
||||
dplay.dll$(DLLEXT) \
|
||||
dplayx.dll$(DLLEXT) \
|
||||
dpnhpast.dll$(DLLEXT) \
|
||||
dsound.dll$(DLLEXT) \
|
||||
gdi32.dll$(DLLEXT) \
|
||||
icmp.dll$(DLLEXT) \
|
||||
|
@ -339,15 +357,42 @@ dinput.dll$(DLLEXT): dinput/dinput.dll$(DLLEXT)
|
|||
dinput8.dll$(DLLEXT): dinput8/dinput8.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dinput8/dinput8.dll$(DLLEXT) $@
|
||||
|
||||
dmband.dll$(DLLEXT): dmband/dmband.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmband/dmband.dll$(DLLEXT) $@
|
||||
|
||||
dmcompos.dll$(DLLEXT): dmcompos/dmcompos.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmcompos/dmcompos.dll$(DLLEXT) $@
|
||||
|
||||
dmime.dll$(DLLEXT): dmime/dmime.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmime/dmime.dll$(DLLEXT) $@
|
||||
|
||||
dmloader.dll$(DLLEXT): dmloader/dmloader.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmloader/dmloader.dll$(DLLEXT) $@
|
||||
|
||||
dmscript.dll$(DLLEXT): dmscript/dmscript.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmscript/dmscript.dll$(DLLEXT) $@
|
||||
|
||||
dmstyle.dll$(DLLEXT): dmstyle/dmstyle.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmstyle/dmstyle.dll$(DLLEXT) $@
|
||||
|
||||
dmsynth.dll$(DLLEXT): dmsynth/dmsynth.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmsynth/dmsynth.dll$(DLLEXT) $@
|
||||
|
||||
dmusic.dll$(DLLEXT): dmusic/dmusic.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmusic/dmusic.dll$(DLLEXT) $@
|
||||
|
||||
dmusic32.dll$(DLLEXT): dmusic32/dmusic32.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dmusic32/dmusic32.dll$(DLLEXT) $@
|
||||
|
||||
dplay.dll$(DLLEXT): dplay/dplay.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dplay/dplay.dll$(DLLEXT) $@
|
||||
|
||||
dplayx.dll$(DLLEXT): dplayx/dplayx.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dplayx/dplayx.dll$(DLLEXT) $@
|
||||
|
||||
dpnhpast.dll$(DLLEXT): dpnhpast/dpnhpast.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dpnhpast/dpnhpast.dll$(DLLEXT) $@
|
||||
|
||||
dsound.dll$(DLLEXT): dsound/dsound.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) dsound/dsound.dll$(DLLEXT) $@
|
||||
|
||||
|
@ -625,9 +670,18 @@ IMPORT_LIBS = \
|
|||
libdevenum \
|
||||
libdinput \
|
||||
libdinput8 \
|
||||
libdmband \
|
||||
libdmcompos \
|
||||
libdmime \
|
||||
libdmloader \
|
||||
libdmscript \
|
||||
libdmstyle \
|
||||
libdmsynth \
|
||||
libdmusic \
|
||||
libdmusic32 \
|
||||
libdplay \
|
||||
libdplayx \
|
||||
libdpnhpast \
|
||||
libdsound \
|
||||
libgdi32 \
|
||||
libglu32 \
|
||||
|
@ -783,11 +837,51 @@ libdinput8.def: dinput8/dinput8.spec.def
|
|||
libdinput8.a: dinput8/dinput8.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dinput8/dinput8.spec.def
|
||||
|
||||
libdmband.def: dmband/dmband.spec.def
|
||||
$(RM) $@ && $(LN_S) dmband/dmband.spec.def $@
|
||||
libdmband.a: dmband/dmband.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmband/dmband.spec.def
|
||||
|
||||
libdmcompos.def: dmcompos/dmcompos.spec.def
|
||||
$(RM) $@ && $(LN_S) dmcompos/dmcompos.spec.def $@
|
||||
libdmcompos.a: dmcompos/dmcompos.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmcompos/dmcompos.spec.def
|
||||
|
||||
libdmime.def: dmime/dmime.spec.def
|
||||
$(RM) $@ && $(LN_S) dmime/dmime.spec.def $@
|
||||
libdmime.a: dmime/dmime.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmime/dmime.spec.def
|
||||
|
||||
libdmloader.def: dmloader/dmloader.spec.def
|
||||
$(RM) $@ && $(LN_S) dmloader/dmloader.spec.def $@
|
||||
libdmloader.a: dmloader/dmloader.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmloader/dmloader.spec.def
|
||||
|
||||
libdmscript.def: dmscript/dmscript.spec.def
|
||||
$(RM) $@ && $(LN_S) dmscript/dmscript.spec.def $@
|
||||
libdmscript.a: dmscript/dmscript.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmscript/dmscript.spec.def
|
||||
|
||||
libdmstyle.def: dmstyle/dmstyle.spec.def
|
||||
$(RM) $@ && $(LN_S) dmstyle/dmstyle.spec.def $@
|
||||
libdmstyle.a: dmstyle/dmstyle.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmstyle/dmstyle.spec.def
|
||||
|
||||
libdmsynth.def: dmsynth/dmsynth.spec.def
|
||||
$(RM) $@ && $(LN_S) dmsynth/dmsynth.spec.def $@
|
||||
libdmsynth.a: dmsynth/dmsynth.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmsynth/dmsynth.spec.def
|
||||
|
||||
libdmusic.def: dmusic/dmusic.spec.def
|
||||
$(RM) $@ && $(LN_S) dmusic/dmusic.spec.def $@
|
||||
libdmusic.a: dmusic/dmusic.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmusic/dmusic.spec.def
|
||||
|
||||
libdmusic32.def: dmusic32/dmusic32.spec.def
|
||||
$(RM) $@ && $(LN_S) dmusic32/dmusic32.spec.def $@
|
||||
libdmusic32.a: dmusic32/dmusic32.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dmusic32/dmusic32.spec.def
|
||||
|
||||
libdplay.def: dplay/dplay.spec.def
|
||||
$(RM) $@ && $(LN_S) dplay/dplay.spec.def $@
|
||||
libdplay.a: dplay/dplay.spec.def
|
||||
|
@ -798,6 +892,11 @@ libdplayx.def: dplayx/dplayx.spec.def
|
|||
libdplayx.a: dplayx/dplayx.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dplayx/dplayx.spec.def
|
||||
|
||||
libdpnhpast.def: dpnhpast/dpnhpast.spec.def
|
||||
$(RM) $@ && $(LN_S) dpnhpast/dpnhpast.spec.def $@
|
||||
libdpnhpast.a: dpnhpast/dpnhpast.spec.def
|
||||
$(DLLTOOL) -k -l $@ -d dpnhpast/dpnhpast.spec.def
|
||||
|
||||
libdsound.def: dsound/dsound.spec.def
|
||||
$(RM) $@ && $(LN_S) dsound/dsound.spec.def $@
|
||||
libdsound.a: dsound/dsound.spec.def
|
||||
|
@ -1136,9 +1235,18 @@ ddraw/ddraw.spec.def: $(WINEBUILD)
|
|||
devenum/devenum.spec.def: $(WINEBUILD)
|
||||
dinput/dinput.spec.def: $(WINEBUILD)
|
||||
dinput8/dinput8.spec.def: $(WINEBUILD)
|
||||
dmband/dmband.spec.def: $(WINEBUILD)
|
||||
dmcompos/dmcompos.spec.def: $(WINEBUILD)
|
||||
dmime/dmime.spec.def: $(WINEBUILD)
|
||||
dmloader/dmloader.spec.def: $(WINEBUILD)
|
||||
dmscript/dmscript.spec.def: $(WINEBUILD)
|
||||
dmstyle/dmstyle.spec.def: $(WINEBUILD)
|
||||
dmsynth/dmsynth.spec.def: $(WINEBUILD)
|
||||
dmusic/dmusic.spec.def: $(WINEBUILD)
|
||||
dmusic32/dmusic32.spec.def: $(WINEBUILD)
|
||||
dplay/dplay.spec.def: $(WINEBUILD)
|
||||
dplayx/dplayx.spec.def: $(WINEBUILD)
|
||||
dpnhpast/dpnhpast.spec.def: $(WINEBUILD)
|
||||
dsound/dsound.spec.def: $(WINEBUILD)
|
||||
gdi/gdi32.spec.def: $(WINEBUILD)
|
||||
glu32/glu32.spec.def: $(WINEBUILD)
|
||||
|
@ -1227,9 +1335,18 @@ ddraw/ddraw.dll$(DLLEXT): ddraw
|
|||
devenum/devenum.dll$(DLLEXT): devenum
|
||||
dinput/dinput.dll$(DLLEXT): dinput
|
||||
dinput8/dinput8.dll$(DLLEXT): dinput8
|
||||
dmband/dmband.dll$(DLLEXT): dmband
|
||||
dmcompos/dmcompos.dll$(DLLEXT): dmcompos
|
||||
dmime/dmime.dll$(DLLEXT): dmime
|
||||
dmloader/dmloader.dll$(DLLEXT): dmloader
|
||||
dmscript/dmscript.dll$(DLLEXT): dmscript
|
||||
dmstyle/dmstyle.dll$(DLLEXT): dmstyle
|
||||
dmsynth/dmsynth.dll$(DLLEXT): dmsynth
|
||||
dmusic/dmusic.dll$(DLLEXT): dmusic
|
||||
dmusic32/dmusic32.dll$(DLLEXT): dmusic32
|
||||
dplay/dplay.dll$(DLLEXT): dplay
|
||||
dplayx/dplayx.dll$(DLLEXT): dplayx
|
||||
dpnhpast/dpnhpast.dll$(DLLEXT): dpnhpast
|
||||
dsound/dsound.dll$(DLLEXT): dsound
|
||||
gdi/gdi32.dll$(DLLEXT): gdi
|
||||
glu32/glu32.dll$(DLLEXT): glu32
|
||||
|
@ -1334,9 +1451,18 @@ ddraw/__install__: ddraw.dll$(DLLEXT)
|
|||
devenum/__install__: devenum.dll$(DLLEXT)
|
||||
dinput/__install__: dinput.dll$(DLLEXT)
|
||||
dinput8/__install__: dinput8.dll$(DLLEXT)
|
||||
dmband/__install__: dmband.dll$(DLLEXT)
|
||||
dmcompos/__install__: dmcompos.dll$(DLLEXT)
|
||||
dmime/__install__: dmime.dll$(DLLEXT)
|
||||
dmloader/__install__: dmloader.dll$(DLLEXT)
|
||||
dmscript/__install__: dmscript.dll$(DLLEXT)
|
||||
dmstyle/__install__: dmstyle.dll$(DLLEXT)
|
||||
dmsynth/__install__: dmsynth.dll$(DLLEXT)
|
||||
dmusic/__install__: dmusic.dll$(DLLEXT)
|
||||
dmusic32/__install__: dmusic32.dll$(DLLEXT)
|
||||
dplay/__install__: dplay.dll$(DLLEXT)
|
||||
dplayx/__install__: dplayx.dll$(DLLEXT)
|
||||
dpnhpast/__install__: dpnhpast.dll$(DLLEXT)
|
||||
dsound/__install__: dsound.dll$(DLLEXT)
|
||||
gdi/__install__: gdi32.dll$(DLLEXT)
|
||||
glu32/__install__: glu32.dll$(DLLEXT)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmband.dll.dbg.c
|
||||
dmband.spec.c
|
||||
dmband.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmband.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmband_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Band"
|
||||
#define WINE_FILENAME_STR "dmband.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmcompos.dll.dbg.c
|
||||
dmcompos.spec.c
|
||||
dmcompos.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmcompos.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmcompos_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.CanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Composer"
|
||||
#define WINE_FILENAME_STR "dmcompos.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmime.dll.dbg.c
|
||||
dmime.spec.c
|
||||
dmime.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmime.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmime_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Interactive Engine"
|
||||
#define WINE_FILENAME_STR "dmime.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmloader.dll.dbg.c
|
||||
dmloader.spec.c
|
||||
dmloader.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmloader.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmloader_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Loader"
|
||||
#define WINE_FILENAME_STR "dmloader.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmscript.dll.dbg.c
|
||||
dmscript.spec.c
|
||||
dmscript.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmscript.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmscript_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Scripting"
|
||||
#define WINE_FILENAME_STR "dmscript.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmstyle.dll.dbg.c
|
||||
dmstyle.spec.c
|
||||
dmstyle.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmstyle.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmstyle_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject(long long ptr) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Style Engine"
|
||||
#define WINE_FILENAME_STR "dmstyle.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmsynth.dll.dbg.c
|
||||
dmsynth.spec.c
|
||||
dmsynth.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmsynth.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmsynth_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,6 @@
|
|||
# Linked to main dmusic.dll for easier implementation
|
||||
|
||||
1 stdcall DllCanUnloadNow() dmusic.DllCanUnloadNow
|
||||
2 stdcall DllGetClassObject( long long ptr ) dmusic.DllGetClassObject
|
||||
3 stdcall DllRegisterServer() dmusic.DllRegisterServer
|
||||
4 stdcall DllUnregisterServer() dmusic.DllUnregisterServer
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Software Synthesizer"
|
||||
#define WINE_FILENAME_STR "dmsynth.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dmusic32.dll.dbg.c
|
||||
dmusic32.spec.c
|
||||
dmusic32.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dmusic32.dll
|
||||
IMPORTS = dmusic kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
dmusic32_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,2 @@
|
|||
1 stub CreateCDirectMusicEmulatePort
|
||||
2 stub EnumLegacyDevices
|
|
@ -0,0 +1 @@
|
|||
/* nothing here yet */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectMusic Legacy Port"
|
||||
#define WINE_FILENAME_STR "dmusic32.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -0,0 +1,5 @@
|
|||
Makefile
|
||||
dpnhpast.dll.dbg.c
|
||||
dpnhpast.spec.c
|
||||
dpnhpast.spec.def
|
||||
version.res
|
|
@ -0,0 +1,18 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dpnhpast.dll
|
||||
IMPORTS = kernel32
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,5 @@
|
|||
1 stub DirectPlayNATHelpCreate
|
||||
2 stdcall DllRegisterServer() DPNHPAST_DllRegisterServer
|
||||
3 stdcall DllCanUnloadNow() DPNHPAST_DllCanUnloadNow
|
||||
4 stdcall DllGetClassObject( long long ptr ) DPNHPAST_DllGetClassObject
|
||||
5 stdcall DllUnregisterServer() DPNHPAST_DllUnregisterServer
|
|
@ -0,0 +1,107 @@
|
|||
/* DirectPlay NAT Helper Past Main
|
||||
*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
|
||||
|
||||
/******************************************************************
|
||||
* DllMain
|
||||
*
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(%p, %ld, %p)\n",hinstDLL,fdwReason,lpvReserved);
|
||||
|
||||
if (fdwReason == DLL_PROCESS_ATTACH)
|
||||
{
|
||||
/* FIXME: Initialisation */
|
||||
}
|
||||
else if (fdwReason == DLL_PROCESS_DETACH)
|
||||
{
|
||||
/* FIXME: Cleanup */
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DirectPlayNATHelpCreate (DPNHPAST.1)
|
||||
*
|
||||
*
|
||||
*/
|
||||
#if 0
|
||||
HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
|
||||
{
|
||||
/* @stub in .spec */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllRegisterServer (DPNHPAST.2)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DPNHPAST_DllRegisterServer(void)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllCanUnloadNow (DPNHPAST.3)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllGetClassObject (DPNHPAST.4)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID FAR)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllUnregisterServer (DPNHPAST.5)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DPNHPAST_DllUnregisterServer(void)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library 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.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectPlay NAT Helper PAST"
|
||||
#define WINE_FILENAME_STR "dpnhpast.dll"
|
||||
#define WINE_FILEVERSION 4,8,1,881
|
||||
#define WINE_FILEVERSION_STR "4.8.1.881"
|
||||
#define WINE_PRODUCTVERSION 4,8,1,881
|
||||
#define WINE_PRODUCTVERSION_STR "4.8"
|
||||
#define WINE_PRODUCTNAME_STR "DirectX"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
|
@ -45,8 +45,12 @@ WINDOWS_INCLUDES = \
|
|||
dmo.h \
|
||||
dmoreg.h \
|
||||
dmort.h \
|
||||
dmplugin.h \
|
||||
dmusbuff.h \
|
||||
dmusicc.h \
|
||||
dmusicf.h \
|
||||
dmusici.h \
|
||||
dmusics.h \
|
||||
docobj.h \
|
||||
dplay.h \
|
||||
dplobby.h \
|
||||
|
|
|
@ -0,0 +1,240 @@
|
|||
/*
|
||||
* DirectMusic Performance Layer Plugins API
|
||||
*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* 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_DMUSIC_PLUGIN_H
|
||||
#define __WINE_DMUSIC_PLUGIN_H
|
||||
|
||||
#include "objbase.h"
|
||||
#include "mmsystem.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define DMUS_REGSTR_PATH_TOOLS "Software\\Microsoft\\DirectMusic\\Tools"
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IDirectMusicTrack, 0xf96029a1,0x4282,0x11d2,0x87,0x17,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(IID_IDirectMusicTool, 0xd2ac28ba,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(IID_IDirectMusicTool8, 0xe674303,0x3b05,0x11d3,0x9b,0xd1,0xf9,0xe7,0xf0,0xa0,0x15,0x36);
|
||||
DEFINE_GUID(IID_IDirectMusicTrack8, 0xe674304,0x3b05,0x11d3,0x9b,0xd1,0xf9,0xe7,0xf0,0xa0,0x15,0x36);
|
||||
|
||||
/* typedef definitions of interfaces are in dmusici.h */
|
||||
|
||||
DEFINE_GUID(CLSID_DirectMusicTempoTrack, 0xd2ac2885,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicSeqTrack, 0xd2ac2886,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicSysExTrack, 0xd2ac2887,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicTimeSigTrack, 0xd2ac2888,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicChordTrack, 0xd2ac288b,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicCommandTrack, 0xd2ac288c,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicStyleTrack, 0xd2ac288d,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicMotifTrack, 0xd2ac288e,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicSignPostTrack, 0xf17e8672,0xc3b4,0x11d1,0x87,0xb,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicBandTrack, 0xd2ac2894,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicChordMapTrack, 0xd2ac2896,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicMuteTrack, 0xd2ac2898,0xb39b,0x11d1,0x87,0x4,0x0,0x60,0x8,0x93,0xb1,0xbd);
|
||||
DEFINE_GUID(CLSID_DirectMusicScriptTrack, 0x4108fa85,0x3586,0x11d3,0x8b,0xd7,0x0,0x60,0x8,0x93,0xb1,0xb6);
|
||||
DEFINE_GUID(CLSID_DirectMusicMarkerTrack, 0x55a8fd00,0x4288,0x11d3,0x9b,0xd1,0x8a,0xd,0x61,0xc8,0x88,0x35);
|
||||
DEFINE_GUID(CLSID_DirectMusicSegmentTriggerTrack, 0xbae4d665,0x4ea1,0x11d3,0x8b,0xda,0x0,0x60,0x8,0x93,0xb1,0xb6);
|
||||
DEFINE_GUID(CLSID_DirectMusicLyricsTrack, 0x995c1cf5,0x54ff,0x11d3,0x8b,0xda,0x0,0x60,0x8,0x93,0xb1,0xb6);
|
||||
DEFINE_GUID(CLSID_DirectMusicParamControlTrack, 0x4be0537b,0x5c19,0x11d3,0x8b,0xdc,0x0,0x60,0x8,0x93,0xb1,0xb6);
|
||||
DEFINE_GUID(CLSID_DirectMusicMelodyFormulationTrack, 0xb0684266,0xb57f,0x11d2,0x97,0xf9,0x0,0xc0,0x4f,0xa3,0x6e,0x58);
|
||||
DEFINE_GUID(CLSID_DirectMusicWaveTrack, 0xeed36461,0x9ea5,0x11d3,0x9b,0xd1,0x0,0x80,0xc7,0x15,0xa,0x74);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicTool interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicTool
|
||||
#define IDirectMusicTool_METHODS \
|
||||
/*** IDirectMusicTool methods ***/ \
|
||||
ICOM_METHOD1(HRESULT, Init, IDirectMusicGraph*,pGraph) \
|
||||
ICOM_METHOD1(HRESULT, GetMsgDeliveryType, DWORD*,pdwDeliveryType) \
|
||||
ICOM_METHOD1(HRESULT, GetMediaTypeArraySize, DWORD*,pdwNumElements) \
|
||||
ICOM_METHOD2(HRESULT, GetMediaTypes, DWORD**,padwMediaTypes, DWORD,dwNumElements) \
|
||||
ICOM_METHOD2(HRESULT, ProcessPMsg, IDirectMusicPerformance*,pPerf, DMUS_PMSG*,pPMSG) \
|
||||
ICOM_METHOD3(HRESULT, Flush, IDirectMusicPerformance*,pPerf, DMUS_PMSG*,pPMSG, REFERENCE_TIME,rtTime)
|
||||
|
||||
/*** IDirectMusicTool methods ***/
|
||||
#define IDirectMusicTool_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicTool_METHODS
|
||||
ICOM_DEFINE(IDirectMusicTool,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicTool_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicTool_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicTool_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicTool methods ***/
|
||||
#define IDirectMusicTool_Init(p,a) ICOM_CALL1(Init,p,a)
|
||||
#define IDirectMusicTool_GetMsgDeliveryType(p,a) ICOM_CALL1(GetMsgDeliveryType,p,a)
|
||||
#define IDirectMusicTool_GetMediaTypeArraySize(p,a) ICOM_CALL1(GetMediaTypeArraySize,p,a)
|
||||
#define IDirectMusicTool_GetMediaTypes(p,a,b) ICOM_CALL2(GetMediaTypes,p,a,b)
|
||||
#define IDirectMusicTool_ProcessPMsg(p,a,b) ICOM_CALL2(ProcessPMsg,p,a,b)
|
||||
#define IDirectMusicTool_Flush(p,a,b,c) ICOM_CALL3(Flush,p,a,b,c)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicTool8 interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicTool8
|
||||
#define IDirectMusicTool8_METHODS \
|
||||
/*** IDirectMusicTool8 methods ***/ \
|
||||
ICOM_METHOD1(HRESULT, Clone, IDirectMusicTool**,ppTool)
|
||||
|
||||
/*** IDirectMusicTool8 methods ***/
|
||||
#define IDirectMusicTool8_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicTool_METHODS \
|
||||
IDirectMusicTool8_METHODS
|
||||
ICOM_DEFINE(IDirectMusicTool8,IDirectMusicTool)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicTool8_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicTool8_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicTool8_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicTool methods ***/
|
||||
#define IDirectMusicTool8_Init(p,a) ICOM_CALL1(Init,p,a)
|
||||
#define IDirectMusicTool8_GetMsgDeliveryType(p,a) ICOM_CALL1(GetMsgDeliveryType,p,a)
|
||||
#define IDirectMusicTool8_GetMediaTypeArraySize(p,a) ICOM_CALL1(GetMediaTypeArraySize,p,a)
|
||||
#define IDirectMusicTool8_GetMediaTypes(p,a,b) ICOM_CALL2(GetMediaTypes,p,a,b)
|
||||
#define IDirectMusicTool8_ProcessPMsg(p,a,b) ICOM_CALL2(ProcessPMsg,p,a,b)
|
||||
#define IDirectMusicTool8_Flush(p,a,b) ICOM_CALL2(Flush,p,a,b)
|
||||
/*** IDirectMusicTool8 methods ***/
|
||||
#define IDirectMusicTool8_Clone(p,a) ICOM_CALL1(Clone,p,a)
|
||||
|
||||
|
||||
typedef enum enumDMUS_TRACKF_FLAGS
|
||||
{
|
||||
DMUS_TRACKF_SEEK = 1,
|
||||
DMUS_TRACKF_LOOP = 2,
|
||||
DMUS_TRACKF_START = 4,
|
||||
DMUS_TRACKF_FLUSH = 8,
|
||||
DMUS_TRACKF_DIRTY = 0x10,
|
||||
DMUS_TRACKF_NOTIFY_OFF = 0x20,
|
||||
DMUS_TRACKF_PLAY_OFF = 0x40,
|
||||
DMUS_TRACKF_LOOPEND = 0x80,
|
||||
DMUS_TRACKF_STOP = 0x100,
|
||||
DMUS_TRACKF_RECOMPOSE = 0x200,
|
||||
DMUS_TRACKF_CLOCK = 0x400,
|
||||
} DMUS_TRACKF_FLAGS;
|
||||
|
||||
#define DMUS_TRACK_PARAMF_CLOCK 0x01
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicTrack interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicTrack
|
||||
#define IDirectMusicTrack_METHODS \
|
||||
/*** IDirectMusicTrack methods ***/ \
|
||||
ICOM_METHOD1(HRESULT, Init, IDirectMusicSegment*,pSegment) \
|
||||
ICOM_METHOD5(HRESULT, InitPlay, IDirectMusicSegmentState*,pSegmentState, IDirectMusicPerformance*,pPerformance, void**,ppStateData, DWORD,dwVirtualTrackID, DWORD,dwFlags) \
|
||||
ICOM_METHOD1(HRESULT, EndPlay, void*,pStateData) \
|
||||
ICOM_METHOD8(HRESULT, Play, void*,pStateData, MUSIC_TIME,mtStart, MUSIC_TIME,mtEnd, MUSIC_TIME,mtOffset, DWORD,dwFlags, IDirectMusicPerformance*,pPerf, IDirectMusicSegmentState*,pSegSt, DWORD,dwVirtualID) \
|
||||
ICOM_METHOD4(HRESULT, GetParam, REFGUID,rguidType, MUSIC_TIME,mtTime, MUSIC_TIME*,pmtNext, void*,pParam) \
|
||||
ICOM_METHOD3(HRESULT, SetParam, REFGUID,rguidType, MUSIC_TIME,mtTime, void*,pParam) \
|
||||
ICOM_METHOD1(HRESULT, IsParamSupported, REFGUID,rguidType) \
|
||||
ICOM_METHOD1(HRESULT, AddNotificationType, REFGUID,rguidNotificationType) \
|
||||
ICOM_METHOD1(HRESULT, RemoveNotificationType, REFGUID,rguidNotificationType) \
|
||||
ICOM_METHOD3(HRESULT, Clone, MUSIC_TIME,mtStart, MUSIC_TIME,mtEnd, IDirectMusicTrack**,ppTrack)
|
||||
|
||||
/*** IDirectMusicTrack methods ***/
|
||||
#define IDirectMusicTrack_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicTrack_METHODS
|
||||
ICOM_DEFINE(IDirectMusicTrack,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicTrack_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicTrack_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicTrack_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicTrack methods ***/
|
||||
#define IDirectMusicTrack_Init(p,a) ICOM_CALL1(Init,p,a)
|
||||
#define IDirectMusicTrack_InitPlay(p,a,b,c,d,e) ICOM_CALL5(InitPlay,p,a,b,c,d,e)
|
||||
#define IDirectMusicTrack_EndPlay(p,a) ICOM_CALL1(EndPlay,p,a)
|
||||
#define IDirectMusicTrack_Play(p,a,b,c,d,e,f,g,h) ICOM_CALL8(Play,p,a,b,c,d,e,f,g,h)
|
||||
#define IDirectMusicTrack_GetParam(p,a,b,c,d) ICOM_CALL4(GetParam,p,a,b,c,d)
|
||||
#define IDirectMusicTrack_SetParam(p,a,b,c) ICOM_CALL3(SetParam,p,a,b,c)
|
||||
#define IDirectMusicTrack_IsParamSupported(p,a) ICOM_CALL1(IsParamSupported,p,a)
|
||||
#define IDirectMusicTrack_AddNotificationType(p,a) ICOM_CALL1(AddNotificationType,p,a)
|
||||
#define IDirectMusicTrack_RemoveNotificationType(p,a) ICOM_CALL1(RemoveNotificationType,p,a)
|
||||
#define IDirectMusicTrack_Clone(p,a,b,c) ICOM_CALL3(Clone,p,a,b,c)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicTrack8 interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicTrack8
|
||||
#define IDirectMusicTrack8_METHODS \
|
||||
/*** IDirectMusicTrack8 methods ***/ \
|
||||
ICOM_METHOD8(HRESULT, PlayEx, void*,pStateData, REFERENCE_TIME,rtStart, REFERENCE_TIME,rtEnd, REFERENCE_TIME,rtOffset, DWORD,dwFlags, IDirectMusicPerformance*,pPerf, IDirectMusicSegmentState*,pSegSt, DWORD,dwVirtualID) \
|
||||
ICOM_METHOD6(HRESULT, GetParamEx, REFGUID,rguidType, REFERENCE_TIME,rtTime, REFERENCE_TIME*,prtNext, void*,pParam, void*,pStateData, DWORD,dwFlags) \
|
||||
ICOM_METHOD5(HRESULT, SetParamEx, REFGUID,rguidType, REFERENCE_TIME,rtTime, void*,pParam, void*,pStateData, DWORD,dwFlags) \
|
||||
ICOM_METHOD3(HRESULT, Compose, IUnknown*,pContext, DWORD,dwTrackGroup, IDirectMusicTrack**,ppResultTrack) \
|
||||
ICOM_METHOD5(HRESULT, Join, IDirectMusicTrack*,pNewTrack, MUSIC_TIME,mtJoin, IUnknown*,pContext, DWORD,dwTrackGroup, IDirectMusicTrack**,ppResultTrack)
|
||||
|
||||
/*** IDirectMusicTrack8 methods ***/
|
||||
#define IDirectMusicTrack8_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicTrack_METHODS \
|
||||
IDirectMusicTrack8_METHODS
|
||||
|
||||
ICOM_DEFINE(IDirectMusicTrack8,IDirectMusicTrack)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicTrack8_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicTrack8_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicTrack8_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicTrack methods ***/
|
||||
#define IDirectMusicTrack8_Init(p,a) ICOM_CALL1(Init,p,a)
|
||||
#define IDirectMusicTrack8_InitPlay(p,a,b,c,d,e) ICOM_CALL5(InitPlay,p,a,b,c,d,e)
|
||||
#define IDirectMusicTrack8_EndPlay(p,a) ICOM_CALL1(EndPlay,p,a)
|
||||
#define IDirectMusicTrack8_Play(p,a,b,c,d,e,f,g,h) ICOM_CALL8(Play,p,a,b,c,d,e,f,g,h)
|
||||
#define IDirectMusicTrack8_GetParam(p,a,b,c,d) ICOM_CALL4(GetParam,p,a,b,c,d)
|
||||
#define IDirectMusicTrack8_SetParam(p,a,b,c) ICOM_CALL3(SetParam,p,a,b,c)
|
||||
#define IDirectMusicTrack8_IsParamSupported(p,a) ICOM_CALL1(IsParamSupported,p,a)
|
||||
#define IDirectMusicTrack8_AddNotificationType(p,a) ICOM_CALL1(AddNotificationType,p,a)
|
||||
#define IDirectMusicTrack8_RemoveNotificationType(p,a) ICOM_CALL1(RemoveNotificationType,p,a)
|
||||
#define IDirectMusicTrack8_Clone(p,a,b,c) ICOM_CALL3(Clone,p,a,b,c)
|
||||
/*** IDirectMusicTrack8 methods ***/
|
||||
#define IDirectMusicTrack8_PlayEx(p,a,b,c,d,e,f,g,h) ICOM_CALL8(PlayEx,p,a,b,c,d,e,f,g,h)
|
||||
#define IDirectMusicTrack8_GetParamEx(p,a,b,c,d,e,f) ICOM_CALL6(GetParamEx,p,a,b,c,d,e,f)
|
||||
#define IDirectMusicTrack8_SetParamEx(p,a,b,c,d,e) ICOM_CALL5(SetParamEx,p,a,b,c,d,e)
|
||||
#define IDirectMusicTrack8_Compose(p,a,b,c) ICOM_CALL3(Compose,p,a,b,c)
|
||||
#define IDirectMusicTrack8_Join(p,a,b,c,d,e) ICOM_CALL5(Join,p,a,b,c,d,e)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_DMUSIC_PLUGIN_H */
|
|
@ -0,0 +1,943 @@
|
|||
/*
|
||||
* DirectMusic File Formats
|
||||
*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* 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_DMUSIC_FILEFORMATS_H
|
||||
#define __WINE_DMUSIC_FILEFORMATS_H
|
||||
|
||||
#include "objbase.h"
|
||||
#include "mmsystem.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* FOURCC Definitons
|
||||
*/
|
||||
#define DMUS_FOURCC_GUID_CHUNK mmioFOURCC('g','u','i','d')
|
||||
#define DMUS_FOURCC_INFO_LIST mmioFOURCC('I','N','F','O')
|
||||
#define DMUS_FOURCC_UNFO_LIST mmioFOURCC('U','N','F','O')
|
||||
#define DMUS_FOURCC_UNAM_CHUNK mmioFOURCC('U','N','A','M')
|
||||
#define DMUS_FOURCC_UART_CHUNK mmioFOURCC('U','A','R','T')
|
||||
#define DMUS_FOURCC_UCOP_CHUNK mmioFOURCC('U','C','O','P')
|
||||
#define DMUS_FOURCC_USBJ_CHUNK mmioFOURCC('U','S','B','J')
|
||||
#define DMUS_FOURCC_UCMT_CHUNK mmioFOURCC('U','C','M','T')
|
||||
#define DMUS_FOURCC_CATEGORY_CHUNK mmioFOURCC('c','a','t','g')
|
||||
#define DMUS_FOURCC_VERSION_CHUNK mmioFOURCC('v','e','r','s')
|
||||
|
||||
#define DMUS_FOURCC_STYLE_FORM mmioFOURCC('D','M','S','T')
|
||||
#define DMUS_FOURCC_STYLE_CHUNK mmioFOURCC('s','t','y','h')
|
||||
#define DMUS_FOURCC_PART_LIST mmioFOURCC('p','a','r','t')
|
||||
#define DMUS_FOURCC_PART_CHUNK mmioFOURCC('p','r','t','h')
|
||||
#define DMUS_FOURCC_NOTE_CHUNK mmioFOURCC('n','o','t','e')
|
||||
#define DMUS_FOURCC_CURVE_CHUNK mmioFOURCC('c','r','v','e')
|
||||
#define DMUS_FOURCC_MARKER_CHUNK mmioFOURCC('m','r','k','r')
|
||||
#define DMUS_FOURCC_RESOLUTION_CHUNK mmioFOURCC('r','s','l','n')
|
||||
#define DMUS_FOURCC_ANTICIPATION_CHUNK mmioFOURCC('a','n','p','n')
|
||||
#define DMUS_FOURCC_PATTERN_LIST mmioFOURCC('p','t','t','n')
|
||||
#define DMUS_FOURCC_PATTERN_CHUNK mmioFOURCC('p','t','n','h')
|
||||
#define DMUS_FOURCC_RHYTHM_CHUNK mmioFOURCC('r','h','t','m')
|
||||
#define DMUS_FOURCC_PARTREF_LIST mmioFOURCC('p','r','e','f')
|
||||
#define DMUS_FOURCC_PARTREF_CHUNK mmioFOURCC('p','r','f','c')
|
||||
#define DMUS_FOURCC_STYLE_PERS_REF_LIST mmioFOURCC('p','r','r','f')
|
||||
#define DMUS_FOURCC_MOTIFSETTINGS_CHUNK mmioFOURCC('m','t','f','s')
|
||||
|
||||
#define DMUS_FOURCC_PATTERN_FORM mmioFOURCC('D','M','P','T')
|
||||
|
||||
#define DMUS_FOURCC_CHORDTRACK_LIST mmioFOURCC('c','o','r','d')
|
||||
#define DMUS_FOURCC_CHORDTRACKHEADER_CHUNK mmioFOURCC('c','r','d','h')
|
||||
#define DMUS_FOURCC_CHORDTRACKBODY_CHUNK mmioFOURCC('c','r','d','b')
|
||||
|
||||
#define DMUS_FOURCC_COMMANDTRACK_CHUNK mmioFOURCC('c','m','n','d')
|
||||
|
||||
#define DMUS_FOURCC_TOOLGRAPH_FORM mmioFOURCC('D','M','T','G')
|
||||
#define DMUS_FOURCC_TOOL_LIST mmioFOURCC('t','o','l','l')
|
||||
#define DMUS_FOURCC_TOOL_FORM mmioFOURCC('D','M','T','L')
|
||||
#define DMUS_FOURCC_TOOL_CHUNK mmioFOURCC('t','o','l','h')
|
||||
|
||||
#define DMUS_FOURCC_AUDIOPATH_FORM mmioFOURCC('D','M','A','P')
|
||||
|
||||
#define DMUS_FOURCC_PORTCONFIGS_LIST mmioFOURCC('p','c','s','l')
|
||||
#define DMUS_FOURCC_PORTCONFIG_LIST mmioFOURCC('p','c','f','l')
|
||||
#define DMUS_FOURCC_PORTCONFIG_ITEM mmioFOURCC('p','c','f','h')
|
||||
#define DMUS_FOURCC_PORTPARAMS_ITEM mmioFOURCC('p','p','r','h')
|
||||
#define DMUS_FOURCC_DSBUFFER_LIST mmioFOURCC('d','b','f','l')
|
||||
#define DMUS_FOURCC_DSBUFFATTR_ITEM mmioFOURCC('d','d','a','h')
|
||||
#define DMUS_FOURCC_PCHANNELS_LIST mmioFOURCC('p','c','h','l')
|
||||
#define DMUS_FOURCC_PCHANNELS_ITEM mmioFOURCC('p','c','h','h')
|
||||
|
||||
#define DMUS_FOURCC_BANDTRACK_FORM mmioFOURCC('D','M','B','T')
|
||||
#define DMUS_FOURCC_BANDTRACK_CHUNK mmioFOURCC('b','d','t','h')
|
||||
#define DMUS_FOURCC_BANDS_LIST mmioFOURCC('l','b','d','l')
|
||||
#define DMUS_FOURCC_BAND_LIST mmioFOURCC('l','b','n','d')
|
||||
#define DMUS_FOURCC_BANDITEM_CHUNK mmioFOURCC('b','d','i','h')
|
||||
#define DMUS_FOURCC_BANDITEM_CHUNK2 mmioFOURCC('b','d','2','h')
|
||||
|
||||
#define DMUS_FOURCC_BAND_FORM mmioFOURCC('D','M','B','D')
|
||||
#define DMUS_FOURCC_INSTRUMENTS_LIST mmioFOURCC('l','b','i','l')
|
||||
#define DMUS_FOURCC_INSTRUMENT_LIST mmioFOURCC('l','b','i','n')
|
||||
#define DMUS_FOURCC_INSTRUMENT_CHUNK mmioFOURCC('b','i','n','s')
|
||||
|
||||
#define DMUS_FOURCC_WAVEHEADER_CHUNK mmioFOURCC('w','a','v','h')
|
||||
|
||||
#define DMUS_FOURCC_WAVETRACK_LIST mmioFOURCC('w','a','v','t')
|
||||
#define DMUS_FOURCC_WAVETRACK_CHUNK mmioFOURCC('w','a','t','h')
|
||||
#define DMUS_FOURCC_WAVEPART_LIST mmioFOURCC('w','a','v','p')
|
||||
#define DMUS_FOURCC_WAVEPART_CHUNK mmioFOURCC('w','a','p','h')
|
||||
#define DMUS_FOURCC_WAVEITEM_LIST mmioFOURCC('w','a','v','i')
|
||||
#define DMUS_FOURCC_WAVE_LIST mmioFOURCC('w','a','v','e')
|
||||
#define DMUS_FOURCC_WAVEITEM_CHUNK mmioFOURCC('w','a','i','h')
|
||||
|
||||
#define DMUS_FOURCC_CONTAINER_FORM mmioFOURCC('D','M','C','N')
|
||||
#define DMUS_FOURCC_CONTAINER_CHUNK mmioFOURCC('c','o','n','h')
|
||||
#define DMUS_FOURCC_CONTAINED_ALIAS_CHUNK mmioFOURCC('c','o','b','a')
|
||||
#define DMUS_FOURCC_CONTAINED_OBJECT_CHUNK mmioFOURCC('c','o','b','h')
|
||||
#define DMUS_FOURCC_CONTAINED_OBJECTS_LIST mmioFOURCC('c','o','s','l')
|
||||
#define DMUS_FOURCC_CONTAINED_OBJECT_LIST mmioFOURCC('c','o','b','l')
|
||||
|
||||
#define DMUS_FOURCC_SEGMENT_FORM mmioFOURCC('D','M','S','G')
|
||||
#define DMUS_FOURCC_SEGMENT_CHUNK mmioFOURCC('s','e','g','h')
|
||||
#define DMUS_FOURCC_TRACK_LIST mmioFOURCC('t','r','k','l')
|
||||
#define DMUS_FOURCC_TRACK_FORM mmioFOURCC('D','M','T','K')
|
||||
#define DMUS_FOURCC_TRACK_CHUNK mmioFOURCC('t','r','k','h')
|
||||
#define DMUS_FOURCC_TRACK_EXTRAS_CHUNK mmioFOURCC('t','r','k','x')
|
||||
|
||||
#define DMUS_FOURCC_SONG_FORM mmioFOURCC('D','M','S','O')
|
||||
#define DMUS_FOURCC_SONG_CHUNK mmioFOURCC('s','n','g','h')
|
||||
#define DMUS_FOURCC_SONGSEGMENTS_LIST mmioFOURCC('s','e','g','l')
|
||||
#define DMUS_FOURCC_SONGSEGMENT_LIST mmioFOURCC('s','s','g','l')
|
||||
#define DMUS_FOURCC_TOOLGRAPHS_LIST mmioFOURCC('t','l','g','l')
|
||||
#define DMUS_FOURCC_SEGREFS_LIST mmioFOURCC('s','r','s','l')
|
||||
#define DMUS_FOURCC_SEGREF_LIST mmioFOURCC('s','g','r','l')
|
||||
#define DMUS_FOURCC_SEGREF_CHUNK mmioFOURCC('s','g','r','h')
|
||||
#define DMUS_FOURCC_SEGTRANS_CHUNK mmioFOURCC('s','t','r','h')
|
||||
#define DMUS_FOURCC_TRACKREFS_LIST mmioFOURCC('t','r','s','l')
|
||||
#define DMUS_FOURCC_TRACKREF_LIST mmioFOURCC('t','k','r','l')
|
||||
#define DMUS_FOURCC_TRACKREF_CHUNK mmioFOURCC('t','k','r','h')
|
||||
|
||||
#define DMUS_FOURCC_REF_LIST mmioFOURCC('D','M','R','F')
|
||||
#define DMUS_FOURCC_REF_CHUNK mmioFOURCC('r','e','f','h')
|
||||
#define DMUS_FOURCC_DATE_CHUNK mmioFOURCC('d','a','t','e')
|
||||
#define DMUS_FOURCC_NAME_CHUNK mmioFOURCC('n','a','m','e')
|
||||
#define DMUS_FOURCC_FILE_CHUNK mmioFOURCC('f','i','l','e')
|
||||
|
||||
#define DMUS_FOURCC_CHORDMAP_FORM mmioFOURCC('D','M','P','R')
|
||||
#define DMUS_FOURCC_IOCHORDMAP_CHUNK mmioFOURCC('p','e','r','h')
|
||||
#define DMUS_FOURCC_SUBCHORD_CHUNK mmioFOURCC('c','h','d','t')
|
||||
#define DMUS_FOURCC_CHORDENTRY_CHUNK mmioFOURCC('c','h','e','h')
|
||||
#define DMUS_FOURCC_SUBCHORDID_CHUNK mmioFOURCC('s','b','c','n')
|
||||
#define DMUS_FOURCC_IONEXTCHORD_CHUNK mmioFOURCC('n','c','r','d')
|
||||
#define DMUS_FOURCC_NEXTCHORDSEQ_CHUNK mmioFOURCC('n','c','s','q')
|
||||
#define DMUS_FOURCC_IOSIGNPOST_CHUNK mmioFOURCC('s','p','s','h')
|
||||
#define DMUS_FOURCC_CHORDNAME_CHUNK mmioFOURCC('I','N','A','M')
|
||||
|
||||
#define DMUS_FOURCC_CHORDENTRY_LIST mmioFOURCC('c','h','o','e')
|
||||
#define DMUS_FOURCC_CHORDMAP_LIST mmioFOURCC('c','m','a','p')
|
||||
#define DMUS_FOURCC_CHORD_LIST mmioFOURCC('c','h','r','d')
|
||||
#define DMUS_FOURCC_CHORDPALETTE_LIST mmioFOURCC('c','h','p','l')
|
||||
#define DMUS_FOURCC_CADENCE_LIST mmioFOURCC('c','a','d','e')
|
||||
#define DMUS_FOURCC_SIGNPOSTITEM_LIST mmioFOURCC('s','p','s','t')
|
||||
|
||||
#define DMUS_FOURCC_SIGNPOST_LIST mmioFOURCC('s','p','s','q')
|
||||
|
||||
#define DMUS_FOURCC_SCRIPT_FORM mmioFOURCC('D','M','S','C')
|
||||
#define DMUS_FOURCC_SCRIPT_CHUNK mmioFOURCC('s','c','h','d')
|
||||
#define DMUS_FOURCC_SCRIPTVERSION_CHUNK mmioFOURCC('s','c','v','e')
|
||||
#define DMUS_FOURCC_SCRIPTLANGUAGE_CHUNK mmioFOURCC('s','c','l','a')
|
||||
#define DMUS_FOURCC_SCRIPTSOURCE_CHUNK mmioFOURCC('s','c','s','r')
|
||||
|
||||
#define DMUS_FOURCC_SIGNPOST_TRACK_CHUNK mmioFOURCC('s','g','n','p')
|
||||
|
||||
#define DMUS_FOURCC_MUTE_CHUNK mmioFOURCC('m','u','t','e')
|
||||
|
||||
#define DMUS_FOURCC_TIME_STAMP_CHUNK mmioFOURCC('s','t','m','p')
|
||||
|
||||
#define DMUS_FOURCC_STYLE_TRACK_LIST mmioFOURCC('s','t','t','r')
|
||||
#define DMUS_FOURCC_STYLE_REF_LIST mmioFOURCC('s','t','r','f')
|
||||
|
||||
#define DMUS_FOURCC_PERS_TRACK_LIST mmioFOURCC('p','f','t','r')
|
||||
#define DMUS_FOURCC_PERS_REF_LIST mmioFOURCC('p','f','r','f')
|
||||
|
||||
#define DMUS_FOURCC_TEMPO_TRACK mmioFOURCC('t','e','t','r')
|
||||
|
||||
#define DMUS_FOURCC_SEQ_TRACK mmioFOURCC('s','e','q','t')
|
||||
#define DMUS_FOURCC_SEQ_LIST mmioFOURCC('e','v','t','l')
|
||||
#define DMUS_FOURCC_CURVE_LIST mmioFOURCC('c','u','r','l')
|
||||
|
||||
#define DMUS_FOURCC_SYSEX_TRACK mmioFOURCC('s','y','e','x')
|
||||
|
||||
#define DMUS_FOURCC_TIMESIGNATURE_TRACK mmioFOURCC('t','i','m','s')
|
||||
|
||||
#define DMUS_FOURCC_TIMESIGTRACK_LIST mmioFOURCC('T','I','M','S')
|
||||
#define DMUS_FOURCC_TIMESIG_CHUNK DMUS_FOURCC_TIMESIGNATURE_TRACK
|
||||
|
||||
#define DMUS_FOURCC_MARKERTRACK_LIST mmioFOURCC('M','A','R','K')
|
||||
#define DMUS_FOURCC_VALIDSTART_CHUNK mmioFOURCC('v','a','l','s')
|
||||
#define DMUS_FOURCC_PLAYMARKER_CHUNK mmioFOURCC('p','l','a','y')
|
||||
|
||||
#define DMUS_FOURCC_SEGTRACK_LIST mmioFOURCC('s','e','g','t')
|
||||
#define DMUS_FOURCC_SEGTRACK_CHUNK mmioFOURCC('s','g','t','h')
|
||||
#define DMUS_FOURCC_SEGMENTS_LIST mmioFOURCC('l','s','g','l')
|
||||
#define DMUS_FOURCC_SEGMENT_LIST mmioFOURCC('l','s','e','g')
|
||||
#define DMUS_FOURCC_SEGMENTITEM_CHUNK mmioFOURCC('s','g','i','h')
|
||||
#define DMUS_FOURCC_SEGMENTITEMNAME_CHUNK mmioFOURCC('s','n','a','m')
|
||||
|
||||
#define DMUS_FOURCC_SCRIPTTRACK_LIST mmioFOURCC('s','c','r','t')
|
||||
#define DMUS_FOURCC_SCRIPTTRACKEVENTS_LIST mmioFOURCC('s','c','r','l')
|
||||
#define DMUS_FOURCC_SCRIPTTRACKEVENT_LIST mmioFOURCC('s','c','r','e')
|
||||
#define DMUS_FOURCC_SCRIPTTRACKEVENTHEADER_CHUNK mmioFOURCC('s','c','r','h')
|
||||
#define DMUS_FOURCC_SCRIPTTRACKEVENTNAME_CHUNK mmioFOURCC('s','c','r','n')
|
||||
|
||||
#define DMUS_FOURCC_LYRICSTRACK_LIST mmioFOURCC('l','y','r','t')
|
||||
#define DMUS_FOURCC_LYRICSTRACKEVENTS_LIST mmioFOURCC('l','y','r','l')
|
||||
#define DMUS_FOURCC_LYRICSTRACKEVENT_LIST mmioFOURCC('l','y','r','e')
|
||||
#define DMUS_FOURCC_LYRICSTRACKEVENTHEADER_CHUNK mmioFOURCC('l','y','r','h')
|
||||
#define DMUS_FOURCC_LYRICSTRACKEVENTTEXT_CHUNK mmioFOURCC('l','y','r','n')
|
||||
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_TRACK_LIST mmioFOURCC('p','r','m','t')
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_LIST mmioFOURCC('p','r','o','l')
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_CHUNK mmioFOURCC('p','r','o','h')
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_LIST mmioFOURCC('p','r','p','l')
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_CHUNK mmioFOURCC('p','r','p','h')
|
||||
#define DMUS_FOURCC_PARAMCONTROLTRACK_CURVES_CHUNK mmioFOURCC('p','r','c','c')
|
||||
|
||||
#define DMUS_FOURCC_MELODYFORM_TRACK_LIST mmioFOURCC('m','f','r','m')
|
||||
#define DMUS_FOURCC_MELODYFORM_HEADER_CHUNK mmioFOURCC('m','l','f','h')
|
||||
#define DMUS_FOURCC_MELODYFORM_BODY_CHUNK mmioFOURCC('m','l','f','b')
|
||||
|
||||
#define DMUS_FOURCC_DSBC_FORM mmioFOURCC('D','S','B','C')
|
||||
#define DMUS_FOURCC_DSBD_CHUNK mmioFOURCC('d','s','b','d')
|
||||
#define DMUS_FOURCC_BSID_CHUNK mmioFOURCC('b','s','i','d')
|
||||
#define DMUS_FOURCC_DS3D_CHUNK mmioFOURCC('d','s','3','d')
|
||||
#define DMUS_FOURCC_DSBC_LIST mmioFOURCC('f','x','l','s')
|
||||
#define DMUS_FOURCC_DSFX_FORM mmioFOURCC('D','S','F','X')
|
||||
#define DMUS_FOURCC_DSFX_CHUNK mmioFOURCC('f','x','h','r')
|
||||
#define DMUS_FOURCC_DSFX_DATA mmioFOURCC('d','a','t','a')
|
||||
|
||||
/*****************************************************************************
|
||||
* Definitons
|
||||
*/
|
||||
#define DMUS_VARIATIONF_MAJOR 0x0000007F
|
||||
#define DMUS_VARIATIONF_MINOR 0x00003F80
|
||||
#define DMUS_VARIATIONF_OTHER 0x001FC000
|
||||
#define DMUS_VARIATIONF_ROOT_SCALE 0x00200000
|
||||
#define DMUS_VARIATIONF_ROOT_FLAT 0x00400000
|
||||
#define DMUS_VARIATIONF_ROOT_SHARP 0x00800000
|
||||
#define DMUS_VARIATIONF_TYPE_TRIAD 0x01000000
|
||||
#define DMUS_VARIATIONF_TYPE_6AND7 0x02000000
|
||||
#define DMUS_VARIATIONF_TYPE_COMPLEX 0x04000000
|
||||
#define DMUS_VARIATIONF_DEST_TO1 0x08000000
|
||||
#define DMUS_VARIATIONF_DEST_TO5 0x10000000
|
||||
#define DMUS_VARIATIONF_DEST_OTHER 0x40000000
|
||||
#define DMUS_VARIATIONF_MODES 0xE0000000
|
||||
#define DMUS_VARIATIONF_MODES_EX (0x20000000 | 0x80000000)
|
||||
#define DMUS_VARIATIONF_IMA25_MODE 0x00000000
|
||||
#define DMUS_VARIATIONF_DMUS_MODE 0x20000000
|
||||
|
||||
#define DMUS_PARTF_USE_MARKERS 0x1
|
||||
#define DMUS_PARTF_ALIGN_CHORDS 0x2
|
||||
#define DMUS_MARKERF_START 0x1
|
||||
#define DMUS_MARKERF_STOP 0x2
|
||||
#define DMUS_MARKERF_CHORD_ALIGN 0x4
|
||||
#define DMUS_PATTERNF_PERSIST_CONTROL 0x1
|
||||
|
||||
#define DMUS_PORTCONFIGF_DRUMSON10 1
|
||||
#define DMUS_PORTCONFIGF_USEDEFAULT 2
|
||||
|
||||
#define DMUS_BUFFERF_SHARED 1
|
||||
#define DMUS_BUFFERF_DEFINED 2
|
||||
#define DMUS_BUFFERF_MIXIN 8
|
||||
|
||||
#define DMUS_IO_INST_PATCH 1
|
||||
#define DMUS_IO_INST_BANKSELECT 2
|
||||
#define DMUS_IO_INST_ASSIGN_PATCH 8
|
||||
#define DMUS_IO_INST_NOTERANGES 16
|
||||
#define DMUS_IO_INST_PAN 32
|
||||
#define DMUS_IO_INST_VOLUME 64
|
||||
#define DMUS_IO_INST_TRANSPOSE 128
|
||||
#define DMUS_IO_INST_GM 256
|
||||
#define DMUS_IO_INST_GS 512
|
||||
#define DMUS_IO_INST_XG 1024
|
||||
#define DMUS_IO_INST_CHANNEL_PRIORITY 2048
|
||||
#define DMUS_IO_INST_USE_DEFAULT_GM_SET 4096
|
||||
#define DMUS_IO_INST_PITCHBENDRANGE 8192
|
||||
|
||||
#define DMUS_WAVETRACKF_SYNC_VAR 0x1
|
||||
#define DMUS_WAVETRACKF_PERSIST_CONTROL 0x2
|
||||
|
||||
#define DMUS_CONTAINED_OBJF_KEEP 1
|
||||
#define DMUS_CONTAINER_NOLOADS 2
|
||||
|
||||
#define DMUS_SEGIOF_REFLENGTH 1
|
||||
|
||||
#define DMUS_SONG_MAXSEGID 0x7FFFFFFF
|
||||
#define DMUS_SONG_ANYSEG 0x80000000
|
||||
#define DMUS_SONG_NOSEG 0xFFFFFFFF
|
||||
#define DMUS_SONG_NOFROMSEG 0x80000001
|
||||
|
||||
#define DMUS_SIGNPOSTF_A 1
|
||||
#define DMUS_SIGNPOSTF_B 2
|
||||
#define DMUS_SIGNPOSTF_C 4
|
||||
#define DMUS_SIGNPOSTF_D 8
|
||||
#define DMUS_SIGNPOSTF_E 0x10
|
||||
#define DMUS_SIGNPOSTF_F 0x20
|
||||
#define DMUS_SIGNPOSTF_LETTER (DMUS_SIGNPOSTF_A | DMUS_SIGNPOSTF_B | DMUS_SIGNPOSTF_C | DMUS_SIGNPOSTF_D | DMUS_SIGNPOSTF_E | DMUS_SIGNPOSTF_F)
|
||||
#define DMUS_SIGNPOSTF_1 0x100
|
||||
#define DMUS_SIGNPOSTF_2 0x200
|
||||
#define DMUS_SIGNPOSTF_3 0x400
|
||||
#define DMUS_SIGNPOSTF_4 0x800
|
||||
#define DMUS_SIGNPOSTF_5 0x1000
|
||||
#define DMUS_SIGNPOSTF_6 0x2000
|
||||
#define DMUS_SIGNPOSTF_7 0x4000
|
||||
#define DMUS_SIGNPOSTF_ROOT (DMUS_SIGNPOSTF_1 | DMUS_SIGNPOSTF_2 | DMUS_SIGNPOSTF_3 | DMUS_SIGNPOSTF_4 | DMUS_SIGNPOSTF_5 | DMUS_SIGNPOSTF_6 | DMUS_SIGNPOSTF_7)
|
||||
#define DMUS_SIGNPOSTF_CADENCE 0x8000
|
||||
|
||||
#define DMUS_CHORDMAPF_VERSION8 1
|
||||
|
||||
#define DMUS_SPOSTCADENCEF_1 2
|
||||
#define DMUS_SPOSTCADENCEF_2 4
|
||||
|
||||
|
||||
#define DMUS_SCRIPTIOF_LOAD_ALL_CONTENT 1
|
||||
#define DMUS_SCRIPTIOF_DOWNLOAD_ALL_SEGMENTS 2
|
||||
|
||||
#define DMUS_SEGMENTTRACKF_MOTIF 1
|
||||
|
||||
#define DMUS_IO_SCRIPTTRACKF_PREPARE 1
|
||||
#define DMUS_IO_SCRIPTTRACKF_QUEUE 2
|
||||
#define DMUS_IO_SCRIPTTRACKF_ATTIME 4
|
||||
|
||||
/*****************************************************************************
|
||||
* Structures
|
||||
*/
|
||||
typedef struct _DMUS_IO_SEQ_ITEM
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
MUSIC_TIME mtDuration;
|
||||
DWORD dwPChannel;
|
||||
short nOffset;
|
||||
BYTE bStatus;
|
||||
BYTE bByte1;
|
||||
BYTE bByte2;
|
||||
} DMUS_IO_SEQ_ITEM;
|
||||
|
||||
typedef struct _DMUS_IO_CURVE_ITEM
|
||||
{
|
||||
MUSIC_TIME mtStart;
|
||||
MUSIC_TIME mtDuration;
|
||||
MUSIC_TIME mtResetDuration;
|
||||
DWORD dwPChannel;
|
||||
short nOffset;
|
||||
short nStartValue;
|
||||
short nEndValue;
|
||||
short nResetValue;
|
||||
BYTE bType;
|
||||
BYTE bCurveShape;
|
||||
BYTE bCCData;
|
||||
BYTE bFlags;
|
||||
WORD wParamType;
|
||||
WORD wMergeIndex;
|
||||
} DMUS_IO_CURVE_ITEM;
|
||||
|
||||
typedef struct _DMUS_IO_TEMPO_ITEM
|
||||
{
|
||||
MUSIC_TIME lTime;
|
||||
double dblTempo;
|
||||
} DMUS_IO_TEMPO_ITEM;
|
||||
|
||||
typedef struct _DMUS_IO_SYSEX_ITEM
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
DWORD dwPChannel;
|
||||
DWORD dwSysExLength;
|
||||
} DMUS_IO_SYSEX_ITEM;
|
||||
|
||||
typedef DMUS_CHORD_KEY DMUS_CHORD_PARAM;
|
||||
|
||||
typedef struct _DMUS_RHYTHM_PARAM
|
||||
{
|
||||
DMUS_TIMESIGNATURE TimeSig;
|
||||
DWORD dwRhythmPattern;
|
||||
} DMUS_RHYTHM_PARAM;
|
||||
|
||||
typedef struct _DMUS_TEMPO_PARAM
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
double dblTempo;
|
||||
} DMUS_TEMPO_PARAM;
|
||||
|
||||
typedef struct _DMUS_MUTE_PARAM
|
||||
{
|
||||
DWORD dwPChannel;
|
||||
DWORD dwPChannelMap;
|
||||
BOOL fMute;
|
||||
} DMUS_MUTE_PARAM;
|
||||
|
||||
|
||||
typedef enum enumDMUS_VARIATIONT_TYPES
|
||||
{
|
||||
DMUS_VARIATIONT_SEQUENTIAL = 0,
|
||||
DMUS_VARIATIONT_RANDOM = 1,
|
||||
DMUS_VARIATIONT_RANDOM_START = 2,
|
||||
DMUS_VARIATIONT_NO_REPEAT = 3,
|
||||
DMUS_VARIATIONT_RANDOM_ROW = 4
|
||||
} DMUS_VARIATIONT_TYPES;
|
||||
|
||||
typedef struct _DMUS_IO_TIMESIG
|
||||
{
|
||||
BYTE bBeatsPerMeasure;
|
||||
BYTE bBeat;
|
||||
WORD wGridsPerBeat;
|
||||
} DMUS_IO_TIMESIG;
|
||||
|
||||
typedef struct _DMUS_IO_STYLE
|
||||
{
|
||||
DMUS_IO_TIMESIG timeSig;
|
||||
double dblTempo;
|
||||
} DMUS_IO_STYLE;
|
||||
|
||||
typedef struct _DMUS_IO_VERSION
|
||||
{
|
||||
DWORD dwVersionMS;
|
||||
DWORD dwVersionLS;
|
||||
} DMUS_IO_VERSION;
|
||||
|
||||
typedef struct _DMUS_IO_PATTERN
|
||||
{
|
||||
DMUS_IO_TIMESIG timeSig;
|
||||
BYTE bGrooveBottom;
|
||||
BYTE bGrooveTop;
|
||||
WORD wEmbellishment;
|
||||
WORD wNbrMeasures;
|
||||
BYTE bDestGrooveBottom;
|
||||
BYTE bDestGrooveTop;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_PATTERN;
|
||||
|
||||
typedef struct _DMUS_IO_STYLEPART
|
||||
{
|
||||
DMUS_IO_TIMESIG timeSig;
|
||||
DWORD dwVariationChoices[32];
|
||||
GUID guidPartID;
|
||||
WORD wNbrMeasures;
|
||||
BYTE bPlayModeFlags;
|
||||
BYTE bInvertUpper;
|
||||
BYTE bInvertLower;
|
||||
BYTE bPad[3];
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_STYLEPART;
|
||||
|
||||
typedef struct _DMUS_IO_PARTREF
|
||||
{
|
||||
GUID guidPartID;
|
||||
WORD wLogicalPartID;
|
||||
BYTE bVariationLockID;
|
||||
BYTE bSubChordLevel;
|
||||
BYTE bPriority;
|
||||
BYTE bRandomVariation;
|
||||
WORD wPad;
|
||||
DWORD dwPChannel;
|
||||
} DMUS_IO_PARTREF;
|
||||
|
||||
typedef struct _DMUS_IO_STYLENOTE
|
||||
{
|
||||
MUSIC_TIME mtGridStart;
|
||||
DWORD dwVariation;
|
||||
MUSIC_TIME mtDuration;
|
||||
short nTimeOffset;
|
||||
WORD wMusicValue;
|
||||
BYTE bVelocity;
|
||||
BYTE bTimeRange;
|
||||
BYTE bDurRange;
|
||||
BYTE bVelRange;
|
||||
BYTE bInversionID;
|
||||
BYTE bPlayModeFlags;
|
||||
BYTE bNoteFlags;
|
||||
} DMUS_IO_STYLENOTE;
|
||||
|
||||
typedef struct _DMUS_IO_STYLECURVE
|
||||
{
|
||||
MUSIC_TIME mtGridStart;
|
||||
DWORD dwVariation;
|
||||
MUSIC_TIME mtDuration;
|
||||
MUSIC_TIME mtResetDuration;
|
||||
short nTimeOffset;
|
||||
short nStartValue;
|
||||
short nEndValue;
|
||||
short nResetValue;
|
||||
BYTE bEventType;
|
||||
BYTE bCurveShape;
|
||||
BYTE bCCData;
|
||||
BYTE bFlags;
|
||||
WORD wParamType;
|
||||
WORD wMergeIndex;
|
||||
} DMUS_IO_STYLECURVE;
|
||||
|
||||
typedef struct _DMUS_IO_STYLEMARKER
|
||||
{
|
||||
MUSIC_TIME mtGridStart;
|
||||
DWORD dwVariation;
|
||||
WORD wMarkerFlags;
|
||||
} DMUS_IO_STYLEMARKER;
|
||||
|
||||
typedef struct _DMUS_IO_STYLERESOLUTION
|
||||
{
|
||||
DWORD dwVariation;
|
||||
WORD wMusicValue;
|
||||
BYTE bInversionID;
|
||||
BYTE bPlayModeFlags;
|
||||
} DMUS_IO_STYLERESOLUTION;
|
||||
|
||||
typedef struct _DMUS_IO_STYLE_ANTICIPATION
|
||||
{
|
||||
MUSIC_TIME mtGridStart;
|
||||
DWORD dwVariation;
|
||||
short nTimeOffset;
|
||||
BYTE bTimeRange;
|
||||
} DMUS_IO_STYLE_ANTICIPATION;
|
||||
|
||||
typedef struct _DMUS_IO_MOTIFSETTINGS
|
||||
{
|
||||
DWORD dwRepeats;
|
||||
MUSIC_TIME mtPlayStart;
|
||||
MUSIC_TIME mtLoopStart;
|
||||
MUSIC_TIME mtLoopEnd;
|
||||
DWORD dwResolution;
|
||||
} DMUS_IO_MOTIFSETTINGS;
|
||||
|
||||
|
||||
typedef enum enumDMUS_PATTERNT_TYPES
|
||||
{
|
||||
DMUS_PATTERNT_RANDOM = 0,
|
||||
DMUS_PATTERNT_REPEAT = 1,
|
||||
DMUS_PATTERNT_SEQUENTIAL = 2,
|
||||
DMUS_PATTERNT_RANDOM_START = 3,
|
||||
DMUS_PATTERNT_NO_REPEAT = 4,
|
||||
DMUS_PATTERNT_RANDOM_ROW = 5
|
||||
} DMUS_PATTERNT_TYPES;
|
||||
|
||||
typedef struct _DMUS_IO_CHORD
|
||||
{
|
||||
WCHAR wszName[16];
|
||||
MUSIC_TIME mtTime;
|
||||
WORD wMeasure;
|
||||
BYTE bBeat;
|
||||
BYTE bFlags;
|
||||
} DMUS_IO_CHORD;
|
||||
|
||||
typedef struct _DMUS_IO_SUBCHORD
|
||||
{
|
||||
DWORD dwChordPattern;
|
||||
DWORD dwScalePattern;
|
||||
DWORD dwInversionPoints;
|
||||
DWORD dwLevels;
|
||||
BYTE bChordRoot;
|
||||
BYTE bScaleRoot;
|
||||
} DMUS_IO_SUBCHORD;
|
||||
|
||||
typedef struct _DMUS_IO_COMMAND
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
WORD wMeasure;
|
||||
BYTE bBeat;
|
||||
BYTE bCommand;
|
||||
BYTE bGrooveLevel;
|
||||
BYTE bGrooveRange;
|
||||
BYTE bRepeatMode;
|
||||
} DMUS_IO_COMMAND;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_TOOL_HEADER
|
||||
{
|
||||
GUID guidClassID;
|
||||
long lIndex;
|
||||
DWORD cPChannels;
|
||||
FOURCC ckid;
|
||||
FOURCC fccType;
|
||||
DWORD dwPChannels[1];
|
||||
} DMUS_IO_TOOL_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_PORTCONFIG_HEADER
|
||||
{
|
||||
GUID guidPort;
|
||||
DWORD dwPChannelBase;
|
||||
DWORD dwPChannelCount;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_PORTCONFIG_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_PCHANNELTOBUFFER_HEADER
|
||||
{
|
||||
DWORD dwPChannelBase;
|
||||
DWORD dwPChannelCount;
|
||||
DWORD dwBufferCount;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_PCHANNELTOBUFFER_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_BUFFER_ATTRIBUTES_HEADER
|
||||
{
|
||||
GUID guidBufferID;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_BUFFER_ATTRIBUTES_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_BAND_TRACK_HEADER
|
||||
{
|
||||
BOOL bAutoDownload;
|
||||
} DMUS_IO_BAND_TRACK_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_BAND_ITEM_HEADER
|
||||
{
|
||||
MUSIC_TIME lBandTime;
|
||||
} DMUS_IO_BAND_ITEM_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_BAND_ITEM_HEADER2
|
||||
{
|
||||
MUSIC_TIME lBandTimeLogical;
|
||||
MUSIC_TIME lBandTimePhysical;
|
||||
} DMUS_IO_BAND_ITEM_HEADER2;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_INSTRUMENT
|
||||
{
|
||||
DWORD dwPatch;
|
||||
DWORD dwAssignPatch;
|
||||
DWORD dwNoteRanges[4];
|
||||
DWORD dwPChannel;
|
||||
DWORD dwFlags;
|
||||
BYTE bPan;
|
||||
BYTE bVolume;
|
||||
short nTranspose;
|
||||
DWORD dwChannelPriority;
|
||||
short nPitchBendRange;
|
||||
} DMUS_IO_INSTRUMENT;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_WAVE_HEADER
|
||||
{
|
||||
REFERENCE_TIME rtReadAhead;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_WAVE_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_WAVE_TRACK_HEADER
|
||||
{
|
||||
long lVolume;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_WAVE_TRACK_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_WAVE_PART_HEADER
|
||||
{
|
||||
long lVolume;
|
||||
DWORD dwVariations;
|
||||
DWORD dwPChannel;
|
||||
DWORD dwLockToPart;
|
||||
DWORD dwFlags;
|
||||
DWORD dwIndex;
|
||||
} DMUS_IO_WAVE_PART_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_WAVE_ITEM_HEADER
|
||||
{
|
||||
long lVolume;
|
||||
long lPitch;
|
||||
DWORD dwVariations;
|
||||
REFERENCE_TIME rtTime;
|
||||
REFERENCE_TIME rtStartOffset;
|
||||
REFERENCE_TIME rtReserved;
|
||||
REFERENCE_TIME rtDuration;
|
||||
MUSIC_TIME mtLogicalTime;
|
||||
DWORD dwLoopStart;
|
||||
DWORD dwLoopEnd;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_WAVE_ITEM_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_CONTAINER_HEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_CONTAINER_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_CONTAINED_OBJECT_HEADER
|
||||
{
|
||||
GUID guidClassID;
|
||||
DWORD dwFlags;
|
||||
FOURCC ckid;
|
||||
FOURCC fccType;
|
||||
} DMUS_IO_CONTAINED_OBJECT_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SEGMENT_HEADER
|
||||
{
|
||||
DWORD dwRepeats;
|
||||
MUSIC_TIME mtLength;
|
||||
MUSIC_TIME mtPlayStart;
|
||||
MUSIC_TIME mtLoopStart;
|
||||
MUSIC_TIME mtLoopEnd;
|
||||
DWORD dwResolution;
|
||||
REFERENCE_TIME rtLength;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved;
|
||||
} DMUS_IO_SEGMENT_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_TRACK_HEADER
|
||||
{
|
||||
GUID guidClassID;
|
||||
DWORD dwPosition;
|
||||
DWORD dwGroup;
|
||||
FOURCC ckid;
|
||||
FOURCC fccType;
|
||||
} DMUS_IO_TRACK_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_TRACK_EXTRAS_HEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
DWORD dwPriority;
|
||||
} DMUS_IO_TRACK_EXTRAS_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SONG_HEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
DWORD dwStartSegID;
|
||||
} DMUS_IO_SONG_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_SEGREF_HEADER
|
||||
{
|
||||
DWORD dwID;
|
||||
DWORD dwSegmentID;
|
||||
DWORD dwToolGraphID;
|
||||
DWORD dwFlags;
|
||||
DWORD dwNextPlayID;
|
||||
} DMUS_IO_SEGREF_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_TRACKREF_HEADER
|
||||
{
|
||||
DWORD dwSegmentID;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_TRACKREF_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_TRANSITION_DEF
|
||||
{
|
||||
DWORD dwSegmentID;
|
||||
DWORD dwTransitionID;
|
||||
DWORD dwPlayFlags;
|
||||
} DMUS_IO_TRANSITION_DEF;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_REFERENCE
|
||||
{
|
||||
GUID guidClassID;
|
||||
DWORD dwValidData;
|
||||
} DMUS_IO_REFERENCE;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_CHORDMAP
|
||||
{
|
||||
WCHAR wszLoadName[20];
|
||||
DWORD dwScalePattern;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_CHORDMAP;
|
||||
|
||||
typedef struct _DMUS_IO_CHORDMAP_SUBCHORD
|
||||
{
|
||||
DWORD dwChordPattern;
|
||||
DWORD dwScalePattern;
|
||||
DWORD dwInvertPattern;
|
||||
BYTE bChordRoot;
|
||||
BYTE bScaleRoot;
|
||||
WORD wCFlags;
|
||||
DWORD dwLevels;
|
||||
} DMUS_IO_CHORDMAP_SUBCHORD, DMUS_IO_PERS_SUBCHORD;
|
||||
|
||||
typedef struct _DMUS_IO_CHORDENTRY
|
||||
{
|
||||
DWORD dwFlags;
|
||||
WORD wConnectionID;
|
||||
} DMUS_IO_CHORDENTRY;
|
||||
|
||||
typedef struct _DMUS_IO_NEXTCHORD
|
||||
{
|
||||
DWORD dwFlags;
|
||||
WORD nWeight;
|
||||
WORD wMinBeats;
|
||||
WORD wMaxBeats;
|
||||
WORD wConnectionID;
|
||||
} DMUS_IO_NEXTCHORD;
|
||||
|
||||
typedef struct _DMUS_IO_CHORDMAP_SIGNPOST
|
||||
{
|
||||
DWORD dwChords;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_CHORDMAP_SIGNPOST, DMUS_IO_PERS_SIGNPOST;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SCRIPT_HEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_SCRIPT_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SIGNPOST
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
DWORD dwChords;
|
||||
WORD wMeasure;
|
||||
} DMUS_IO_SIGNPOST;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_MUTE
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
DWORD dwPChannel;
|
||||
DWORD dwPChannelMap;
|
||||
} DMUS_IO_MUTE;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_TIMESIGNATURE_ITEM
|
||||
{
|
||||
MUSIC_TIME lTime;
|
||||
BYTE bBeatsPerMeasure;
|
||||
BYTE bBeat;
|
||||
WORD wGridsPerBeat;
|
||||
} DMUS_IO_TIMESIGNATURE_ITEM;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_VALID_START
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
} DMUS_IO_VALID_START;
|
||||
|
||||
typedef struct _DMUS_IO_PLAY_MARKER
|
||||
{
|
||||
MUSIC_TIME mtTime;
|
||||
} DMUS_IO_PLAY_MARKER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SEGMENT_TRACK_HEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_SEGMENT_TRACK_HEADER;
|
||||
|
||||
typedef struct _DMUS_IO_SEGMENT_ITEM_HEADER
|
||||
{
|
||||
MUSIC_TIME lTimeLogical;
|
||||
MUSIC_TIME lTimePhysical;
|
||||
DWORD dwPlayFlags;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_SEGMENT_ITEM_HEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_SCRIPTTRACK_EVENTHEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
MUSIC_TIME lTimeLogical;
|
||||
MUSIC_TIME lTimePhysical;
|
||||
} DMUS_IO_SCRIPTTRACK_EVENTHEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_LYRICSTRACK_EVENTHEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
DWORD dwTimingFlags;
|
||||
MUSIC_TIME lTimeLogical;
|
||||
MUSIC_TIME lTimePhysical;
|
||||
} DMUS_IO_LYRICSTRACK_EVENTHEADER;
|
||||
|
||||
|
||||
typedef struct _DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
GUID guidTimeFormat;
|
||||
DWORD dwPChannel;
|
||||
DWORD dwStage;
|
||||
DWORD dwBuffer;
|
||||
GUID guidObject;
|
||||
DWORD dwIndex;
|
||||
} DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER;
|
||||
|
||||
typedef struct _DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER
|
||||
{
|
||||
DWORD dwFlags;
|
||||
DWORD dwIndex;
|
||||
} DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER;
|
||||
|
||||
typedef struct _DMUS_IO_PARAMCONTROLTRACK_CURVEINFO
|
||||
{
|
||||
MUSIC_TIME mtStartTime;
|
||||
MUSIC_TIME mtEndTime;
|
||||
float fltStartValue;
|
||||
float fltEndValue;
|
||||
DWORD dwCurveType;
|
||||
DWORD dwFlags;
|
||||
} DMUS_IO_PARAMCONTROLTRACK_CURVEINFO;
|
||||
|
||||
|
||||
typedef DMUS_CONNECTION_RULE DMUS_IO_CONNECTION_RULE;
|
||||
|
||||
typedef DMUS_MELODY_FRAGMENT DMUS_IO_MELODY_FRAGMENT;
|
||||
|
||||
typedef struct _DMUS_IO_MELFORM
|
||||
{
|
||||
DWORD dwPlaymode;
|
||||
} DMUS_IO_MELFORM;
|
||||
|
||||
|
||||
typedef struct _DSOUND_IO_DSBUFFERDESC
|
||||
{
|
||||
DWORD dwFlags;
|
||||
WORD nChannels;
|
||||
LONG lVolume;
|
||||
LONG lPan;
|
||||
DWORD dwReserved;
|
||||
} DSOUND_IO_DSBUFFERDESC;
|
||||
|
||||
typedef struct _DSOUND_IO_DSBUSID
|
||||
{
|
||||
DWORD busid[1];
|
||||
} DSOUND_IO_DSBUSID;
|
||||
|
||||
typedef struct _DSOUND_IO_3D
|
||||
{
|
||||
GUID guid3DAlgorithm;
|
||||
DS3DBUFFER ds3d;
|
||||
} DSOUND_IO_3D;
|
||||
|
||||
typedef struct _DSOUND_IO_DXDMO_HEADER
|
||||
{
|
||||
DWORD dwEffectFlags;
|
||||
GUID guidDSFXClass;
|
||||
GUID guidReserved;
|
||||
GUID guidSendBuffer;
|
||||
DWORD dwReserved;
|
||||
} DSOUND_IO_DXDMO_HEADER;
|
||||
|
||||
typedef struct _DSOUND_IO_DXDMO_DATA
|
||||
{
|
||||
DWORD data[1];
|
||||
} DSOUND_IO_DXDMO_DATA;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_DMUSIC_FILEFORMATS_H */
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,207 @@
|
|||
/*
|
||||
* DirectMusic Software Synth Definitions
|
||||
*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* 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_DMUSIC_SOFTWARESYNTH_H
|
||||
#define __WINE_DMUSIC_SOFTWARESYNTH_H
|
||||
|
||||
#include "dmusicc.h"
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Definitions
|
||||
*/
|
||||
#define REGSTR_PATH_SOFTWARESYNTHS "Software\\Microsoft\\DirectMusic\\SoftwareSynths"
|
||||
#define REFRESH_F_LASTBUFFER 0x00000001
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
|
||||
DEFINE_GUID(IID_IDirectMusicSynth, 0x9823661,0x5c85,0x11d2,0xaf,0xa6,0x0,0xaa,0x0,0x24,0xd8,0xb6);
|
||||
typedef struct IDirectMusicSynth IDirectMusicSynth, *LPDIRECTMUSICSYNTH;
|
||||
DEFINE_GUID(IID_IDirectMusicSynth8, 0x53cab625,0x2711,0x4c9f,0x9d,0xe7,0x1b,0x7f,0x92,0x5f,0x6f,0xc8);
|
||||
typedef struct IDirectMusicSynth8 IDirectMusicSynth8, *LPDIRECTMUSICSYNTH8;
|
||||
DEFINE_GUID(IID_IDirectMusicSynthSink, 0x9823663,0x5c85,0x11d2,0xaf,0xa6,0x0,0xaa, 0x0,0x24,0xd8,0xb6);
|
||||
typedef struct IDirectMusicSynthSink IDirectMusicSynthSink, *LPDIRECTMUSICSYNTHSINK;
|
||||
DEFINE_GUID(GUID_DMUS_PROP_SetSynthSink, 0x0a3a5ba5,0x37b6,0x11d2,0xb9,0xf9,0x00,0x00,0xf8,0x75,0xac,0x12);
|
||||
DEFINE_GUID(GUID_DMUS_PROP_SinkUsesDSound, 0xbe208857,0x8952,0x11d2,0xba,0x1c,0x00,0x00,0xf8,0x75,0xac,0x12);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Structures
|
||||
*/
|
||||
#ifndef _DMUS_VOICE_STATE_DEFINED
|
||||
#define _DMUS_VOICE_STATE_DEFINED
|
||||
|
||||
typedef struct _DMUS_VOICE_STATE
|
||||
{
|
||||
BOOL bExists;
|
||||
SAMPLE_POSITION spPosition;
|
||||
} DMUS_VOICE_STATE;
|
||||
|
||||
#endif /* _DMUS_VOICE_STATE_DEFINED */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicSynth interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicSynth
|
||||
#define IDirectMusicSynth_METHODS \
|
||||
/*** IDirectMusicSynth methods ***/ \
|
||||
ICOM_METHOD1(HRESULT, Open, LPDMUS_PORTPARAMS,pPortParams) \
|
||||
ICOM_METHOD (HRESULT, Close) \
|
||||
ICOM_METHOD1(HRESULT, SetNumChannelGroups, DWORD,dwGroups) \
|
||||
ICOM_METHOD3(HRESULT, Download, LPHANDLE,phDownload, LPVOID,pvData, LPBOOL,pbFree) \
|
||||
ICOM_METHOD3(HRESULT, Unload, HANDLE,hDownload, HRESULT,(CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE,hUserData) \
|
||||
ICOM_METHOD3(HRESULT, PlayBuffer, REFERENCE_TIME,rt, LPBYTE,pbBuffer, DWORD,cbBuffer) \
|
||||
ICOM_METHOD1(HRESULT, GetRunningStats, LPDMUS_SYNTHSTATS,pStats) \
|
||||
ICOM_METHOD1(HRESULT, GetPortCaps, LPDMUS_PORTCAPS,pCaps) \
|
||||
ICOM_METHOD1(HRESULT, SetMasterClock, IReferenceClock*,pClock) \
|
||||
ICOM_METHOD1(HRESULT, GetLatencyClock, IReferenceClock**,ppClock) \
|
||||
ICOM_METHOD1(HRESULT, Activate, BOOL,fEnable) \
|
||||
ICOM_METHOD1(HRESULT, SetSynthSink, IDirectMusicSynthSink*,pSynthSink) \
|
||||
ICOM_METHOD3(HRESULT, Render, short*,pBuffer, DWORD,dwLength, LONGLONG,llPosition) \
|
||||
ICOM_METHOD3(HRESULT, SetChannelPriority, DWORD,dwChannelGroup, DWORD,dwChannel, DWORD,dwPriority) \
|
||||
ICOM_METHOD3(HRESULT, GetChannelPriority, DWORD,dwChannelGroup, DWORD,dwChannel, LPDWORD,pdwPriority) \
|
||||
ICOM_METHOD2(HRESULT, GetFormat, LPWAVEFORMATEX,pWaveFormatEx, LPDWORD,pdwWaveFormatExSiz) \
|
||||
ICOM_METHOD1(HRESULT, GetAppend, DWORD*,pdwAppend)
|
||||
|
||||
/*** IDirectMusicSynth methods ***/
|
||||
#define IDirectMusicSynth_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicSynth_METHODS
|
||||
ICOM_DEFINE(IDirectMusicSynth,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicSynth_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicSynth_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicSynth_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicSynth methods ***/
|
||||
#define IDirectMusicSynth_Open(p,a) ICOM_CALL1(Open,p,a)
|
||||
#define IDirectMusicSynth_Close(p) ICOM_CALL (Close,p)
|
||||
#define IDirectMusicSynth_SetNumChannelGroups(p,a) ICOM_CALL1(SetNumChannelGroups,p,a)
|
||||
#define IDirectMusicSynth_Download(p,a,b,c) ICOM_CALL3(Download,p,a,b,c)
|
||||
#define IDirectMusicSynth_Unload(p,a,b,c) ICOM_CALL3(Unload,p,a,b,c)
|
||||
#define IDirectMusicSynth_PlayBuffer(p,a,b,c) ICOM_CALL3(PlayBuffer,p,a,b,c)
|
||||
#define IDirectMusicSynth_GetRunningStats(p,a) ICOM_CALL1(GetRunningStats,p,a)
|
||||
#define IDirectMusicSynth_GetPortCaps(p,a) ICOM_CALL1(GetPortCaps,p,a)
|
||||
#define IDirectMusicSynth_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
|
||||
#define IDirectMusicSynth_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
|
||||
#define IDirectMusicSynth_Activate(p,a) ICOM_CALL1(Activate,p,a)
|
||||
#define IDirectMusicSynth_SetSynthSink(p,a) ICOM_CALL1(SetSynthSink,p,a)
|
||||
#define IDirectMusicSynth_Render(p,a,b,c) ICOM_CALL3(Render,p,a,b,c)
|
||||
#define IDirectMusicSynth_SetChannelPriority(p,a,b,c) ICOM_CALL3(SetChannelPriority,p,a,b,c)
|
||||
#define IDirectMusicSynth_GetChannelPriority(p,a,b,c) ICOM_CALL3(GetChannelPriority,p,a,b,c)
|
||||
#define IDirectMusicSynth_GetFormat(p,a,b) ICOM_CALL2(GetFormat,p,a,b)
|
||||
#define IDirectMusicSynth_GetAppend(p,a) ICOM_CALL1(GetAppend,p,a)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicSynth8 interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicSynth8
|
||||
#define IDirectMusicSynth8_METHODS \
|
||||
/*** IDirectMusicSynth8 methods ***/ \
|
||||
ICOM_METHOD10(HRESULT, PlayVoice, REFERENCE_TIME,rt, DWORD,dwVoiceId, DWORD,dwChannelGroup, DWORD,dwChannel, DWORD,dwDLId, long,prPitch, long,vrVolume, SAMPLE_TIME,stVoiceStart, SAMPLE_TIME,stLoopStart, SAMPLE_TIME,stLoopEnd) \
|
||||
ICOM_METHOD2(HRESULT, StopVoice, REFERENCE_TIME,rt, DWORD,dwVoiceId) \
|
||||
ICOM_METHOD3(HRESULT, GetVoiceState, DWORD,dwVoice[], DWORD,cbVoice, DMUS_VOICE_STATE,dwVoiceState[]) \
|
||||
ICOM_METHOD2(HRESULT, Refresh, DWORD,dwDownloadID, DWORD,dwFlags) \
|
||||
ICOM_METHOD4(HRESULT, AssignChannelToBuses, DWORD,dwChannelGroup, DWORD,dwChannel, LPDWORD,pdwBuses, DWORD,cBuses)
|
||||
|
||||
/*** IDirectMusicSynth methods ***/
|
||||
#define IDirectMusicSynth8_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicSynth_METHODS \
|
||||
IDirectMusicSynth8_METHODS
|
||||
ICOM_DEFINE(IDirectMusicSynth8,IDirectMusicSynth)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicSynth8_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicSynth8_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicSynth8_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicSynth methods ***/
|
||||
#define IDirectMusicSynth8_Open(p,a) ICOM_CALL1(Open,p,a)
|
||||
#define IDirectMusicSynth8_Close(p) ICOM_CALL (Close,p)
|
||||
#define IDirectMusicSynth8_SetNumChannelGroups(p,a) ICOM_CALL1(SetNumChannelGroups,p,a)
|
||||
#define IDirectMusicSynth8_Download(p,a,b,c) ICOM_CALL3(Download,p,a,b,c)
|
||||
#define IDirectMusicSynth8_Unload(p,a,b,c) ICOM_CALL3(Unload,p,a,b,c)
|
||||
#define IDirectMusicSynth8_PlayBuffer(p,a,b,c) ICOM_CALL3(PlayBuffer,p,a,b,c)
|
||||
#define IDirectMusicSynth8_GetRunningStats(p,a) ICOM_CALL1(GetRunningStats,p,a)
|
||||
#define IDirectMusicSynth8_GetPortCaps(p,a) ICOM_CALL1(GetPortCaps,p,a)
|
||||
#define IDirectMusicSynth8_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
|
||||
#define IDirectMusicSynth8_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
|
||||
#define IDirectMusicSynth8_Activate(p,a) ICOM_CALL1(Activate,p,a)
|
||||
#define IDirectMusicSynth8_SetSynthSink(p,a) ICOM_CALL1(SetSynthSink,p,a)
|
||||
#define IDirectMusicSynth8_Render(p,a,b,c) ICOM_CALL3(Render,p,a,b,c)
|
||||
#define IDirectMusicSynth8_SetChannelPriority(p,a,b,c) ICOM_CALL3(SetChannelPriority,p,a,b,c)
|
||||
#define IDirectMusicSynth8_GetChannelPriority(p,a,b,c) ICOM_CALL3(GetChannelPriority,p,a,b,c)
|
||||
#define IDirectMusicSynth8_GetFormat(p,a,b) ICOM_CALL2(GetFormat,p,a,b)
|
||||
#define IDirectMusicSynth8_GetAppend(p,a) ICOM_CALL1(GetAppend,p,a)
|
||||
/*** IDirectMusicSynth8 methods ***/
|
||||
#define IDirectMusicSynth8_PlayVoice(p,a,b,c,d,e,f,g,h,i,j) ICOM_CALL10(PlayVoice,p,a,b,c,d,e,f,g,h,i,j)
|
||||
#define IDirectMusicSynth8_StopVoice(p,a,b) ICOM_CALL2(StopVoice,p,a,b)
|
||||
#define IDirectMusicSynth8_GetVoiceState(p,a,b,c) ICOM_CALL3(GetVoiceState,p,a,b,c)
|
||||
#define IDirectMusicSynth8_Refresh(p,a,b) ICOM_CALL2(Refresh,p,a,b)
|
||||
#define IDirectMusicSynth8_AssignChannelToBuses(p,a,b,c,d) ICOM_CALL4(AssignChannelToBuses,p,a,b,c,d)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusicSynthSink interface
|
||||
*/
|
||||
#undef ICOM_INTERFACE
|
||||
#define ICOM_INTERFACE IDirectMusicSynthSink
|
||||
#define IDirectMusicSynthSink_METHODS \
|
||||
/*** IDirectMusicSynthSink methods ***/ \
|
||||
ICOM_METHOD1(HRESULT, Init, IDirectMusicSynth*,pSynth) \
|
||||
ICOM_METHOD1(HRESULT, SetMasterClock, IReferenceClock*,pClock) \
|
||||
ICOM_METHOD1(HRESULT, GetLatencyClock, IReferenceClock**,ppClock) \
|
||||
ICOM_METHOD1(HRESULT, Activate, BOOL,fEnable) \
|
||||
ICOM_METHOD2(HRESULT, SampleToRefTime, LONGLONG,llSampleTime, REFERENCE_TIME*,prfTime) \
|
||||
ICOM_METHOD2(HRESULT, RefTimeToSample, REFERENCE_TIME,rfTime, LONGLONG*,pllSampleTime) \
|
||||
ICOM_METHOD2(HRESULT, SetDirectSound, LPDIRECTSOUND,pDirectSound, LPDIRECTSOUNDBUFFER,pDirectSoundBuffer) \
|
||||
ICOM_METHOD1(HRESULT, GetDesiredBufferSize, LPDWORD,pdwBufferSizeInSamples)
|
||||
|
||||
/*** IDirectMusicSynthSink methods ***/
|
||||
#define IDirectMusicSynthSink_IMETHODS \
|
||||
IUnknown_IMETHODS \
|
||||
IDirectMusicSynthSink_METHODS
|
||||
ICOM_DEFINE(IDirectMusicSynthSink,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectMusicSynthSink_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
||||
#define IDirectMusicSynthSink_AddRef(p) ICOM_CALL (AddRef,p)
|
||||
#define IDirectMusicSynthSink_Release(p) ICOM_CALL (Release,p)
|
||||
/*** IDirectMusicSynth methods ***/
|
||||
#define IDirectMusicSynthSink_Init(p,a) ICOM_CALL1(Init,p,a)
|
||||
#define IDirectMusicSynthSink_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
|
||||
#define IDirectMusicSynthSink_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
|
||||
#define IDirectMusicSynthSink_Activate(p,a) ICOM_CALL1(Activate,p,a)
|
||||
#define IDirectMusicSynthSink_SampleToRefTime(p,a,b) ICOM_CALL2(SampleToRefTime,p,a,b)
|
||||
#define IDirectMusicSynthSink_RefTimeToSample(p,a,b) ICOM_CALL2(RefTimeToSample,p,a,b)
|
||||
#define IDirectMusicSynthSink_SetDirectSound(p,a,b) ICOM_CALL2(SetDirectSound,p,a,b)
|
||||
#define IDirectMusicSynthSink_GetDesiredBufferSize(p,a) ICOM_CALL1(GetDesiredBufferSize,p,a)
|
||||
|
||||
#endif /* __WINE_DMUSIC_SOFTWARESYNTH_H */
|
|
@ -34,6 +34,9 @@
|
|||
#include "ddraw.h"
|
||||
#include "dsound.h"
|
||||
#include "dmusicc.h"
|
||||
#include "dmusici.h"
|
||||
#include "dmusics.h"
|
||||
#include "dmplugin.h"
|
||||
#include "dplay.h"
|
||||
#include "dplobby.h"
|
||||
#include "dinput.h"
|
||||
|
|
Loading…
Reference in New Issue