mixdrv.h
来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 58 行
H
58 行
/*
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 + =
减小字号Ctrl + -
显示快捷键?