2003-07-22 00:10:14 +02:00
|
|
|
/* IDirectMusic8 Implementation
|
2003-03-21 01:42:38 +01:00
|
|
|
*
|
2004-01-20 01:21:40 +01:00
|
|
|
* Copyright (C) 2003-2004 Rok Mandeljc
|
2003-03-21 01:42:38 +01:00
|
|
|
*
|
2007-05-30 12:54:07 +02:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2003-03-21 01:42:38 +01:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-05-30 12:54:07 +02:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2003-03-21 01:42:38 +01:00
|
|
|
*
|
2007-05-30 12:54:07 +02:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-03-21 01:42:38 +01:00
|
|
|
*/
|
|
|
|
#include "dmusic_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(dmusic);
|
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
/* IDirectMusic8Impl IUnknown part: */
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_QueryInterface (LPDIRECTMUSIC8 iface, REFIID riid, LPVOID *ppobj) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2004-02-25 02:30:03 +01:00
|
|
|
TRACE("(%p, %s, %p)\n", This, debugstr_dmguid(riid), ppobj);
|
2003-04-08 23:42:00 +02:00
|
|
|
|
2003-08-23 01:53:27 +02:00
|
|
|
if (IsEqualIID (riid, &IID_IUnknown) ||
|
2004-01-20 01:21:40 +01:00
|
|
|
IsEqualIID (riid, &IID_IDirectMusic) ||
|
2003-08-23 01:53:27 +02:00
|
|
|
IsEqualIID (riid, &IID_IDirectMusic2) ||
|
|
|
|
IsEqualIID (riid, &IID_IDirectMusic8)) {
|
2006-06-10 11:57:22 +02:00
|
|
|
IUnknown_AddRef(iface);
|
2003-04-08 23:42:00 +02:00
|
|
|
*ppobj = This;
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
2003-08-23 01:53:27 +02:00
|
|
|
|
2004-02-25 02:30:03 +01:00
|
|
|
WARN("(%p, %s, %p): not found\n", This, debugstr_dmguid(riid), ppobj);
|
2003-04-08 23:42:00 +02:00
|
|
|
return E_NOINTERFACE;
|
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static ULONG WINAPI IDirectMusic8Impl_AddRef (LPDIRECTMUSIC8 iface) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2005-01-14 17:02:20 +01:00
|
|
|
ULONG refCount = InterlockedIncrement(&This->ref);
|
|
|
|
|
2006-10-12 21:34:50 +02:00
|
|
|
TRACE("(%p)->(ref before=%u)\n", This, refCount - 1);
|
2005-01-14 17:02:20 +01:00
|
|
|
|
2005-01-26 20:41:43 +01:00
|
|
|
DMUSIC_LockModule();
|
|
|
|
|
2005-01-14 17:02:20 +01:00
|
|
|
return refCount;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static ULONG WINAPI IDirectMusic8Impl_Release (LPDIRECTMUSIC8 iface) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2005-01-14 17:02:20 +01:00
|
|
|
ULONG refCount = InterlockedDecrement(&This->ref);
|
|
|
|
|
2006-10-12 21:34:50 +02:00
|
|
|
TRACE("(%p)->(ref before=%u)\n", This, refCount + 1);
|
2005-01-14 17:02:20 +01:00
|
|
|
|
|
|
|
if (!refCount) {
|
2003-04-08 23:42:00 +02:00
|
|
|
HeapFree(GetProcessHeap(), 0, This);
|
|
|
|
}
|
2005-01-26 20:41:43 +01:00
|
|
|
|
|
|
|
DMUSIC_UnlockModule();
|
|
|
|
|
2005-01-14 17:02:20 +01:00
|
|
|
return refCount;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
/* IDirectMusic8Impl IDirectMusic part: */
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_EnumPort(LPDIRECTMUSIC8 iface, DWORD dwIndex, LPDMUS_PORTCAPS pPortCaps) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2006-10-12 21:34:50 +02:00
|
|
|
TRACE("(%p, %d, %p)\n", This, dwIndex, pPortCaps);
|
2005-11-29 10:43:18 +01:00
|
|
|
if (NULL == pPortCaps) { return E_POINTER; }
|
2003-06-07 02:39:18 +02:00
|
|
|
/* i guess the first port shown is always software synthesizer */
|
2003-06-27 21:43:13 +02:00
|
|
|
if (dwIndex == 0)
|
2003-06-07 02:39:18 +02:00
|
|
|
{
|
2003-07-22 00:10:14 +02:00
|
|
|
IDirectMusicSynth8* synth;
|
2003-06-07 02:39:18 +02:00
|
|
|
TRACE("enumerating 'Microsoft Software Synthesizer' port\n");
|
2003-07-22 00:10:14 +02:00
|
|
|
CoCreateInstance (&CLSID_DirectMusicSynth, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectMusicSynth8, (void**)&synth);
|
|
|
|
IDirectMusicSynth8_GetPortCaps (synth, pPortCaps);
|
|
|
|
IDirectMusicSynth8_Release (synth);
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_OK;
|
|
|
|
}
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* it seems that the rest of devices are obtained thru dmusic32.EnumLegacyDevices...*sigh*...which is undocumented*/
|
|
|
|
#if 0
|
|
|
|
int numMIDI = midiOutGetNumDevs();
|
|
|
|
int numWAVE = waveOutGetNumDevs();
|
|
|
|
int i;
|
2003-06-07 02:39:18 +02:00
|
|
|
/* then return digital sound ports */
|
|
|
|
for (i = 1; i <= numWAVE; i++)
|
|
|
|
{
|
|
|
|
TRACE("enumerating 'digital sound' ports\n");
|
|
|
|
if (i == dwIndex)
|
|
|
|
{
|
2003-06-27 21:43:13 +02:00
|
|
|
DirectSoundEnumerateA((LPDSENUMCALLBACKA) register_waveport, (VOID*) pPortCaps);
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* finally, list all *real* MIDI ports*/
|
2003-06-27 21:43:13 +02:00
|
|
|
for (i = numWAVE + 1; i <= numWAVE + numMIDI; i++)
|
2003-06-07 02:39:18 +02:00
|
|
|
{
|
|
|
|
TRACE("enumerating 'real MIDI' ports\n");
|
|
|
|
if (i == dwIndex)
|
|
|
|
FIXME("Found MIDI port, but *real* MIDI ports not supported yet\n");
|
|
|
|
}
|
2003-07-22 00:10:14 +02:00
|
|
|
#endif
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_FALSE;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_CreateMusicBuffer (LPDIRECTMUSIC8 iface, LPDMUS_BUFFERDESC pBufferDesc, LPDIRECTMUSICBUFFER** ppBuffer, LPUNKNOWN pUnkOuter) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
FIXME("(%p, %p, %p, %p): stub\n", This, pBufferDesc, ppBuffer, pUnkOuter);
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_CreatePort (LPDIRECTMUSIC8 iface, REFCLSID rclsidPort, LPDMUS_PORTPARAMS pPortParams, LPDIRECTMUSICPORT* ppPort, LPUNKNOWN pUnkOuter) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-07-22 00:10:14 +02:00
|
|
|
int i/*, j*/;
|
2003-06-07 02:39:18 +02:00
|
|
|
DMUS_PORTCAPS PortCaps;
|
2005-11-29 10:43:18 +01:00
|
|
|
IDirectMusicPort* pNewPort = NULL;
|
|
|
|
HRESULT hr = E_FAIL;
|
2003-07-22 00:10:14 +02:00
|
|
|
|
2005-11-29 10:43:18 +01:00
|
|
|
TRACE("(%p, %s, %p, %p, %p)\n", This, debugstr_dmguid(rclsidPort), pPortParams, ppPort, pUnkOuter);
|
|
|
|
ZeroMemory(&PortCaps, sizeof(DMUS_PORTCAPS));
|
|
|
|
PortCaps.dwSize = sizeof(DMUS_PORTCAPS);
|
|
|
|
|
|
|
|
for (i = 0; S_FALSE != IDirectMusic8Impl_EnumPort(iface, i, &PortCaps); i++) {
|
|
|
|
if (IsEqualCLSID (rclsidPort, &PortCaps.guidPort)) {
|
|
|
|
hr = DMUSIC_CreateDirectMusicPortImpl(&IID_IDirectMusicPort, (LPVOID*) &pNewPort, (LPUNKNOWN) This, pPortParams, &PortCaps);
|
|
|
|
if (FAILED(hr)) {
|
|
|
|
*ppPort = (LPDIRECTMUSICPORT) NULL;
|
|
|
|
return hr;
|
2003-06-27 21:43:13 +02:00
|
|
|
}
|
|
|
|
This->nrofports++;
|
2005-11-29 10:43:18 +01:00
|
|
|
if (!This->ppPorts) This->ppPorts = HeapAlloc(GetProcessHeap(), 0, sizeof(LPDIRECTMUSICPORT) * This->nrofports);
|
|
|
|
else This->ppPorts = HeapReAlloc(GetProcessHeap(), 0, This->ppPorts, sizeof(LPDIRECTMUSICPORT) * This->nrofports);
|
2006-10-27 18:47:25 +02:00
|
|
|
This->ppPorts[This->nrofports - 1] = pNewPort;
|
2005-11-29 10:43:18 +01:00
|
|
|
*ppPort = (LPDIRECTMUSICPORT) pNewPort;
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* FIXME: place correct error here */
|
|
|
|
return E_NOINTERFACE;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_EnumMasterClock (LPDIRECTMUSIC8 iface, DWORD dwIndex, LPDMUS_CLOCKINFO lpClockInfo) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2006-10-12 21:34:50 +02:00
|
|
|
FIXME("(%p, %d, %p): stub\n", This, dwIndex, lpClockInfo);
|
2003-07-22 00:10:14 +02:00
|
|
|
return S_FALSE;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_GetMasterClock (LPDIRECTMUSIC8 iface, LPGUID pguidClock, IReferenceClock** ppReferenceClock) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
|
2003-07-22 00:10:14 +02:00
|
|
|
TRACE("(%p, %p, %p)\n", This, pguidClock, ppReferenceClock);
|
|
|
|
if (pguidClock)
|
|
|
|
*pguidClock = This->pMasterClock->pClockInfo.guidClock;
|
|
|
|
if(ppReferenceClock)
|
|
|
|
*ppReferenceClock = (IReferenceClock *)This->pMasterClock;
|
2003-06-07 02:39:18 +02:00
|
|
|
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_SetMasterClock (LPDIRECTMUSIC8 iface, REFGUID rguidClock) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2004-02-25 02:30:03 +01:00
|
|
|
FIXME("(%p, %s): stub\n", This, debugstr_dmguid(rguidClock));
|
2003-06-07 02:39:18 +02:00
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_Activate (LPDIRECTMUSIC8 iface, BOOL fEnable) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
int i;
|
|
|
|
|
|
|
|
FIXME("(%p, %d): stub\n", This, fEnable);
|
2004-01-20 01:21:40 +01:00
|
|
|
for (i = 0; i < This->nrofports; i++) {
|
2005-11-29 10:43:18 +01:00
|
|
|
IDirectMusicPortImpl_Activate(This->ppPorts[i], fEnable);
|
2003-06-07 02:39:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_GetDefaultPort (LPDIRECTMUSIC8 iface, LPGUID pguidPort) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
HKEY hkGUID;
|
|
|
|
DWORD returnTypeGUID, sizeOfReturnBuffer = 50;
|
|
|
|
char returnBuffer[51];
|
|
|
|
GUID defaultPortGUID;
|
2003-06-27 21:43:13 +02:00
|
|
|
WCHAR buff[51];
|
2003-06-07 02:39:18 +02:00
|
|
|
|
|
|
|
TRACE("(%p, %p)\n", This, pguidPort);
|
2003-06-27 21:43:13 +02:00
|
|
|
if ((RegOpenKeyExA(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\DirectMusic\\Defaults" , 0, KEY_READ, &hkGUID) != ERROR_SUCCESS) ||
|
2005-07-07 14:08:42 +02:00
|
|
|
(RegQueryValueExA(hkGUID, "DefaultOutputPort", NULL, &returnTypeGUID, (LPBYTE)returnBuffer, &sizeOfReturnBuffer) != ERROR_SUCCESS))
|
2003-06-07 02:39:18 +02:00
|
|
|
{
|
|
|
|
WARN(": registry entry missing\n" );
|
|
|
|
*pguidPort = CLSID_DirectMusicSynth;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
/* FIXME: Check return types to ensure we're interpreting data right */
|
2003-06-27 21:43:13 +02:00
|
|
|
MultiByteToWideChar(CP_ACP, 0, returnBuffer, -1, buff, sizeof(buff) / sizeof(WCHAR));
|
2004-01-23 21:57:26 +01:00
|
|
|
CLSIDFromString(buff, &defaultPortGUID);
|
2003-06-07 02:39:18 +02:00
|
|
|
*pguidPort = defaultPortGUID;
|
|
|
|
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_SetDirectSound (LPDIRECTMUSIC8 iface, LPDIRECTSOUND pDirectSound, HWND hWnd) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
FIXME("(%p, %p, %p): stub\n", This, pDirectSound, hWnd);
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2006-06-10 11:57:22 +02:00
|
|
|
static HRESULT WINAPI IDirectMusic8Impl_SetExternalMasterClock (LPDIRECTMUSIC8 iface, IReferenceClock* pClock) {
|
2004-09-06 22:34:29 +02:00
|
|
|
IDirectMusic8Impl *This = (IDirectMusic8Impl *)iface;
|
2003-06-07 02:39:18 +02:00
|
|
|
FIXME("(%p, %p): stub\n", This, pClock);
|
|
|
|
return S_OK;
|
2003-04-08 23:42:00 +02:00
|
|
|
}
|
|
|
|
|
2005-06-01 21:57:42 +02:00
|
|
|
static const IDirectMusic8Vtbl DirectMusic8_Vtbl = {
|
2003-04-08 23:42:00 +02:00
|
|
|
IDirectMusic8Impl_QueryInterface,
|
|
|
|
IDirectMusic8Impl_AddRef,
|
|
|
|
IDirectMusic8Impl_Release,
|
|
|
|
IDirectMusic8Impl_EnumPort,
|
|
|
|
IDirectMusic8Impl_CreateMusicBuffer,
|
|
|
|
IDirectMusic8Impl_CreatePort,
|
|
|
|
IDirectMusic8Impl_EnumMasterClock,
|
|
|
|
IDirectMusic8Impl_GetMasterClock,
|
|
|
|
IDirectMusic8Impl_SetMasterClock,
|
|
|
|
IDirectMusic8Impl_Activate,
|
|
|
|
IDirectMusic8Impl_GetDefaultPort,
|
|
|
|
IDirectMusic8Impl_SetDirectSound,
|
|
|
|
IDirectMusic8Impl_SetExternalMasterClock
|
|
|
|
};
|
|
|
|
|
2003-05-02 23:21:58 +02:00
|
|
|
/* helper stuff */
|
2004-01-20 01:21:40 +01:00
|
|
|
void register_waveport (LPGUID lpGUID, LPCSTR lpszDesc, LPCSTR lpszDrvName, LPVOID lpContext) {
|
2003-05-02 23:21:58 +02:00
|
|
|
LPDMUS_PORTCAPS pPortCaps = (LPDMUS_PORTCAPS)lpContext;
|
|
|
|
|
|
|
|
pPortCaps->dwSize = sizeof(DMUS_PORTCAPS);
|
|
|
|
pPortCaps->dwFlags = DMUS_PC_DLS | DMUS_PC_SOFTWARESYNTH | DMUS_PC_DIRECTSOUND | DMUS_PC_DLS2 | DMUS_PC_AUDIOPATH | DMUS_PC_WAVE;
|
|
|
|
pPortCaps->guidPort = *lpGUID;
|
|
|
|
pPortCaps->dwClass = DMUS_PC_OUTPUTCLASS;
|
|
|
|
pPortCaps->dwType = DMUS_PORT_WINMM_DRIVER;
|
|
|
|
pPortCaps->dwMemorySize = DMUS_PC_SYSTEMMEMORY;
|
2003-06-07 02:39:18 +02:00
|
|
|
pPortCaps->dwMaxChannelGroups = 2;
|
|
|
|
pPortCaps->dwMaxVoices = -1;
|
2003-05-02 23:21:58 +02:00
|
|
|
pPortCaps->dwMaxAudioChannels = -1;
|
|
|
|
pPortCaps->dwEffectFlags = DMUS_EFFECT_REVERB | DMUS_EFFECT_CHORUS | DMUS_EFFECT_DELAY;
|
|
|
|
MultiByteToWideChar (CP_ACP, 0, lpszDesc, -1, pPortCaps->wszDescription, sizeof(pPortCaps->wszDescription)/sizeof(WCHAR));
|
|
|
|
}
|
2003-07-22 00:10:14 +02:00
|
|
|
|
|
|
|
/* for ClassFactory */
|
2004-01-20 01:21:40 +01:00
|
|
|
HRESULT WINAPI DMUSIC_CreateDirectMusicImpl (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) {
|
2003-07-22 00:10:14 +02:00
|
|
|
IDirectMusic8Impl *dmusic;
|
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
TRACE("(%p,%p,%p)\n",lpcGUID, ppobj, pUnkOuter);
|
|
|
|
|
|
|
|
dmusic = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusic8Impl));
|
|
|
|
if (NULL == dmusic) {
|
|
|
|
*ppobj = (LPDIRECTMUSIC8) NULL;
|
|
|
|
return E_OUTOFMEMORY;
|
2003-07-22 00:10:14 +02:00
|
|
|
}
|
2004-01-20 01:21:40 +01:00
|
|
|
dmusic->lpVtbl = &DirectMusic8_Vtbl;
|
|
|
|
dmusic->ref = 0; /* will be inited with QueryInterface */
|
|
|
|
dmusic->pMasterClock = NULL;
|
|
|
|
dmusic->ppPorts = NULL;
|
|
|
|
dmusic->nrofports = 0;
|
|
|
|
DMUSIC_CreateReferenceClockImpl (&IID_IReferenceClock, (LPVOID*)&dmusic->pMasterClock, NULL);
|
2003-07-22 00:10:14 +02:00
|
|
|
|
2004-01-20 01:21:40 +01:00
|
|
|
return IDirectMusic8Impl_QueryInterface ((LPDIRECTMUSIC8)dmusic, lpcGUID, ppobj);
|
2003-07-22 00:10:14 +02:00
|
|
|
}
|