1998-10-11 17:00:29 +00:00
|
|
|
/*
|
2002-03-09 23:29:33 +00:00
|
|
|
* Declarations for MSACM
|
|
|
|
*
|
|
|
|
* Copyright (C) the Wine project
|
|
|
|
*
|
|
|
|
* 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
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
1998-10-11 17:00:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_MSACM_H
|
|
|
|
#define __WINE_MSACM_H
|
|
|
|
|
1999-06-12 10:53:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
2009-01-09 16:46:36 +00:00
|
|
|
#include <pshpack1.h>
|
|
|
|
|
2001-01-04 20:58:05 +00:00
|
|
|
#define ACMAPI WINAPI
|
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Defines/Enums
|
|
|
|
*/
|
|
|
|
#define ACMERR_BASE 512
|
|
|
|
#define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
|
|
|
|
#define ACMERR_BUSY (ACMERR_BASE + 1)
|
|
|
|
#define ACMERR_UNPREPARED (ACMERR_BASE + 2)
|
|
|
|
#define ACMERR_CANCELED (ACMERR_BASE + 3)
|
|
|
|
|
|
|
|
#define MM_ACM_OPEN MM_STREAM_OPEN
|
|
|
|
#define MM_ACM_CLOSE MM_STREAM_CLOSE
|
|
|
|
#define MM_ACM_DONE MM_STREAM_DONE
|
|
|
|
|
2006-01-13 12:52:49 +00:00
|
|
|
#define ACM_DRIVERADDF_NAME 0x00000001L
|
1998-10-11 17:00:29 +00:00
|
|
|
#define ACM_DRIVERADDF_FUNCTION 0x00000003L
|
|
|
|
#define ACM_DRIVERADDF_NOTIFYHWND 0x00000004L
|
|
|
|
#define ACM_DRIVERADDF_TYPEMASK 0x00000007L
|
|
|
|
#define ACM_DRIVERADDF_LOCAL 0x00000000L
|
|
|
|
#define ACM_DRIVERADDF_GLOBAL 0x00000008L
|
|
|
|
|
|
|
|
#define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
|
|
|
|
#define ACMDRIVERDETAILS_LONGNAME_CHARS 128
|
|
|
|
#define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
|
|
|
|
#define ACMDRIVERDETAILS_LICENSING_CHARS 128
|
|
|
|
#define ACMDRIVERDETAILS_FEATURES_CHARS 512
|
|
|
|
|
|
|
|
#define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c')
|
|
|
|
#define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0')
|
|
|
|
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_CODEC 0x00000001L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_CONVERTER 0x00000002L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_FILTER 0x00000004L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_HARDWARE 0x00000008L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_ASYNC 0x00000010L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_LOCAL 0x40000000L
|
|
|
|
#define ACMDRIVERDETAILS_SUPPORTF_DISABLED 0x80000000L
|
|
|
|
|
|
|
|
#define ACM_DRIVERENUMF_NOLOCAL 0x40000000L
|
|
|
|
#define ACM_DRIVERENUMF_DISABLED 0x80000000L
|
|
|
|
|
|
|
|
#define ACM_DRIVERPRIORITYF_ENABLE 0x00000001L
|
|
|
|
#define ACM_DRIVERPRIORITYF_DISABLE 0x00000002L
|
|
|
|
#define ACM_DRIVERPRIORITYF_ABLEMASK 0x00000003L
|
|
|
|
#define ACM_DRIVERPRIORITYF_BEGIN 0x00010000L
|
|
|
|
#define ACM_DRIVERPRIORITYF_END 0x00020000L
|
|
|
|
#define ACM_DRIVERPRIORITYF_DEFERMASK 0x00030000L
|
|
|
|
|
|
|
|
#define MM_ACM_FILTERCHOOSE 0x8000
|
|
|
|
|
|
|
|
#define FILTERCHOOSE_MESSAGE 0
|
|
|
|
#define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
|
|
|
|
#define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1)
|
|
|
|
#define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2)
|
|
|
|
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_SHOWHELP 0x00000004L
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT 0x00000040L
|
|
|
|
#define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
|
|
|
|
|
|
|
|
#define ACMFILTERDETAILS_FILTER_CHARS 128
|
|
|
|
|
|
|
|
#define ACM_FILTERDETAILSF_INDEX 0x00000000L
|
|
|
|
#define ACM_FILTERDETAILSF_FILTER 0x00000001L
|
|
|
|
#define ACM_FILTERDETAILSF_QUERYMASK 0x0000000FL
|
|
|
|
|
|
|
|
#define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
|
|
|
|
|
|
|
|
#define ACM_FILTERTAGDETAILSF_INDEX 0x00000000L
|
|
|
|
#define ACM_FILTERTAGDETAILSF_FILTERTAG 0x00000001L
|
|
|
|
#define ACM_FILTERTAGDETAILSF_LARGESTSIZE 0x00000002L
|
|
|
|
#define ACM_FILTERTAGDETAILSF_QUERYMASK 0x0000000FL
|
|
|
|
|
|
|
|
#define ACM_FILTERENUMF_DWFILTERTAG 0x00010000L
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
#define ACMHELPMSGSTRINGA "acmchoose_help"
|
2002-09-16 19:29:36 +00:00
|
|
|
#if defined(__GNUC__)
|
|
|
|
# define ACMHELPMSGSTRINGW (const WCHAR []){ 'a','c','m', \
|
|
|
|
'c','h','o','o','s','e','_','h','e','l','p',0 }
|
|
|
|
#elif defined(_MSC_VER)
|
|
|
|
# define ACMHELPMSGSTRINGW L"acmchoose_help"
|
|
|
|
#else
|
2001-01-22 02:13:58 +00:00
|
|
|
static const WCHAR ACMHELPMSGSTRINGW[] = { 'a','c','m',
|
|
|
|
'c','h','o','o','s','e','_','h','e','l','p',0 };
|
2002-09-16 19:29:36 +00:00
|
|
|
#endif
|
2001-01-04 20:58:05 +00:00
|
|
|
#define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING)
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
#define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
|
2002-09-16 19:29:36 +00:00
|
|
|
#if defined(__GNUC__)
|
|
|
|
# define ACMHELPMSGCONTEXTMENUW (const WCHAR []){ 'a','c','m', \
|
|
|
|
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 }
|
|
|
|
#elif defined(_MSC_VER)
|
|
|
|
# define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
|
|
|
|
#else
|
2001-01-22 02:13:58 +00:00
|
|
|
static const WCHAR ACMHELPMSGCONTEXTMENUW[] = { 'a','c','m',
|
|
|
|
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 };
|
2002-09-16 19:29:36 +00:00
|
|
|
#endif
|
2001-01-04 20:58:05 +00:00
|
|
|
#define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU)
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
#define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
|
2002-09-16 19:29:36 +00:00
|
|
|
#if defined(__GNUC__)
|
|
|
|
# define ACMHELPMSGCONTEXTHELPW (const WCHAR []){ 'a','c','m', \
|
|
|
|
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 }
|
|
|
|
#elif defined(_MSC_VER)
|
|
|
|
# define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
|
|
|
|
#else
|
2001-01-22 02:13:58 +00:00
|
|
|
static const WCHAR ACMHELPMSGCONTEXTHELPW[] = { 'a','c','m',
|
|
|
|
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 };
|
2002-09-16 19:29:36 +00:00
|
|
|
#endif
|
2001-01-04 20:58:05 +00:00
|
|
|
#define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP)
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
#define MM_ACM_FORMATCHOOSE 0x8000
|
|
|
|
|
|
|
|
#define FORMATCHOOSE_MESSAGE 0
|
|
|
|
#define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
|
|
|
|
#define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
|
|
|
|
#define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
|
|
|
|
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
|
|
|
|
#define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
|
|
|
|
|
|
|
|
#define ACMFORMATDETAILS_FORMAT_CHARS 128
|
|
|
|
|
|
|
|
#define ACM_FORMATDETAILSF_INDEX 0x00000000L
|
|
|
|
#define ACM_FORMATDETAILSF_FORMAT 0x00000001L
|
|
|
|
#define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
|
|
|
|
|
|
|
|
#define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
|
|
|
|
#define ACM_FORMATENUMF_NCHANNELS 0x00020000L
|
|
|
|
#define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
|
|
|
|
#define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
|
|
|
|
#define ACM_FORMATENUMF_CONVERT 0x00100000L
|
|
|
|
#define ACM_FORMATENUMF_SUGGEST 0x00200000L
|
|
|
|
#define ACM_FORMATENUMF_HARDWARE 0x00400000L
|
|
|
|
#define ACM_FORMATENUMF_INPUT 0x00800000L
|
|
|
|
#define ACM_FORMATENUMF_OUTPUT 0x01000000L
|
|
|
|
|
|
|
|
#define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
|
|
|
|
#define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
|
|
|
|
#define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
|
|
|
|
#define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
|
|
|
|
#define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
|
|
|
|
|
|
|
|
#define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
|
|
|
|
|
|
|
|
#define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
|
|
|
|
#define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
|
|
|
|
#define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
|
|
|
|
#define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
|
|
|
|
|
|
|
|
#define ACM_METRIC_COUNT_DRIVERS 1
|
|
|
|
#define ACM_METRIC_COUNT_CODECS 2
|
|
|
|
#define ACM_METRIC_COUNT_CONVERTERS 3
|
|
|
|
#define ACM_METRIC_COUNT_FILTERS 4
|
|
|
|
#define ACM_METRIC_COUNT_DISABLED 5
|
|
|
|
#define ACM_METRIC_COUNT_HARDWARE 6
|
|
|
|
#define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
|
|
|
|
#define ACM_METRIC_COUNT_LOCAL_CODECS 21
|
|
|
|
#define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
|
|
|
|
#define ACM_METRIC_COUNT_LOCAL_FILTERS 23
|
|
|
|
#define ACM_METRIC_COUNT_LOCAL_DISABLED 24
|
|
|
|
#define ACM_METRIC_HARDWARE_WAVE_INPUT 30
|
|
|
|
#define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
|
|
|
|
#define ACM_METRIC_MAX_SIZE_FORMAT 50
|
|
|
|
#define ACM_METRIC_MAX_SIZE_FILTER 51
|
|
|
|
#define ACM_METRIC_DRIVER_SUPPORT 100
|
|
|
|
#define ACM_METRIC_DRIVER_PRIORITY 101
|
|
|
|
|
|
|
|
#define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
|
|
|
|
#define ACM_STREAMCONVERTF_START 0x00000010
|
|
|
|
#define ACM_STREAMCONVERTF_END 0x00000020
|
|
|
|
|
|
|
|
#define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
|
|
|
|
#define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
|
|
|
|
#define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
|
|
|
|
|
|
|
|
#define ACM_STREAMOPENF_QUERY 0x00000001
|
|
|
|
#define ACM_STREAMOPENF_ASYNC 0x00000002
|
|
|
|
#define ACM_STREAMOPENF_NONREALTIME 0x00000004
|
|
|
|
|
|
|
|
#define ACM_STREAMSIZEF_SOURCE 0x00000000L
|
|
|
|
#define ACM_STREAMSIZEF_DESTINATION 0x00000001L
|
|
|
|
#define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
|
|
|
|
|
|
|
|
#define ACMDM_USER (DRV_USER + 0x0000)
|
|
|
|
#define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
|
|
|
|
#define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
|
|
|
|
|
|
|
|
#define ACMDM_BASE ACMDM_RESERVED_LOW
|
|
|
|
|
|
|
|
#define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
|
|
|
|
|
2001-07-30 18:57:18 +00:00
|
|
|
/* handles */
|
|
|
|
|
2002-03-25 20:55:58 +00:00
|
|
|
DECLARE_HANDLE(HACMDRIVERID);
|
|
|
|
DECLARE_HANDLE(HACMDRIVER);
|
|
|
|
DECLARE_HANDLE(HACMSTREAM);
|
2002-03-26 19:48:42 +00:00
|
|
|
DECLARE_HANDLE(HACMOBJ);
|
2002-12-10 22:56:43 +00:00
|
|
|
typedef HACMDRIVERID *PHACMDRIVERID, *LPHACMDRIVERID;
|
|
|
|
typedef HACMDRIVER *PHACMDRIVER, *LPHACMDRIVER;
|
|
|
|
typedef HACMSTREAM *PHACMSTREAM, *LPHACMSTREAM;
|
|
|
|
typedef HACMOBJ *PHACMOBJ, *LPHACMOBJ;
|
2001-07-30 18:57:18 +00:00
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Callbacks
|
|
|
|
*/
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMDRIVERENUMCB)(
|
2009-02-05 08:52:31 +00:00
|
|
|
HACMDRIVERID hadid, DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef UINT (CALLBACK *ACMFILTERCHOOSEHOOKPROCA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef UINT (CALLBACK *ACMFILTERCHOOSEHOOKPROCW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFILTERCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFILTERCHOOSEHOOKPROC)
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef UINT (CALLBACK *ACMFORMATCHOOSEHOOKPROCA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef UINT (CALLBACK *ACMFORMATCHOOSEHOOKPROCW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFORMATCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFORMATCHOOSEHOOKPROC)
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Structures
|
|
|
|
*/
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMDRIVERDETAILSA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
|
|
|
|
FOURCC fccType;
|
|
|
|
FOURCC fccComp;
|
|
|
|
|
|
|
|
WORD wMid;
|
|
|
|
WORD wPid;
|
|
|
|
|
|
|
|
DWORD vdwACM;
|
|
|
|
DWORD vdwDriver;
|
|
|
|
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cFormatTags;
|
|
|
|
DWORD cFilterTags;
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HICON hicon;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
CHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
|
|
|
|
CHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
|
|
|
|
CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
|
|
|
|
CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
|
|
|
|
CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMDRIVERDETAILSA, *PACMDRIVERDETAILSA, *LPACMDRIVERDETAILSA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMDRIVERDETAILSW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
|
|
|
|
FOURCC fccType;
|
|
|
|
FOURCC fccComp;
|
|
|
|
|
|
|
|
WORD wMid;
|
|
|
|
WORD wPid;
|
|
|
|
|
|
|
|
DWORD vdwACM;
|
|
|
|
DWORD vdwDriver;
|
|
|
|
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cFormatTags;
|
|
|
|
DWORD cFilterTags;
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HICON hicon;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
WCHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
|
|
|
|
WCHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
|
|
|
|
WCHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
|
|
|
|
WCHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
|
|
|
|
WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW, *LPACMDRIVERDETAILSW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERCHOOSEA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwndOwner;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltr;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfltr;
|
|
|
|
|
|
|
|
LPCSTR pszTitle;
|
|
|
|
|
|
|
|
CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
|
|
|
CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
|
|
|
LPSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltrEnum;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HINSTANCE hInstance;
|
1998-10-11 17:00:29 +00:00
|
|
|
LPCSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
1999-02-26 11:11:13 +00:00
|
|
|
ACMFILTERCHOOSEHOOKPROCA pfnHook;
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERCHOOSEA, *PACMFILTERCHOOSEA, *LPACMFILTERCHOOSEA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERCHOOSEW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwndOwner;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltr;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfltr;
|
|
|
|
|
|
|
|
LPCWSTR pszTitle;
|
|
|
|
|
|
|
|
WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
|
|
|
WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
|
|
|
LPWSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltrEnum;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HINSTANCE hInstance;
|
1998-10-11 17:00:29 +00:00
|
|
|
LPCWSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
1999-02-26 11:11:13 +00:00
|
|
|
ACMFILTERCHOOSEHOOKPROCW pfnHook;
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW, *LPACMFILTERCHOOSEW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERDETAILSA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD fdwSupport;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltr;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfltr;
|
|
|
|
CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERDETAILSA, *PACMFILTERDETAILSA, *LPACMFILTERDETAILSA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERDETAILSW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD fdwSupport;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFILTER pwfltr;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfltr;
|
|
|
|
WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERDETAILSW, *PACMFILTERDETAILSW, *LPACMFILTERDETAILSW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERTAGDETAILSA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterTagIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD cbFilterSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFilters;
|
|
|
|
CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERTAGDETAILSA, *PACMFILTERTAGDETAILSA, *LPACMFILTERTAGDETAILSA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFILTERTAGDETAILSW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterTagIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD cbFilterSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFilters;
|
|
|
|
WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW, *LPACMFILTERTAGDETAILSW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATCHOOSEA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwndOwner;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFORMATEX pwfx;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfx;
|
|
|
|
LPCSTR pszTitle;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
2002-05-31 23:06:46 +00:00
|
|
|
CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
LPSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFORMATEX pwfxEnum;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HINSTANCE hInstance;
|
1998-10-11 17:00:29 +00:00
|
|
|
LPCSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
1999-02-26 11:11:13 +00:00
|
|
|
ACMFORMATCHOOSEHOOKPROCA pfnHook;
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATCHOOSEA, *PACMFORMATCHOOSEA, *LPACMFORMATCHOOSEA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATCHOOSEW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HWND hwndOwner;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFORMATEX pwfx;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfx;
|
|
|
|
LPCWSTR pszTitle;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
2002-05-31 23:06:46 +00:00
|
|
|
WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
1998-10-11 17:00:29 +00:00
|
|
|
|
|
|
|
LPWSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
|
|
|
LPWAVEFORMATEX pwfxEnum;
|
2002-05-31 23:06:46 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
HINSTANCE hInstance;
|
1998-10-11 17:00:29 +00:00
|
|
|
LPCWSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
1999-02-26 11:11:13 +00:00
|
|
|
ACMFORMATCHOOSEHOOKPROCW pfnHook;
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW, *LPACMFORMATCHOOSEW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATDETAILSA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD fdwSupport;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFORMATEX pwfx;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfx;
|
|
|
|
CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATDETAILSA, *PACMFORMATDETAILSA, *LPACMFORMATDETAILSA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATDETAILSW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD fdwSupport;
|
1999-02-14 09:41:42 +00:00
|
|
|
PWAVEFORMATEX pwfx;
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfx;
|
|
|
|
WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATDETAILSW, *PACMFORMATDETAILSW, *LPACMFORMATDETAILSW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATTAGDETAILSA
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatTagIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD cbFormatSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFormats;
|
|
|
|
CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATTAGDETAILSA, *PACMFORMATTAGDETAILSA, *LPACMFORMATTAGDETAILSA;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct _ACMFORMATTAGDETAILSW
|
1998-10-11 17:00:29 +00:00
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatTagIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD cbFormatSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFormats;
|
|
|
|
WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW, *LPACMFORMATTAGDETAILSW;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2000-10-03 04:10:42 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS)
|
2001-01-04 20:58:05 +00:00
|
|
|
DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS)
|
2000-08-26 04:33:00 +00:00
|
|
|
|
2009-02-05 08:52:31 +00:00
|
|
|
#ifdef _WIN64
|
|
|
|
# define _ACMSTREAMHEADERRESERVE 15
|
|
|
|
#else
|
|
|
|
# define _ACMSTREAMHEADERRESERVE 10
|
|
|
|
#endif
|
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
typedef struct _ACMSTREAMHEADER
|
|
|
|
{
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStatus;
|
|
|
|
DWORD_PTR dwUser;
|
|
|
|
LPBYTE pbSrc;
|
|
|
|
DWORD cbSrcLength;
|
|
|
|
DWORD cbSrcLengthUsed;
|
|
|
|
DWORD_PTR dwSrcUser;
|
|
|
|
LPBYTE pbDst;
|
|
|
|
DWORD cbDstLength;
|
|
|
|
DWORD cbDstLengthUsed;
|
|
|
|
DWORD_PTR dwDstUser;
|
|
|
|
DWORD dwReservedDriver[_ACMSTREAMHEADERRESERVE];
|
2001-01-04 20:58:05 +00:00
|
|
|
} ACMSTREAMHEADER, *PACMSTREAMHEADER, *LPACMSTREAMHEADER;
|
1998-10-11 17:00:29 +00:00
|
|
|
|
2009-02-05 08:52:31 +00:00
|
|
|
#undef _ACMSTREAMHEADERRESERVE
|
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Callbacks 2
|
|
|
|
*/
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFILTERENUMCBA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFILTERDETAILSA pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFILTERENUMCBW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFILTERDETAILSW pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFILTERENUMCB WINELIB_NAME_AW(ACMFILTERENUMCB)
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFILTERTAGENUMCBA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFILTERTAGDETAILSA paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFILTERTAGENUMCBW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFILTERTAGDETAILSW paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFILTERTAGENUMCB WINELIB_NAME_AW(ACMFILTERTAGENUMCB)
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFORMATENUMCBA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFORMATDETAILSA pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFORMATENUMCBW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFORMATDETAILSW pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFORMATENUMCB WINELIB_NAME_AW(ACMFORMATENUMCB)
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFORMATTAGENUMCBA)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFORMATTAGDETAILSA paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2002-01-31 23:22:07 +00:00
|
|
|
typedef BOOL (CALLBACK *ACMFORMATTAGENUMCBW)(
|
1999-02-26 11:11:13 +00:00
|
|
|
HACMDRIVERID hadid, PACMFORMATTAGDETAILSW paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
DWORD_PTR dwInstance, DWORD fdwSupport
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2000-08-26 04:33:00 +00:00
|
|
|
#define ACMFORMATTAGENUMCB WINELIB_NAME_AW(ACMFORMATTAGENUMCB)
|
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Functions - Win32
|
|
|
|
*/
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverAddA(
|
|
|
|
PHACMDRIVERID phadid, HINSTANCE hinstModule,
|
1998-10-11 17:00:29 +00:00
|
|
|
LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
|
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverAddW(
|
|
|
|
PHACMDRIVERID phadid, HINSTANCE hinstModule,
|
1998-10-11 17:00:29 +00:00
|
|
|
LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
|
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmDriverAdd WINELIB_NAME_AW(acmDriverAdd)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverClose(
|
|
|
|
HACMDRIVER had, DWORD fdwClose
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverDetailsA(
|
|
|
|
HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverDetailsW(
|
|
|
|
HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmDriverDetails WINELIB_NAME_AW(acmDriverDetails)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverEnum(
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMDRIVERENUMCB fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverID(
|
|
|
|
HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
LRESULT WINAPI acmDriverMessage(
|
|
|
|
HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverOpen(
|
|
|
|
PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverPriority(
|
|
|
|
HACMDRIVERID hadid, DWORD dwPriority, DWORD fdwPriority
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmDriverRemove(
|
|
|
|
HACMDRIVERID hadid, DWORD fdwRemove
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterChooseA(
|
|
|
|
PACMFILTERCHOOSEA pafltrc
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterChooseW(
|
|
|
|
PACMFILTERCHOOSEW pafltrc
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFilterChoose WINELIB_NAME_AW(acmFilterChoose)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterDetailsA(
|
|
|
|
HACMDRIVER had, PACMFILTERDETAILSA pafd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterDetailsW(
|
|
|
|
HACMDRIVER had, PACMFILTERDETAILSW pafd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFilterDetails WINELIB_NAME_AW(acmFilterDetails)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterEnumA(
|
2002-05-31 23:06:46 +00:00
|
|
|
HACMDRIVER had, PACMFILTERDETAILSA pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFILTERENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterEnumW(
|
2002-05-31 23:06:46 +00:00
|
|
|
HACMDRIVER had, PACMFILTERDETAILSW pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFILTERENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFilterEnum WINELIB_NAME_AW(acmFilterEnum)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterTagDetailsA(
|
|
|
|
HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterTagDetailsW(
|
|
|
|
HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFilterTagDetails WINELIB_NAME_AW(acmFilterTagDetails)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterTagEnumA(
|
|
|
|
HACMDRIVER had, PACMFILTERTAGDETAILSA paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFILTERTAGENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFilterTagEnumW(
|
|
|
|
HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFILTERTAGENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFilterTagEnum WINELIB_NAME_AW(acmFilterTagEnum)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatChooseA(
|
|
|
|
PACMFORMATCHOOSEA pafmtc
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatChooseW(
|
|
|
|
PACMFORMATCHOOSEW pafmtc
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFormatChoose WINELIB_NAME_AW(acmFormatChoose)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatDetailsA(
|
|
|
|
HACMDRIVER had, PACMFORMATDETAILSA pafd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatDetailsW(
|
|
|
|
HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFormatDetails WINELIB_NAME_AW(acmFormatDetails)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatEnumA(
|
|
|
|
HACMDRIVER had, PACMFORMATDETAILSA pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFORMATENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatEnumW(
|
|
|
|
HACMDRIVER had, PACMFORMATDETAILSW pafd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFORMATENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFormatEnum WINELIB_NAME_AW(acmFormatEnum)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatSuggest(
|
|
|
|
HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst,
|
1998-10-11 17:00:29 +00:00
|
|
|
DWORD cbwfxDst, DWORD fdwSuggest
|
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatTagDetailsA(
|
|
|
|
HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatTagDetailsW(
|
|
|
|
HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, DWORD fdwDetails
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFormatTagDetails WINELIB_NAME_AW(acmFormatTagDetails)
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatTagEnumA(
|
|
|
|
HACMDRIVER had, PACMFORMATTAGDETAILSA paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFORMATTAGENUMCBA fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmFormatTagEnumW(
|
|
|
|
HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
|
2009-02-05 08:52:31 +00:00
|
|
|
ACMFORMATTAGENUMCBW fnCallback, DWORD_PTR dwInstance, DWORD fdwEnum
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
2000-08-26 04:33:00 +00:00
|
|
|
#define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum)
|
|
|
|
|
2001-01-04 20:58:05 +00:00
|
|
|
DWORD WINAPI acmGetVersion(void
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmMetrics(
|
|
|
|
HACMOBJ hao, UINT uMetric, LPVOID pMetric
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamClose(
|
|
|
|
HACMSTREAM has, DWORD fdwClose
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamConvert(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamMessage(
|
|
|
|
HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamOpen(
|
|
|
|
PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
|
2009-02-05 08:52:31 +00:00
|
|
|
PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD_PTR dwCallback,
|
|
|
|
DWORD_PTR dwInstance, DWORD fdwOpen
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamPrepareHeader(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamReset(
|
|
|
|
HACMSTREAM has, DWORD fdwReset
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamSize(
|
2002-05-31 23:06:46 +00:00
|
|
|
HACMSTREAM has, DWORD cbInput,
|
1998-10-11 17:00:29 +00:00
|
|
|
LPDWORD pdwOutputBytes, DWORD fdwSize
|
|
|
|
);
|
1999-02-26 11:11:13 +00:00
|
|
|
MMRESULT WINAPI acmStreamUnprepareHeader(
|
|
|
|
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare
|
1998-10-11 17:00:29 +00:00
|
|
|
);
|
|
|
|
|
2009-01-09 16:46:36 +00:00
|
|
|
#include <poppack.h>
|
|
|
|
|
1999-06-12 10:53:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
1998-10-11 17:00:29 +00:00
|
|
|
#endif /* __WINE_MSACM_H */
|