[MSACM32]

* Move some inclusions to the main header.
* Set the default debugging channel globally through the main header.
* Remove inclusions that already exist in the main header/resource file.
CORE-7716

svn path=/trunk/; revision=61400
This commit is contained in:
Amine Khaldi 2013-12-25 11:46:57 +00:00
parent 5ee36b1e8f
commit aac4baa0ad
33 changed files with 16 additions and 186 deletions

View file

@ -21,28 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <config.h>
//#include "wine/port.h"
//#include <stdarg.h>
//#include <stdio.h>
#include <windef.h>
//#include "winbase.h"
#include <wingdi.h>
//#include "winuser.h"
//#include "winnls.h"
//#include "mmsystem.h"
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/***********************************************************************
* acmDriverAddA (MSACM32.@)

View file

@ -20,23 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
//#include <string.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
//#include "winerror.h"
//#include "mmsystem.h"
#define NOBITMAP
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/***********************************************************************
* acmFilterChooseA (MSACM32.@)

View file

@ -19,26 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
//#include <string.h>
#include <windef.h>
//#include "winbase.h"
//#include "winnls.h"
//#include "winerror.h"
#include <wingdi.h>
#include <winuser.h>
#include <wine/unicode.h>
#include <wine/debug.h>
//#include "mmsystem.h"
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
struct MSACM_FillFormatData {
HWND hWnd;
#define WINE_ACMFF_TAG 0

View file

@ -21,26 +21,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
//#include <string.h>
#include <windef.h>
//#include "winbase.h"
#include <wingdi.h>
#include <winuser.h>
//#include "winerror.h"
#include <winreg.h>
//#include "mmsystem.h"
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
#include <winreg.h>
/**********************************************************************/

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
/* Czech strings in CP1250 */

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
#pragma code_page(65001)
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 235, 100

View file

@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
#pragma code_page(65001)
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN

View file

@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
DLG_ACMFORMATCHOOSE_ID DIALOG 10, 20, 225, 100

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wineacm.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)

View file

@ -21,22 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
//#include <stdarg.h>
//#include "windef.h"
//#include "winbase.h"
#include <wine/debug.h>
//#include "mmsystem.h"
#define NOBITMAP
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/**********************************************************************/
HINSTANCE MSACM_hInstance32 = 0;

View file

@ -18,19 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "mmsystem.h"
#include "mmreg.h"
#include "msacm.h"
#include "msacmdrv.h"
#include "wineacm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/**************************************************************************
* DllEntryPoint (MSACM.255)

View file

@ -26,30 +26,9 @@
* embedded driver handling scheme in msacm32.dll which isn't done yet
*/
#define WIN32_NO_STATUS
#include <config.h>
#include "wineacm.h"
#include <assert.h>
#include <stdarg.h>
//#include <string.h>
#include <windef.h>
#include <winbase.h>
//#include "mmsystem.h"
#define NOBITMAP
//#include "mmreg.h"
//#include "msacm.h"
//#include "wingdi.h"
#include <winnls.h>
#include <winuser.h>
#include <msacmdrv.h>
//#include "wineacm.h"
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/***********************************************************************
* PCM_drvOpen

View file

@ -28,23 +28,8 @@
* + properly close ACM streams
*/
#define WIN32_NO_STATUS
//#include <stdarg.h>
//#include <string.h>
//#include "windef.h"
//#include "winbase.h"
//#include "winerror.h"
#include <wine/debug.h>
//#include "mmsystem.h"
#define NOBITMAP
//#include "mmreg.h"
//#include "msacm.h"
#include <msacmdrv.h>
#include "wineacm.h"
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
static PWINE_ACMSTREAM ACM_GetStream(HACMSTREAM has)
{
TRACE("(%p)\n", has);

View file

@ -20,8 +20,20 @@
#ifndef __WINE_WINEACM_H
#define __WINE_WINEACM_H
//#include <windef.h>
//#include <winuser.h>
#include <config.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#define NOBITMAP
#include <wine/msacmdrv.h>
#include <wine/unicode.h>
#include <winuser.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msacm);
/***********************************************************************
* Wine specific - Win32