1998-10-11 19:00:29 +02:00
|
|
|
/*
|
|
|
|
* MSACM32 library
|
|
|
|
*
|
|
|
|
* Copyright 1998 Patrik Stridvall
|
|
|
|
*/
|
|
|
|
|
1999-02-17 14:51:06 +01:00
|
|
|
#include "winbase.h"
|
1998-10-11 19:00:29 +02:00
|
|
|
#include "winerror.h"
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1999-05-14 10:17:14 +02:00
|
|
|
#include "debugtools.h"
|
1998-10-11 19:00:29 +02:00
|
|
|
#include "mmsystem.h"
|
|
|
|
#include "msacm.h"
|
|
|
|
#include "msacmdrv.h"
|
|
|
|
|
1999-04-19 16:56:29 +02:00
|
|
|
DEFAULT_DEBUG_CHANNEL(msacm)
|
|
|
|
|
1998-10-11 19:00:29 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamClose (MSACM32.37)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamClose(
|
|
|
|
HACMSTREAM has, DWORD fdwClose)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %ld): stub\n", has, fdwClose);
|
1998-10-11 19:00:29 +02:00
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamConvert (MSACM32.38)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamConvert(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %p, %ld): stub\n", has, pash, fdwConvert);
|
1998-10-11 19:00:29 +02:00
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamMessage (MSACM32.39)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamMessage(
|
|
|
|
HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %u, %ld, %ld): stub\n",
|
1998-10-11 19:00:29 +02:00
|
|
|
has, uMsg, lParam1, lParam2
|
|
|
|
);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamOpen (MSACM32.40)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamOpen(
|
|
|
|
PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
|
1999-02-14 10:41:42 +01:00
|
|
|
PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD dwCallback,
|
1998-10-11 19:00:29 +02:00
|
|
|
DWORD dwInstance, DWORD fdwOpen)
|
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(%p, 0x%08x, %p, %p, %p, %ld, %ld, %ld): stub\n",
|
1998-10-11 19:00:29 +02:00
|
|
|
phas, had, pwfxSrc, pwfxDst, pwfltr,
|
|
|
|
dwCallback, dwInstance, fdwOpen
|
|
|
|
);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamPrepareHeader (MSACM32.41)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamPrepareHeader(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %p, %ld): stub\n", has, pash, fdwPrepare);
|
1998-10-11 19:00:29 +02:00
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamReset (MSACM32.42)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamReset(
|
|
|
|
HACMSTREAM has, DWORD fdwReset)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %ld): stub\n", has, fdwReset);
|
1998-10-11 19:00:29 +02:00
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamSize (MSACM32.43)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamSize(
|
|
|
|
HACMSTREAM has, DWORD cbInput,
|
1998-10-11 19:00:29 +02:00
|
|
|
LPDWORD pdwOutputBytes, DWORD fdwSize)
|
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %ld, %p, %ld): stub\n",
|
1998-10-11 19:00:29 +02:00
|
|
|
has, cbInput, pdwOutputBytes, fdwSize
|
|
|
|
);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* acmStreamUnprepareHeader (MSACM32.44)
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
MMRESULT WINAPI acmStreamUnprepareHeader(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare)
|
1998-10-11 19:00:29 +02:00
|
|
|
{
|
1999-05-14 10:17:14 +02:00
|
|
|
FIXME("(0x%08x, %p, %ld): stub\n",
|
1998-10-11 19:00:29 +02:00
|
|
|
has, pash, fdwUnprepare
|
|
|
|
);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return MMSYSERR_ERROR;
|
|
|
|
}
|