Commit 28b8ac83 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Added a few missing parts.

parent 58182409
...@@ -332,20 +332,6 @@ LRESULT CALLBACK PCM_DriverProc(DWORD dwDevID, HDRVR hDriv, UINT wMsg, ...@@ -332,20 +332,6 @@ LRESULT CALLBACK PCM_DriverProc(DWORD dwDevID, HDRVR hDriv, UINT wMsg,
LPARAM dwParam1, LPARAM dwParam2); LPARAM dwParam1, LPARAM dwParam2);
/* Dialog box templates */ /* Dialog box templates */
#define DLG_ACMFORMATCHOOSE_ID 70 #include "msacmdlg.h"
#define IDD_ACMFORMATCHOOSE_BTN_HELP 9
#define IDD_ACMFORMATCHOOSE_CMB_CUSTOM 100
#define IDD_ACMFORMATCHOOSE_CMB_FORMATTAG 101
#define IDD_ACMFORMATCHOOSE_CMB_FORMAT 102
#define IDD_ACMFORMATCHOOSE_BTN_SETNAME 103
#define IDD_ACMFORMATCHOOSE_BTN_DELNAME 104
#define DLG_ACMFILTERCHOOSE_ID 71
#define IDD_ACMFILTERCHOOSE_BTN_HELP 9
#define IDD_ACMFILTERCHOOSE_CMB_CUSTOM 100
#define IDD_ACMFILTERCHOOSE_CMB_FILTERTAG 101
#define IDD_ACMFILTERCHOOSE_CMB_FILTER 102
#define IDD_ACMFILTERCHOOSE_BTN_SETNAME 103
#define IDD_ACMFILTERCHOOSE_BTN_DELNAME 104
#endif /* __WINE_WINEACM_H */ #endif /* __WINE_WINEACM_H */
...@@ -40,6 +40,7 @@ INSTALLED_INCLUDES = \ ...@@ -40,6 +40,7 @@ INSTALLED_INCLUDES = \
mmreg.h \ mmreg.h \
mmsystem.h \ mmsystem.h \
msacm.h \ msacm.h \
msacmdlg.h \
ntsecapi.h \ ntsecapi.h \
oaidl.h \ oaidl.h \
objbase.h \ objbase.h \
......
...@@ -30,9 +30,15 @@ typedef LRESULT CALLBACK (*DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM); ...@@ -30,9 +30,15 @@ typedef LRESULT CALLBACK (*DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM);
typedef WORD VERSION; /* major (high byte), minor (low byte) */ typedef WORD VERSION; /* major (high byte), minor (low byte) */
#ifndef _MCIERROR_
#define _MCIERROR_
typedef DWORD MCIERROR; typedef DWORD MCIERROR;
#endif
typedef UINT MMVERSION; typedef UINT MMVERSION;
#ifndef _MCIDEVICEID_
#define _MCIDEVICEID_
typedef UINT MCIDEVICEID; typedef UINT MCIDEVICEID;
#endif
typedef UINT MMRESULT; typedef UINT MMRESULT;
typedef struct { typedef struct {
......
...@@ -13,10 +13,11 @@ ...@@ -13,10 +13,11 @@
extern "C" { extern "C" {
#endif /* defined(__cplusplus) */ #endif /* defined(__cplusplus) */
#define ACMAPI WINAPI
/*********************************************************************** /***********************************************************************
* Defines/Enums * Defines/Enums
*/ */
#define ACMERR_BASE 512 #define ACMERR_BASE 512
#define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0) #define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
#define ACMERR_BUSY (ACMERR_BASE + 1) #define ACMERR_BUSY (ACMERR_BASE + 1)
...@@ -91,12 +92,15 @@ extern "C" { ...@@ -91,12 +92,15 @@ extern "C" {
#define ACMHELPMSGSTRINGA "acmchoose_help" #define ACMHELPMSGSTRINGA "acmchoose_help"
#define ACMHELPMSGSTRINGW L"acmchoose_help" #define ACMHELPMSGSTRINGW L"acmchoose_help"
#define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING)
#define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu" #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
#define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu" #define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
#define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU)
#define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp" #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
#define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp" #define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
#define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP)
#define MM_ACM_FORMATCHOOSE 0x8000 #define MM_ACM_FORMATCHOOSE 0x8000
...@@ -237,7 +241,7 @@ typedef struct _ACMDRIVERDETAILSA ...@@ -237,7 +241,7 @@ typedef struct _ACMDRIVERDETAILSA
CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS]; CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS]; CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS]; CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
} ACMDRIVERDETAILSA, *PACMDRIVERDETAILSA; } ACMDRIVERDETAILSA, *PACMDRIVERDETAILSA, *LPACMDRIVERDETAILSA;
typedef struct _ACMDRIVERDETAILSW typedef struct _ACMDRIVERDETAILSW
{ {
...@@ -263,10 +267,11 @@ typedef struct _ACMDRIVERDETAILSW ...@@ -263,10 +267,11 @@ typedef struct _ACMDRIVERDETAILSW
WCHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS]; WCHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
WCHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS]; WCHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS]; WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
} ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW; } ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW, *LPACMDRIVERDETAILSW;
DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS) DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS)
DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS) DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS)
DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS)
typedef struct _ACMFILTERCHOOSEA typedef struct _ACMFILTERCHOOSEA
{ {
...@@ -292,7 +297,7 @@ typedef struct _ACMFILTERCHOOSEA ...@@ -292,7 +297,7 @@ typedef struct _ACMFILTERCHOOSEA
LPCSTR pszTemplateName; LPCSTR pszTemplateName;
LPARAM lCustData; LPARAM lCustData;
ACMFILTERCHOOSEHOOKPROCA pfnHook; ACMFILTERCHOOSEHOOKPROCA pfnHook;
} ACMFILTERCHOOSEA, *PACMFILTERCHOOSEA; } ACMFILTERCHOOSEA, *PACMFILTERCHOOSEA, *LPACMFILTERCHOOSEA;
typedef struct _ACMFILTERCHOOSEW typedef struct _ACMFILTERCHOOSEW
{ {
...@@ -318,10 +323,11 @@ typedef struct _ACMFILTERCHOOSEW ...@@ -318,10 +323,11 @@ typedef struct _ACMFILTERCHOOSEW
LPCWSTR pszTemplateName; LPCWSTR pszTemplateName;
LPARAM lCustData; LPARAM lCustData;
ACMFILTERCHOOSEHOOKPROCW pfnHook; ACMFILTERCHOOSEHOOKPROCW pfnHook;
} ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW; } ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW, *LPACMFILTERCHOOSEW;
DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE) DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE)
DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE) DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE)
DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE)
typedef struct _ACMFILTERDETAILSA typedef struct _ACMFILTERDETAILSA
{ {
...@@ -332,7 +338,7 @@ typedef struct _ACMFILTERDETAILSA ...@@ -332,7 +338,7 @@ typedef struct _ACMFILTERDETAILSA
PWAVEFILTER pwfltr; PWAVEFILTER pwfltr;
DWORD cbwfltr; DWORD cbwfltr;
CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
} ACMFILTERDETAILSA, *PACMFILTERDETAILSA; } ACMFILTERDETAILSA, *PACMFILTERDETAILSA, *LPACMFILTERDETAILSA;
typedef struct _ACMFILTERDETAILSW typedef struct _ACMFILTERDETAILSW
{ {
...@@ -343,10 +349,11 @@ typedef struct _ACMFILTERDETAILSW ...@@ -343,10 +349,11 @@ typedef struct _ACMFILTERDETAILSW
PWAVEFILTER pwfltr; PWAVEFILTER pwfltr;
DWORD cbwfltr; DWORD cbwfltr;
WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS]; WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
} ACMFILTERDETAILSW, *PACMFILTERDETAILSW; } ACMFILTERDETAILSW, *PACMFILTERDETAILSW, *LPACMFILTERDETAILSW;
DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS) DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS)
DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS) DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS)
DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS)
typedef struct _ACMFILTERTAGDETAILSA typedef struct _ACMFILTERTAGDETAILSA
{ {
...@@ -357,7 +364,7 @@ typedef struct _ACMFILTERTAGDETAILSA ...@@ -357,7 +364,7 @@ typedef struct _ACMFILTERTAGDETAILSA
DWORD fdwSupport; DWORD fdwSupport;
DWORD cStandardFilters; DWORD cStandardFilters;
CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
} ACMFILTERTAGDETAILSA, *PACMFILTERTAGDETAILSA; } ACMFILTERTAGDETAILSA, *PACMFILTERTAGDETAILSA, *LPACMFILTERTAGDETAILSA;
typedef struct _ACMFILTERTAGDETAILSW typedef struct _ACMFILTERTAGDETAILSW
{ {
...@@ -368,10 +375,11 @@ typedef struct _ACMFILTERTAGDETAILSW ...@@ -368,10 +375,11 @@ typedef struct _ACMFILTERTAGDETAILSW
DWORD fdwSupport; DWORD fdwSupport;
DWORD cStandardFilters; DWORD cStandardFilters;
WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS]; WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
} ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW; } ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW, *LPACMFILTERTAGDETAILSW;
DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS) DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS)
DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS) DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS)
DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS)
typedef struct _ACMFORMATCHOOSEA typedef struct _ACMFORMATCHOOSEA
{ {
...@@ -397,7 +405,7 @@ typedef struct _ACMFORMATCHOOSEA ...@@ -397,7 +405,7 @@ typedef struct _ACMFORMATCHOOSEA
LPCSTR pszTemplateName; LPCSTR pszTemplateName;
LPARAM lCustData; LPARAM lCustData;
ACMFORMATCHOOSEHOOKPROCA pfnHook; ACMFORMATCHOOSEHOOKPROCA pfnHook;
} ACMFORMATCHOOSEA, *PACMFORMATCHOOSEA; } ACMFORMATCHOOSEA, *PACMFORMATCHOOSEA, *LPACMFORMATCHOOSEA;
typedef struct _ACMFORMATCHOOSEW typedef struct _ACMFORMATCHOOSEW
{ {
...@@ -423,10 +431,11 @@ typedef struct _ACMFORMATCHOOSEW ...@@ -423,10 +431,11 @@ typedef struct _ACMFORMATCHOOSEW
LPCWSTR pszTemplateName; LPCWSTR pszTemplateName;
LPARAM lCustData; LPARAM lCustData;
ACMFORMATCHOOSEHOOKPROCW pfnHook; ACMFORMATCHOOSEHOOKPROCW pfnHook;
} ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW; } ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW, *LPACMFORMATCHOOSEW;
DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE) DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE)
DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE) DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE)
DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE)
typedef struct _ACMFORMATDETAILSA typedef struct _ACMFORMATDETAILSA
{ {
...@@ -437,7 +446,7 @@ typedef struct _ACMFORMATDETAILSA ...@@ -437,7 +446,7 @@ typedef struct _ACMFORMATDETAILSA
PWAVEFORMATEX pwfx; PWAVEFORMATEX pwfx;
DWORD cbwfx; DWORD cbwfx;
CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
} ACMFORMATDETAILSA, *PACMFORMATDETAILSA; } ACMFORMATDETAILSA, *PACMFORMATDETAILSA, *LPACMFORMATDETAILSA;
typedef struct _ACMFORMATDETAILSW typedef struct _ACMFORMATDETAILSW
{ {
...@@ -448,10 +457,11 @@ typedef struct _ACMFORMATDETAILSW ...@@ -448,10 +457,11 @@ typedef struct _ACMFORMATDETAILSW
PWAVEFORMATEX pwfx; PWAVEFORMATEX pwfx;
DWORD cbwfx; DWORD cbwfx;
WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS]; WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
} ACMFORMATDETAILSW, *PACMFORMATDETAILSW; } ACMFORMATDETAILSW, *PACMFORMATDETAILSW, *LPACMFORMATDETAILSW;
DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS) DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS)
DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS) DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS)
DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS)
typedef struct _ACMFORMATTAGDETAILSA typedef struct _ACMFORMATTAGDETAILSA
{ {
...@@ -462,7 +472,7 @@ typedef struct _ACMFORMATTAGDETAILSA ...@@ -462,7 +472,7 @@ typedef struct _ACMFORMATTAGDETAILSA
DWORD fdwSupport; DWORD fdwSupport;
DWORD cStandardFormats; DWORD cStandardFormats;
CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
} ACMFORMATTAGDETAILSA, *PACMFORMATTAGDETAILSA; } ACMFORMATTAGDETAILSA, *PACMFORMATTAGDETAILSA, *LPACMFORMATTAGDETAILSA;
typedef struct _ACMFORMATTAGDETAILSW typedef struct _ACMFORMATTAGDETAILSW
{ {
...@@ -473,10 +483,11 @@ typedef struct _ACMFORMATTAGDETAILSW ...@@ -473,10 +483,11 @@ typedef struct _ACMFORMATTAGDETAILSW
DWORD fdwSupport; DWORD fdwSupport;
DWORD cStandardFormats; DWORD cStandardFormats;
WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS]; WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
} ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW; } ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW, *LPACMFORMATTAGDETAILSW;
DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS) DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS)
DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS) DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS)
DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS)
typedef struct _ACMSTREAMHEADER typedef struct _ACMSTREAMHEADER
{ {
...@@ -492,7 +503,7 @@ typedef struct _ACMSTREAMHEADER ...@@ -492,7 +503,7 @@ typedef struct _ACMSTREAMHEADER
DWORD cbDstLengthUsed; DWORD cbDstLengthUsed;
DWORD dwDstUser; DWORD dwDstUser;
DWORD dwReservedDriver[10]; DWORD dwReservedDriver[10];
} ACMSTREAMHEADER, *PACMSTREAMHEADER; } ACMSTREAMHEADER, *PACMSTREAMHEADER, *LPACMSTREAMHEADER;
/*********************************************************************** /***********************************************************************
* Callbacks 2 * Callbacks 2
...@@ -681,7 +692,7 @@ MMRESULT WINAPI acmFormatTagEnumW( ...@@ -681,7 +692,7 @@ MMRESULT WINAPI acmFormatTagEnumW(
); );
#define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum) #define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum)
DWORD WINAPI acmGetVersion( DWORD WINAPI acmGetVersion(void
); );
MMRESULT WINAPI acmMetrics( MMRESULT WINAPI acmMetrics(
HACMOBJ hao, UINT uMetric, LPVOID pMetric HACMOBJ hao, UINT uMetric, LPVOID pMetric
......
/* msacmdlg.h definitions for MSACM dialog boxes */
#define DLG_ACMFORMATCHOOSE_ID 70
#define IDD_ACMFORMATCHOOSE_BTN_HELP 9
#define IDD_ACMFORMATCHOOSE_CMB_CUSTOM 100
#define IDD_ACMFORMATCHOOSE_CMB_FORMATTAG 101
#define IDD_ACMFORMATCHOOSE_CMB_FORMAT 102
#define IDD_ACMFORMATCHOOSE_BTN_SETNAME 103
#define IDD_ACMFORMATCHOOSE_BTN_DELNAME 104
#define DLG_ACMFILTERCHOOSE_ID 71
#define IDD_ACMFILTERCHOOSE_BTN_HELP 9
#define IDD_ACMFILTERCHOOSE_CMB_CUSTOM 100
#define IDD_ACMFILTERCHOOSE_CMB_FILTERTAG 101
#define IDD_ACMFILTERCHOOSE_CMB_FILTER 102
#define IDD_ACMFILTERCHOOSE_BTN_SETNAME 103
#define IDD_ACMFILTERCHOOSE_BTN_DELNAME 104
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment