📄 wavemain.h
字号:
#pragma once
// -----------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
// Copyright (c) 1995-2000 Microsoft Corporation. All rights reserved.
//
// -----------------------------------------------------------------------------
/*
** INTEL CONFIDENTIAL
** Copyright 2000-2003 Intel Corporation All Rights Reserved.
**
** The source code contained or described herein and all documents
** related to the source code (Material) are owned by Intel Corporation
** or its suppliers or licensors. Title to the Material remains with
** Intel Corporation or its suppliers and licensors. The Material contains
** trade secrets and proprietary and confidential information of Intel
** or its suppliers and licensors. The Material is protected by worldwide
** copyright and trade secret laws and treaty provisions. No part of the
** Material may be used, copied, reproduced, modified, published, uploaded,
** posted, transmitted, distributed, or disclosed in any way without Intel抯
** prior express written permission.
** No license under any patent, copyright, trade secret or other intellectual
** property right is granted to or conferred upon you by disclosure or
** delivery of the Materials, either expressly, by implication, inducement,
** estoppel or otherwise. Any license under such intellectual property rights
** must be express and approved by Intel in writing.
*/
#include <windows.h>
#include <types.h>
#include <memory.h>
#include <string.h>
#include <nkintr.h>
#include <excpt.h>
#include <wavedbg.h>
#include <wavedev.h>
#include <waveddsi.h>
#include <mmddk.h>
#include <cardserv.h>
#include <devload.h>
#include <linklist.h>
#include <audiosys.h>
#include <wfmtmidi.h>
class StreamContext;
class WaveStreamContext;
class InputStreamContext;
class OutputStreamContext;
class DeviceContext;
class InputDeviceContext;
class OutputDeviceContext;
class HardwareContext;
#define WPDM_PRIVATE WM_USER+10
#define WPDM_PRIVATE_WRITE_AC97 WPDM_PRIVATE+0 // do a write to the ac 97 register
#define WPDM_PRIVATE_READ_AC97 WPDM_PRIVATE+1 // do a read to the ac 97 register
#define WPDM_PRIVATE_DIAG_MSG WPDM_PRIVATE+2 // TBD
#define WPDM_PRIVATE_SETUP_PHONE_PATH WPDM_PRIVATE+3 // enable the phone path from the telephone modem/hardware
//#define WPDM_PRIVATE_DISABLE_PHONE_PATH WPDM_PRIVATE+4 // disable the phone path from the telephone modem/hardware
#include "wavepdd.h"
#include "devctxt.h"
#include "hwctxt.h"
#include "strmctxt.h"
#include "midistrm.h"
//uncomment the following to see debug messages during retail
#ifdef DEBUGMSG
#undef DEBUGMSG
//#define DEBUGMSG PRINTMSG
//#define DEBUGMSG(cond,exp) (NKDbgPrintfW exp)
#define DEBUGMSG(cond,exp) ((void)0)
#endif
#ifdef RETAILMSG
#undef RETAILMSG
#define RETAILMSG(cond,exp) DEBUGMSG(cond,exp)
#endif RETAILMSG
#undef FUNC_VERBOSE
#define FUNC_VERBOSE(x) DEBUGMSG(ZONE_ERROR, (TEXT(x)) )
#undef FUNC_WPDD
#define FUNC_WPDD(x) DEBUGMSG(ZONE_ERROR, (TEXT(x)) )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -