Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
27a0ced6
Commit
27a0ced6
authored
Feb 14, 1999
by
Bertho Stultiens
Committed by
Alexandre Julliard
Feb 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change a couple of names that would conflict after all 32[AW] suffixes
are removed. Structures defined in both mmreg.h and mmsystem.h are protected with #ifdef:s as in MS' headers.
parent
779352b5
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
51 deletions
+57
-51
msacm_main.c
dlls/msacm/msacm_main.c
+4
-4
format.c
dlls/msacm32/format.c
+1
-1
stream.c
dlls/msacm32/stream.c
+2
-2
mmreg.h
include/mmreg.h
+10
-9
mmsystem.h
include/mmsystem.h
+4
-1
msacm.h
include/msacm.h
+24
-24
msacmdrv.h
include/msacmdrv.h
+10
-10
winbase.h
include/winbase.h
+2
-0
No files found.
dlls/msacm/msacm_main.c
View file @
27a0ced6
...
...
@@ -207,8 +207,8 @@ MMRESULT16 WINAPI acmFormatEnum16(
* ACMFORMATSUGGEST (MSACM.45)
*/
MMRESULT16
WINAPI
acmFormatSuggest16
(
HACMDRIVER16
had
,
LPWAVEFORMATEX
16
pwfxSrc
,
LPWAVEFORMATEX
16
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
)
HACMDRIVER16
had
,
LPWAVEFORMATEX
pwfxSrc
,
LPWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
)
{
FIXME
(
msacm
,
"(0x%04x, %p, %p, %ld, %ld): stub
\n
"
,
had
,
pwfxSrc
,
pwfxDst
,
cbwfxDst
,
fdwSuggest
...
...
@@ -283,8 +283,8 @@ MMRESULT16 WINAPI acmFilterEnum16(
*/
MMRESULT16
WINAPI
acmStreamOpen16
(
LPHACMSTREAM16
phas
,
HACMDRIVER16
had
,
LPWAVEFORMATEX
16
pwfxSrc
,
LPWAVEFORMATEX16
pwfxDst
,
LPWAVEFILTER
16
pwfltr
,
DWORD
dwCallback
,
LPWAVEFORMATEX
pwfxSrc
,
LPWAVEFORMATEX
pwfxDst
,
LPWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
)
{
FIXME
(
msacm
,
"(%p, 0x%04x, %p, %p, %p, %ld, %ld, %ld): stub
\n
"
,
...
...
dlls/msacm32/format.c
View file @
27a0ced6
...
...
@@ -97,7 +97,7 @@ MMRESULT32 WINAPI acmFormatEnum32W(
* acmFormatSuggest (MSACM32.29)
*/
MMRESULT32
WINAPI
acmFormatSuggest32
(
HACMDRIVER32
had
,
PWAVEFORMATEX
32
pwfxSrc
,
PWAVEFORMATEX32
pwfxDst
,
HACMDRIVER32
had
,
PWAVEFORMATEX
pwfxSrc
,
PWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
)
{
FIXME
(
msacm
,
"(0x%08x, %p, %p, %ld, %ld): stub
\n
"
,
...
...
dlls/msacm32/stream.c
View file @
27a0ced6
...
...
@@ -51,8 +51,8 @@ MMRESULT32 WINAPI acmStreamMessage32(
* acmStreamOpen (MSACM32.40)
*/
MMRESULT32
WINAPI
acmStreamOpen32
(
PHACMSTREAM32
phas
,
HACMDRIVER32
had
,
PWAVEFORMATEX
32
pwfxSrc
,
PWAVEFORMATEX
32
pwfxDst
,
PWAVEFILTER32
pwfltr
,
DWORD
dwCallback
,
PHACMSTREAM32
phas
,
HACMDRIVER32
had
,
PWAVEFORMATEX
pwfxSrc
,
PWAVEFORMATEX
pwfxDst
,
PWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
)
{
FIXME
(
msacm
,
"(%p, 0x%08x, %p, %p, %p, %ld, %ld, %ld): stub
\n
"
,
...
...
include/mmreg.h
View file @
27a0ced6
...
...
@@ -8,21 +8,23 @@
* Defines/Enums
*/
#ifndef _ACM_WAVEFILTER
#define _ACM_WAVEFILTER
#define WAVE_FILTER_UNKNOWN 0x0000
#define WAVE_FILTER_DEVELOPMENT 0xFFFF
/***********************************************************************
* Structures
*/
typedef
struct
_WAVEFILTER
{
DWORD
cbStruct
;
DWORD
dwFilterTag
;
DWORD
fdwFilter
;
DWORD
dwReserved
[
5
];
}
WAVEFILTER16
,
*
PWAVEFILTER16
,
*
NPWAVEFILTER16
,
*
LPWAVEFILTER16
,
WAVEFILTER32
,
*
PWAVEFILTER32
;
}
WAVEFILTER
,
*
PWAVEFILTER
,
*
NPWAVEFILTER
,
*
LPWAVEFILTER
;
#endif
/* _ACM_WAVEFILTER */
#ifndef _WAVEFORMATEX_
#define _WAVEFORMATEX_
typedef
struct
_WAVEFORMATEX
{
WORD
wFormatTag
;
WORD
nChannels
;
...
...
@@ -31,7 +33,6 @@ typedef struct _WAVEFORMATEX {
WORD
nBlockAlign
;
WORD
wBitsPerSample
;
WORD
cbSize
;
}
WAVEFORMATEX16
,
*
PWAVEFORMATEX16
,
*
NWAVEFORMATEX16
,
*
LPWAVEFORMATEX16
,
WAVEFORMATEX32
,
*
PWAVEFORMATEX32
;
}
WAVEFORMATEX
,
*
PWAVEFORMATEX
,
*
NPWAVEFORMATEX
,
*
LPWAVEFORMATEX
;
#endif
/* _WAVEFORMATEX_ */
include/mmsystem.h
View file @
27a0ced6
...
...
@@ -343,6 +343,8 @@ typedef struct {
WORD
wBitsPerSample
;
}
PCMWAVEFORMAT
,
*
LPPCMWAVEFORMAT
;
#ifndef _WAVEFORMATEX_
#define _WAVEFORMATEX_
/* dito same for Win16 / Win32 */
typedef
struct
{
WORD
wFormatTag
;
/* format type */
...
...
@@ -353,7 +355,8 @@ typedef struct {
WORD
wBitsPerSample
;
/* number of bits per sample of mono data */
WORD
cbSize
;
/* the count in bytes of the size of */
/* extra information (after cbSize) */
}
WAVEFORMATEX
,
*
LPWAVEFORMATEX
;
}
WAVEFORMATEX
,
*
LPWAVEFORMATEX
,
*
NPWAVEFORMATEX
,
*
PWAVEFORMATEX
;
#endif
UINT16
WINAPI
waveOutGetNumDevs16
(
void
);
UINT32
WINAPI
waveOutGetNumDevs32
(
void
);
...
...
include/msacm.h
View file @
27a0ced6
...
...
@@ -329,7 +329,7 @@ typedef struct _ACMFILTERCHOOSE32A
HWND32
hwndOwner
;
PWAVEFILTER
32
pwfltr
;
PWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
LPCSTR
pszTitle
;
...
...
@@ -340,7 +340,7 @@ typedef struct _ACMFILTERCHOOSE32A
DWORD
cchName
;
DWORD
fdwEnum
;
PWAVEFILTER
32
pwfltrEnum
;
PWAVEFILTER
pwfltrEnum
;
HINSTANCE32
hInstance
;
LPCSTR
pszTemplateName
;
...
...
@@ -355,7 +355,7 @@ typedef struct _ACMFILTERCHOOSE32W
HWND32
hwndOwner
;
PWAVEFILTER
32
pwfltr
;
PWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
LPCWSTR
pszTitle
;
...
...
@@ -366,7 +366,7 @@ typedef struct _ACMFILTERCHOOSE32W
DWORD
cchName
;
DWORD
fdwEnum
;
PWAVEFILTER
32
pwfltrEnum
;
PWAVEFILTER
pwfltrEnum
;
HINSTANCE32
hInstance
;
LPCWSTR
pszTemplateName
;
...
...
@@ -381,7 +381,7 @@ typedef struct _ACMFILTERCHOOSE16
HWND16
hwndOwner
;
LPWAVEFILTER
16
pwfltr
;
LPWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
LPCSTR
pszTitle
;
...
...
@@ -392,7 +392,7 @@ typedef struct _ACMFILTERCHOOSE16
DWORD
cchName
;
DWORD
fdwEnum
;
LPWAVEFILTER
16
pwfltrEnum
;
LPWAVEFILTER
pwfltrEnum
;
HINSTANCE16
hInstance
;
LPCSTR
pszTemplateName
;
...
...
@@ -406,7 +406,7 @@ typedef struct _ACMFILTERDETAILS32A
DWORD
dwFilterIndex
;
DWORD
dwFilterTag
;
DWORD
fdwSupport
;
PWAVEFILTER
32
pwfltr
;
PWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
CHAR
szFilter
[
ACMFILTERDETAILS_FILTER_CHARS
];
}
ACMFILTERDETAILS32A
,
*
PACMFILTERDETAILS32A
;
...
...
@@ -417,7 +417,7 @@ typedef struct _ACMFILTERDETAILS32W
DWORD
dwFilterIndex
;
DWORD
dwFilterTag
;
DWORD
fdwSupport
;
PWAVEFILTER
32
pwfltr
;
PWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
WCHAR
szFilter
[
ACMFILTERDETAILS_FILTER_CHARS
];
}
ACMFILTERDETAILS32W
,
*
PACMFILTERDETAILS32W
;
...
...
@@ -428,7 +428,7 @@ typedef struct _ACMFILTERDETAILS16
DWORD
dwFilterIndex
;
DWORD
dwFilterTag
;
DWORD
fdwSupport
;
LPWAVEFILTER
16
pwfltr
;
LPWAVEFILTER
pwfltr
;
DWORD
cbwfltr
;
CHAR
szFilter
[
ACMFILTERDETAILS_FILTER_CHARS
];
}
ACMFILTERDETAILS16
,
*
NPACMFILTERDETAILS16
,
*
LPACMFILTERDETAILS16
;
...
...
@@ -473,7 +473,7 @@ typedef struct _ACMFORMATCHOOSE32A
HWND32
hwndOwner
;
PWAVEFORMATEX
32
pwfx
;
PWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
LPCSTR
pszTitle
;
...
...
@@ -484,7 +484,7 @@ typedef struct _ACMFORMATCHOOSE32A
DWORD
cchName
;
DWORD
fdwEnum
;
PWAVEFORMATEX
32
pwfxEnum
;
PWAVEFORMATEX
pwfxEnum
;
HINSTANCE32
hInstance
;
LPCSTR
pszTemplateName
;
...
...
@@ -499,7 +499,7 @@ typedef struct _ACMFORMATCHOOSE32W
HWND32
hwndOwner
;
PWAVEFORMATEX
32
pwfx
;
PWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
LPCWSTR
pszTitle
;
...
...
@@ -525,7 +525,7 @@ typedef struct _ACMFORMATCHOOSE16
HWND16
hwndOwner
;
LPWAVEFORMATEX
16
pwfx
;
LPWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
LPCSTR
pszTitle
;
...
...
@@ -536,7 +536,7 @@ typedef struct _ACMFORMATCHOOSE16
DWORD
cchName
;
DWORD
fdwEnum
;
LPWAVEFORMATEX
16
pwfxEnum
;
LPWAVEFORMATEX
pwfxEnum
;
HINSTANCE16
hInstance
;
LPCSTR
pszTemplateName
;
...
...
@@ -550,7 +550,7 @@ typedef struct _ACMFORMATDETAILS32A
DWORD
dwFormatIndex
;
DWORD
dwFormatTag
;
DWORD
fdwSupport
;
PWAVEFORMATEX
32
pwfx
;
PWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
CHAR
szFormat
[
ACMFORMATDETAILS_FORMAT_CHARS
];
}
ACMFORMATDETAILS32A
,
*
PACMFORMATDETAILS32A
;
...
...
@@ -561,7 +561,7 @@ typedef struct _ACMFORMATDETAILS32W
DWORD
dwFormatIndex
;
DWORD
dwFormatTag
;
DWORD
fdwSupport
;
PWAVEFORMATEX
32
pwfx
;
PWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
WCHAR
szFormat
[
ACMFORMATDETAILS_FORMAT_CHARS
];
}
ACMFORMATDETAILS32W
,
*
PACMFORMATDETAILS32W
;
...
...
@@ -572,7 +572,7 @@ typedef struct _ACMFORMATDETAILS16
DWORD
dwFormatIndex
;
DWORD
dwFormatTag
;
DWORD
fdwSupport
;
LPWAVEFORMATEX
16
pwfx
;
LPWAVEFORMATEX
pwfx
;
DWORD
cbwfx
;
CHAR
szFormat
[
ACMFORMATDETAILS_FORMAT_CHARS
];
}
ACMFORMATDETAILS16
,
*
NPACMFORMATDETAILS16
,
*
LPACMFORMATDETAILS16
;
...
...
@@ -746,8 +746,8 @@ MMRESULT16 WINAPI acmFormatEnum16(
ACMFORMATENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
);
MMRESULT16
WINAPI
acmFormatSuggest16
(
HACMDRIVER16
had
,
LPWAVEFORMATEX
16
pwfxSrc
,
LPWAVEFORMATEX
16
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
HACMDRIVER16
had
,
LPWAVEFORMATEX
pwfxSrc
,
LPWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
);
MMRESULT16
WINAPI
acmFilterTagDetails16
(
HACMDRIVER16
had
,
LPACMFILTERTAGDETAILS16
paftd
,
DWORD
fdwDetails
...
...
@@ -768,8 +768,8 @@ MMRESULT16 WINAPI acmFilterEnum16(
);
MMRESULT16
WINAPI
acmStreamOpen16
(
LPHACMSTREAM16
phas
,
HACMDRIVER16
had
,
LPWAVEFORMATEX
16
pwfxSrc
,
LPWAVEFORMATEX16
pwfxDst
,
LPWAVEFILTER
16
pwfltr
,
DWORD
dwCallback
,
LPWAVEFORMATEX
pwfxSrc
,
LPWAVEFORMATEX
pwfxDst
,
LPWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
);
MMRESULT16
WINAPI
acmStreamClose16
(
...
...
@@ -886,7 +886,7 @@ MMRESULT32 WINAPI acmFormatEnum32W(
ACMFORMATENUMCB32W
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
);
MMRESULT32
WINAPI
acmFormatSuggest32
(
HACMDRIVER32
had
,
PWAVEFORMATEX
32
pwfxSrc
,
PWAVEFORMATEX32
pwfxDst
,
HACMDRIVER32
had
,
PWAVEFORMATEX
pwfxSrc
,
PWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
);
MMRESULT32
WINAPI
acmFormatTagDetails32A
(
...
...
@@ -918,8 +918,8 @@ MMRESULT32 WINAPI acmStreamMessage32(
HACMSTREAM32
has
,
UINT32
uMsg
,
LPARAM
lParam1
,
LPARAM
lParam2
);
MMRESULT32
WINAPI
acmStreamOpen32
(
PHACMSTREAM32
phas
,
HACMDRIVER32
had
,
PWAVEFORMATEX
32
pwfxSrc
,
PWAVEFORMATEX
32
pwfxDst
,
PWAVEFILTER32
pwfltr
,
DWORD
dwCallback
,
PHACMSTREAM32
phas
,
HACMDRIVER32
had
,
PWAVEFORMATEX
pwfxSrc
,
PWAVEFORMATEX
pwfxDst
,
PWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
);
MMRESULT32
WINAPI
acmStreamPrepareHeader32
(
...
...
include/msacmdrv.h
View file @
27a0ced6
...
...
@@ -89,9 +89,9 @@ typedef struct _ACMDRVOPENDESC16
typedef
struct
_ACMDRVSTREAMINSTANCE16
{
DWORD
cbStruct
;
LPWAVEFORMATEX
16
pwfxSrc
;
LPWAVEFORMATEX
16
pwfxDst
;
LPWAVEFILTER
16
pwfltr
;
LPWAVEFORMATEX
pwfxSrc
;
LPWAVEFORMATEX
pwfxDst
;
LPWAVEFILTER
pwfltr
;
DWORD
dwCallback
;
DWORD
dwInstance
;
DWORD
fdwOpen
;
...
...
@@ -103,9 +103,9 @@ typedef struct _ACMDRVSTREAMINSTANCE16
typedef
struct
_ACMDRVSTREAMINSTANCE32
{
DWORD
cbStruct
;
PWAVEFORMATEX
32
pwfxSrc
;
PWAVEFORMATEX
32
pwfxDst
;
PWAVEFILTER
32
pwfltr
;
PWAVEFORMATEX
pwfxSrc
;
PWAVEFORMATEX
pwfxDst
;
PWAVEFILTER
pwfltr
;
DWORD
dwCallback
;
DWORD
dwInstance
;
DWORD
fdwOpen
;
...
...
@@ -184,9 +184,9 @@ typedef struct _ACMDRVFORMATSUGGEST16
{
DWORD
cbStruct
;
DWORD
fdwSuggest
;
LPWAVEFORMATEX
16
pwfxSrc
;
LPWAVEFORMATEX
pwfxSrc
;
DWORD
cbwfxSrc
;
LPWAVEFORMATEX
16
pwfxDst
;
LPWAVEFORMATEX
pwfxDst
;
DWORD
cbwfxDst
;
}
ACMDRVFORMATSUGGEST16
,
*
NPACMDRVFORMATSUGGEST
,
*
LPACMDRVFORMATSUGGEST
;
...
...
@@ -194,9 +194,9 @@ typedef struct _ACMDRVFORMATSUGGEST32
{
DWORD
cbStruct
;
DWORD
fdwSuggest
;
PWAVEFORMATEX
32
pwfxSrc
;
PWAVEFORMATEX
pwfxSrc
;
DWORD
cbwfxSrc
;
PWAVEFORMATEX
32
pwfxDst
;
PWAVEFORMATEX
pwfxDst
;
DWORD
cbwfxDst
;
}
ACMDRVFORMATSUGGEST32
,
*
PACMDRVFORMATSUGGEST32
;
...
...
include/winbase.h
View file @
27a0ced6
...
...
@@ -1397,6 +1397,8 @@ BOOL32 WINAPI FlushFileBuffers(HFILE32);
BOOL32
WINAPI
FlushViewOfFile
(
LPCVOID
,
DWORD
);
DWORD
WINAPI
FormatMessage32A
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPSTR
,
DWORD
,
LPDWORD
);
DWORD
WINAPI
FormatMessage32W
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPWSTR
,
DWORD
,
LPDWORD
);
#define FormatMessage WINELIB_NAME_AW(FormatMessage)
BOOL32
WINAPI
FreeConsole
(
void
);
BOOL32
WINAPI
FreeEnvironmentStrings32A
(
LPSTR
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment