1999-10-31 19:29:16 +01:00
|
|
|
/* -*- tab-width: 8; c-basic-offset: 4 -*- */
|
2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2000 Eric Pouech
|
|
|
|
*
|
|
|
|
* 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 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-10 00:29:33 +01:00
|
|
|
*/
|
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
#ifndef __WINE_WINEACM_H
|
|
|
|
#define __WINE_WINEACM_H
|
|
|
|
|
|
|
|
#include "wine/windef16.h"
|
|
|
|
#include "wine/mmsystem16.h"
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Win16 definitions
|
|
|
|
*/
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef BOOL16 (CALLBACK *ACMDRIVERENUMCB16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HACMDRIVERID16 hadid, DWORD dwInstance, DWORD fdwSupport
|
|
|
|
);
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef UINT (CALLBACK *ACMFILTERCHOOSEHOOKPROC16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|
|
|
);
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef UINT16 (CALLBACK *ACMFORMATCHOOSEHOOKPROC16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HWND16 hwnd, UINT16 uMsg, WPARAM16 wParam, LPARAM lParam
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef struct _ACMDRIVERDETAILS16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
|
|
|
|
FOURCC fccType;
|
|
|
|
FOURCC fccComp;
|
|
|
|
|
|
|
|
WORD wMid;
|
|
|
|
WORD wPid;
|
|
|
|
|
|
|
|
DWORD vdwACM;
|
|
|
|
DWORD vdwDriver;
|
|
|
|
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cFormatTags;
|
|
|
|
DWORD cFilterTags;
|
|
|
|
|
|
|
|
HICON16 hicon;
|
|
|
|
|
|
|
|
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];
|
|
|
|
} ACMDRIVERDETAILS16, *NPACMDRIVERDETAILS16, *LPACMDRIVERDETAILS16;
|
|
|
|
|
|
|
|
typedef struct _ACMFILTERCHOOSE16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
|
|
|
|
|
|
|
HWND16 hwndOwner;
|
|
|
|
|
|
|
|
LPWAVEFILTER pwfltr;
|
|
|
|
DWORD cbwfltr;
|
|
|
|
|
|
|
|
LPCSTR pszTitle;
|
|
|
|
|
|
|
|
char szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
|
|
|
char szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
|
|
|
LPSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
|
|
|
LPWAVEFILTER pwfltrEnum;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
HINSTANCE16 hInstance;
|
|
|
|
LPCSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
|
|
|
ACMFILTERCHOOSEHOOKPROC16 pfnHook;
|
|
|
|
} ACMFILTERCHOOSE16, *NPACMFILTERCHOOSE16, *LPACMFILTERCHOOSE16;
|
|
|
|
|
|
|
|
typedef struct _ACMFILTERDETAILS16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
LPWAVEFILTER pwfltr;
|
|
|
|
DWORD cbwfltr;
|
|
|
|
CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
|
|
|
|
} ACMFILTERDETAILS16, *NPACMFILTERDETAILS16, *LPACMFILTERDETAILS16;
|
|
|
|
|
|
|
|
typedef struct _ACMFILTERTAGDETAILS16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFilterTagIndex;
|
|
|
|
DWORD dwFilterTag;
|
|
|
|
DWORD cbFilterSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFilters;
|
|
|
|
CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
|
|
|
|
} ACMFILTERTAGDETAILS16, *NPACMFILTERTAGDETAILS16, *LPACMFILTERTAGDETAILS16;
|
|
|
|
|
|
|
|
typedef struct _ACMFORMATCHOOSE16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD fdwStyle;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
HWND16 hwndOwner;
|
|
|
|
|
|
|
|
LPWAVEFORMATEX pwfx;
|
|
|
|
DWORD cbwfx;
|
|
|
|
LPCSTR pszTitle;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
2002-06-01 01:06:46 +02:00
|
|
|
CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
2000-09-27 00:20:14 +02:00
|
|
|
|
|
|
|
LPSTR pszName;
|
|
|
|
DWORD cchName;
|
|
|
|
|
|
|
|
DWORD fdwEnum;
|
|
|
|
LPWAVEFORMATEX pwfxEnum;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
HINSTANCE16 hInstance;
|
|
|
|
LPCSTR pszTemplateName;
|
|
|
|
LPARAM lCustData;
|
|
|
|
ACMFORMATCHOOSEHOOKPROC16 pfnHook;
|
|
|
|
} ACMFORMATCHOOSE16, *NPACMFORMATCHOOSE16, *LPACMFORMATCHOOSE16;
|
|
|
|
|
|
|
|
typedef struct _ACMFORMATDETAILS16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
LPWAVEFORMATEX pwfx;
|
|
|
|
DWORD cbwfx;
|
|
|
|
CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
|
|
|
|
} ACMFORMATDETAILS16, *NPACMFORMATDETAILS16, *LPACMFORMATDETAILS16;
|
|
|
|
|
|
|
|
typedef struct _ACMFORMATTAGDETAILS16
|
|
|
|
{
|
|
|
|
DWORD cbStruct;
|
|
|
|
DWORD dwFormatTagIndex;
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD cbFormatSize;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
DWORD cStandardFormats;
|
|
|
|
CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
|
|
|
|
} ACMFORMATTAGDETAILS16, *NPACMFORMATTAGDETAILS16, *LPACMFORMATTAGDETAILS16;
|
|
|
|
|
|
|
|
typedef ACMSTREAMHEADER ACMSTREAMHEADER16, *NPACMSTREAMHEADER16, *LPACMSTREAMHEADER16;
|
|
|
|
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef BOOL16 (CALLBACK *ACMFILTERENUMCB16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HACMDRIVERID16 hadid, LPACMFILTERDETAILS16 pafd,
|
|
|
|
DWORD dwInstance, DWORD fdwSupport
|
|
|
|
);
|
|
|
|
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef BOOL16 (CALLBACK *ACMFILTERTAGENUMCB16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HACMDRIVERID16 hadid, LPACMFILTERTAGDETAILS16 paftd,
|
|
|
|
DWORD dwInstance, DWORD fdwSupport
|
|
|
|
);
|
|
|
|
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef BOOL16 (CALLBACK *ACMFORMATENUMCB16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HACMDRIVERID16 hadid, LPACMFORMATDETAILS16 pafd,
|
|
|
|
DWORD dwInstance, DWORD fdwSupport
|
|
|
|
);
|
|
|
|
|
2002-02-02 19:42:11 +01:00
|
|
|
typedef BOOL16 (CALLBACK *ACMFORMATTAGENUMCB16)(
|
2000-09-27 00:20:14 +02:00
|
|
|
HACMDRIVERID16 hadid, LPACMFORMATTAGDETAILS16 paftd,
|
|
|
|
DWORD dwInstance, DWORD fdwSupport
|
|
|
|
);
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Functions - Win16
|
|
|
|
*/
|
|
|
|
|
2004-12-13 22:19:01 +01:00
|
|
|
DWORD WINAPI acmGetVersion16(void);
|
2000-09-27 00:20:14 +02:00
|
|
|
MMRESULT16 WINAPI acmMetrics16(
|
|
|
|
HACMOBJ16 hao, UINT16 uMetric, LPVOID pMetric
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverEnum16(
|
|
|
|
ACMDRIVERENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverDetails16(
|
|
|
|
HACMDRIVERID16 hadid, LPACMDRIVERDETAILS16 padd, DWORD fdwDetails
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverAdd16(
|
|
|
|
LPHACMDRIVERID16 phadid, HINSTANCE16 hinstModule,
|
|
|
|
LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverRemove16(
|
|
|
|
HACMDRIVERID16 hadid, DWORD fdwRemove
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverOpen16(
|
|
|
|
LPHACMDRIVER16 phad, HACMDRIVERID16 hadid, DWORD fdwOpen
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverClose16(
|
|
|
|
HACMDRIVER16 had, DWORD fdwClose
|
|
|
|
);
|
|
|
|
LRESULT WINAPI acmDriverMessage16(
|
|
|
|
HACMDRIVER16 had, UINT16 uMsg, LPARAM lParam1, LPARAM lParam2
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverID16(
|
|
|
|
HACMOBJ16 hao, LPHACMDRIVERID16 phadid, DWORD fdwDriverID
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmDriverPriority16(
|
|
|
|
HACMDRIVERID16 hadid, DWORD dwPriority, DWORD fdwPriority
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatTagDetails16(
|
|
|
|
HACMDRIVER16 had, LPACMFORMATTAGDETAILS16 paftd, DWORD fdwDetails
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatTagEnum16(
|
|
|
|
HACMDRIVER16 had, LPACMFORMATTAGDETAILS16 paftd,
|
|
|
|
ACMFORMATTAGENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatChoose16(
|
|
|
|
LPACMFORMATCHOOSE16 pafmtc
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatDetails16(
|
|
|
|
HACMDRIVER16 had, LPACMFORMATDETAILS16 pafd, DWORD fdwDetails
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatEnum16(
|
|
|
|
HACMDRIVER16 had, LPACMFORMATDETAILS16 pafd,
|
|
|
|
ACMFORMATENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFormatSuggest16(
|
2002-06-01 01:06:46 +02:00
|
|
|
HACMDRIVER16 had, LPWAVEFORMATEX pwfxSrc,
|
2000-09-27 00:20:14 +02:00
|
|
|
LPWAVEFORMATEX pwfxDst, DWORD cbwfxDst, DWORD fdwSuggest
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFilterTagDetails16(
|
|
|
|
HACMDRIVER16 had, LPACMFILTERTAGDETAILS16 paftd, DWORD fdwDetails
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFilterTagEnum16(
|
|
|
|
HACMDRIVER16 had, LPACMFILTERTAGDETAILS16 paftd,
|
|
|
|
ACMFILTERTAGENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFilterChoose16(
|
|
|
|
LPACMFILTERCHOOSE16 pafltrc
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFilterDetails16(
|
|
|
|
HACMDRIVER16 had, LPACMFILTERDETAILS16 pafd, DWORD fdwDetails
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmFilterEnum16(
|
|
|
|
HACMDRIVER16 had, LPACMFILTERDETAILS16 pafd,
|
|
|
|
ACMFILTERENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamOpen16(
|
|
|
|
LPHACMSTREAM16 phas, HACMDRIVER16 had,
|
|
|
|
LPWAVEFORMATEX pwfxSrc, LPWAVEFORMATEX pwfxDst,
|
|
|
|
LPWAVEFILTER pwfltr, DWORD dwCallback,
|
|
|
|
DWORD dwInstance, DWORD fdwOpen
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamClose16(
|
|
|
|
HACMSTREAM16 has, DWORD fdwClose
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamSize16(
|
2002-06-01 01:06:46 +02:00
|
|
|
HACMSTREAM16 has, DWORD cbInput,
|
2000-09-27 00:20:14 +02:00
|
|
|
LPDWORD pdwOutputBytes, DWORD fdwSize
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamConvert16(
|
|
|
|
HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwConvert
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamReset16(
|
|
|
|
HACMSTREAM16 has, DWORD fdwReset
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamPrepareHeader16(
|
|
|
|
HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwPrepare
|
|
|
|
);
|
|
|
|
MMRESULT16 WINAPI acmStreamUnprepareHeader16(
|
|
|
|
HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwUnprepare
|
|
|
|
);
|
|
|
|
|
1999-10-31 19:29:16 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Wine specific - Win32
|
|
|
|
*/
|
|
|
|
typedef struct _WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
|
1999-12-12 22:28:09 +01:00
|
|
|
typedef struct _WINE_ACMDRIVER *PWINE_ACMDRIVER;
|
1999-10-31 19:29:16 +01:00
|
|
|
|
2000-08-26 06:33:00 +02:00
|
|
|
#define WINE_ACMOBJ_DONTCARE 0x5EED0000
|
|
|
|
#define WINE_ACMOBJ_DRIVERID 0x5EED0001
|
|
|
|
#define WINE_ACMOBJ_DRIVER 0x5EED0002
|
|
|
|
#define WINE_ACMOBJ_STREAM 0x5EED0003
|
2006-01-18 12:10:59 +01:00
|
|
|
#define WINE_ACMOBJ_NOTIFYWND 0x5EED0004
|
2006-01-18 12:16:57 +01:00
|
|
|
#define WINE_ACMOBJ_LOCALDRIVER 0x5EED0005
|
2000-08-26 06:33:00 +02:00
|
|
|
|
1999-10-31 19:29:16 +01:00
|
|
|
typedef struct _WINE_ACMOBJ
|
|
|
|
{
|
2000-08-26 06:33:00 +02:00
|
|
|
DWORD dwType;
|
|
|
|
PWINE_ACMDRIVERID pACMDriverID;
|
1999-10-31 19:29:16 +01:00
|
|
|
} WINE_ACMOBJ, *PWINE_ACMOBJ;
|
|
|
|
|
2006-01-18 12:16:57 +01:00
|
|
|
typedef struct _WINE_ACMLOCALDRIVER * PWINE_ACMLOCALDRIVER;
|
|
|
|
typedef struct _WINE_ACMLOCALDRIVERINST * PWINE_ACMLOCALDRIVERINST;
|
|
|
|
typedef struct _WINE_ACMLOCALDRIVER
|
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
HMODULE hModule;
|
|
|
|
DRIVERPROC lpDrvProc;
|
|
|
|
PWINE_ACMLOCALDRIVERINST pACMInstList;
|
|
|
|
PWINE_ACMLOCALDRIVER pNextACMLocalDrv;
|
|
|
|
PWINE_ACMLOCALDRIVER pPrevACMLocalDrv;
|
|
|
|
} WINE_ACMLOCALDRIVER;
|
|
|
|
|
|
|
|
typedef struct _WINE_ACMLOCALDRIVERINST
|
|
|
|
{
|
|
|
|
PWINE_ACMLOCALDRIVER pLocalDriver;
|
|
|
|
DWORD dwDriverID;
|
|
|
|
BOOL bSession;
|
|
|
|
PWINE_ACMLOCALDRIVERINST pNextACMInst;
|
|
|
|
} WINE_ACMLOCALDRIVERINST;
|
|
|
|
|
1999-10-31 19:29:16 +01:00
|
|
|
typedef struct _WINE_ACMDRIVER
|
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
HDRVR hDrvr;
|
2006-01-18 12:16:57 +01:00
|
|
|
PWINE_ACMLOCALDRIVERINST pLocalDrvrInst;
|
|
|
|
|
1999-12-12 22:28:09 +01:00
|
|
|
PWINE_ACMDRIVER pNextACMDriver;
|
|
|
|
} WINE_ACMDRIVER;
|
1999-10-31 19:29:16 +01:00
|
|
|
|
|
|
|
typedef struct _WINE_ACMSTREAM
|
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
PWINE_ACMDRIVER pDrv;
|
|
|
|
ACMDRVSTREAMINSTANCE drvInst;
|
1999-12-05 03:17:18 +01:00
|
|
|
HACMDRIVER hAcmDriver;
|
1999-10-31 19:29:16 +01:00
|
|
|
} WINE_ACMSTREAM, *PWINE_ACMSTREAM;
|
|
|
|
|
|
|
|
typedef struct _WINE_ACMDRIVERID
|
|
|
|
{
|
2000-08-26 06:33:00 +02:00
|
|
|
WINE_ACMOBJ obj;
|
2003-07-02 02:40:14 +02:00
|
|
|
LPWSTR pszDriverAlias;
|
|
|
|
LPWSTR pszFileName;
|
2006-01-18 12:16:57 +01:00
|
|
|
PWINE_ACMLOCALDRIVER pLocalDriver; /* NULL if global */
|
1999-12-12 22:28:09 +01:00
|
|
|
PWINE_ACMDRIVER pACMDriverList;
|
1999-10-31 19:29:16 +01:00
|
|
|
PWINE_ACMDRIVERID pNextACMDriverID;
|
1999-12-12 22:28:09 +01:00
|
|
|
PWINE_ACMDRIVERID pPrevACMDriverID;
|
2001-04-23 20:14:41 +02:00
|
|
|
/* information about the driver itself, either gotten from registry or driver itself */
|
|
|
|
DWORD cFilterTags;
|
|
|
|
DWORD cFormatTags;
|
|
|
|
DWORD fdwSupport;
|
|
|
|
struct {
|
|
|
|
DWORD dwFormatTag;
|
|
|
|
DWORD cbwfx;
|
|
|
|
}* aFormatTag;
|
1999-10-31 19:29:16 +01:00
|
|
|
} WINE_ACMDRIVERID;
|
|
|
|
|
2006-01-18 12:10:59 +01:00
|
|
|
typedef struct _WINE_ACMNOTIFYWND * PWINE_ACMNOTIFYWND;
|
|
|
|
typedef struct _WINE_ACMNOTIFYWND
|
|
|
|
{
|
|
|
|
WINE_ACMOBJ obj;
|
|
|
|
HWND hNotifyWnd; /* Window to notify on ACM events: driver add, driver removal, priority change */
|
|
|
|
DWORD dwNotifyMsg; /* Notification message to send to window */
|
|
|
|
DWORD fdwSupport;
|
|
|
|
PWINE_ACMNOTIFYWND pNextACMNotifyWnd;
|
|
|
|
PWINE_ACMNOTIFYWND pPrevACMNotifyWnd;
|
|
|
|
} WINE_ACMNOTIFYWND;
|
|
|
|
|
1999-10-31 19:29:16 +01:00
|
|
|
/* From internal.c */
|
|
|
|
extern HANDLE MSACM_hHeap;
|
|
|
|
extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
|
2004-04-20 02:34:52 +02:00
|
|
|
extern PWINE_ACMDRIVERID MSACM_RegisterDriver(LPCWSTR pszDriverAlias, LPCWSTR pszFileName,
|
2006-01-18 12:16:57 +01:00
|
|
|
PWINE_ACMLOCALDRIVER pLocalDriver);
|
2000-08-26 06:33:00 +02:00
|
|
|
extern void MSACM_RegisterAllDrivers(void);
|
|
|
|
extern PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
|
|
|
|
extern void MSACM_UnregisterAllDrivers(void);
|
|
|
|
extern PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
|
|
|
|
extern PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
|
2006-01-18 12:10:59 +01:00
|
|
|
extern PWINE_ACMNOTIFYWND MSACM_GetNotifyWnd(HACMDRIVERID hDriver);
|
2000-08-26 06:33:00 +02:00
|
|
|
extern PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type);
|
|
|
|
|
|
|
|
extern MMRESULT MSACM_Message(HACMDRIVER, UINT, LPARAM, LPARAM);
|
2007-05-27 18:52:30 +02:00
|
|
|
extern BOOL MSACM_FindFormatTagInCache(const WINE_ACMDRIVERID*, DWORD, LPDWORD);
|
2000-08-26 06:33:00 +02:00
|
|
|
|
2006-01-18 12:06:56 +01:00
|
|
|
extern void MSACM_RePositionDriver(PWINE_ACMDRIVERID, DWORD);
|
|
|
|
extern void MSACM_WriteCurrentPriorities(void);
|
|
|
|
extern void MSACM_BroadcastNotification(void);
|
|
|
|
extern void MSACM_DisableNotifications(void);
|
|
|
|
extern void MSACM_EnableNotifications(void);
|
2006-01-18 12:10:59 +01:00
|
|
|
extern PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNotifyMsg);
|
2007-05-27 18:52:30 +02:00
|
|
|
extern PWINE_ACMNOTIFYWND MSACM_UnRegisterNotificationWindow(const WINE_ACMNOTIFYWND*);
|
2006-01-18 12:06:56 +01:00
|
|
|
|
2006-01-18 12:07:42 +01:00
|
|
|
extern PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry);
|
|
|
|
|
2006-01-18 12:16:57 +01:00
|
|
|
extern PWINE_ACMLOCALDRIVER MSACM_RegisterLocalDriver(HMODULE hModule, DRIVERPROC lpDriverProc);
|
|
|
|
extern PWINE_ACMLOCALDRIVERINST MSACM_OpenLocalDriver(PWINE_ACMLOCALDRIVER, LPARAM);
|
|
|
|
extern LRESULT MSACM_CloseLocalDriver(PWINE_ACMLOCALDRIVERINST);
|
|
|
|
/*
|
|
|
|
extern PWINE_ACMLOCALDRIVER MSACM_GetLocalDriver(HACMDRIVER hDriver);
|
|
|
|
*/
|
2000-08-26 06:33:00 +02:00
|
|
|
/* From msacm32.c */
|
|
|
|
extern HINSTANCE MSACM_hInstance32;
|
|
|
|
|
2000-10-12 22:46:49 +02:00
|
|
|
/* From pcmcnvtr.c */
|
2006-02-17 14:08:38 +01:00
|
|
|
LRESULT CALLBACK PCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
|
2000-10-12 22:46:49 +02:00
|
|
|
LPARAM dwParam1, LPARAM dwParam2);
|
|
|
|
|
2000-08-26 06:33:00 +02:00
|
|
|
/* Dialog box templates */
|
2001-01-04 21:58:05 +01:00
|
|
|
#include "msacmdlg.h"
|
2000-09-27 00:20:14 +02:00
|
|
|
|
|
|
|
#endif /* __WINE_WINEACM_H */
|