📄 mixdrv.h
字号:
/*
Copyright (c) 1993, 1994 Microsoft Corporation, All rights reserved
Module Name:
mixdrv.h
Abstract:
Declarations for the audio mixer drv
Revision History :
Mar 31, 1999
*/
#ifndef __MIXDRV_H__
#define __MIXDRV_H__
// driver functions
#ifdef __cplusplus
extern "C"
{
#endif
DWORD MIX_Init( DWORD regKeyPath );
BOOL MIX_Deinit( DWORD dwContext );
void MIX_PowerDown( DWORD devctx );
void MIX_PowerUp( DWORD devctx );
DWORD MIX_Open( DWORD devctx, DWORD access, DWORD share );
BOOL MIX_Close( DWORD openctx );
DWORD MIX_Read( DWORD openctx, void *pBuf, DWORD len );
DWORD MIX_Seek( DWORD openctx, long int pos, DWORD type );
DWORD MIX_Write( DWORD openctx, void *pBuf, DWORD len );
BOOL MIX_IOControl(
DWORD openctx,
DWORD dwCode,
BYTE *pBufIn,
DWORD dwLenIn,
BYTE *pBufOut,
DWORD dwLenOut,
DWORD *pdwActualOut );
typedef struct tagMixer_Context
{
HANDLE hProcess;
// PDRIVER_CONTEXT pDriverContext; // pointer to the unique driver context structure
PDRVCALLBACK pfnMixerCallback; // sent us from the middle layer
DWORD dwInstance; // returned to the application calling us
struct tagMixer_Context* pNext;
} MIXER_CONTEXT, *PMIXER_CONTEXT;
#ifdef __cplusplus
}
#endif
#endif // __MIXDRV_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -