/[cvs]/api/include/audevcod.h
ViewVC logotype

Annotation of /api/include/audevcod.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Sun Jul 1 20:47:59 2001 UTC (23 years, 4 months ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First import

1 bearsoft 1.1 //------------------------------------------------------------------------------
2     // File: AudEvCod.h
3     //
4     // Desc: List of Audio device error event codes and the expected params.
5     //
6     // Copyright (c) 1999 - 2000, Microsoft Corporation. All rights reserved.
7     //------------------------------------------------------------------------------
8    
9    
10    
11     #ifndef __AUDEVCOD__
12     #define __AUDEVCOD__
13    
14    
15     #define EC_SND_DEVICE_ERROR_BASE 0x0200
16    
17     typedef enum _tagSND_DEVICE_ERROR {
18    
19     SNDDEV_ERROR_Open=1,
20     SNDDEV_ERROR_Close=2,
21     SNDDEV_ERROR_GetCaps=3,
22     SNDDEV_ERROR_PrepareHeader=4,
23     SNDDEV_ERROR_UnprepareHeader=5,
24     SNDDEV_ERROR_Reset=6,
25     SNDDEV_ERROR_Restart=7,
26     SNDDEV_ERROR_GetPosition=8,
27     SNDDEV_ERROR_Write=9,
28     SNDDEV_ERROR_Pause=10,
29     SNDDEV_ERROR_Stop=11,
30     SNDDEV_ERROR_Start=12,
31     SNDDEV_ERROR_AddBuffer=13,
32     SNDDEV_ERROR_Query=14,
33    
34     } SNDDEV_ERR;
35    
36    
37     // Sound device error event codes
38     // ==============================
39     //
40     // All audio device error events are always passed on to the application, and are
41     // never processed by the filter graph
42    
43    
44     #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x00)
45     #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x01)
46     // Parameters: ( DWORD, DWORD)
47     // lParam1 is an enum SND_DEVICE_ERROR which notifies the app how the device was
48     // being accessed when the failure occurred.
49     //
50     // lParam2 is the error returned from the sound device call.
51     //
52    
53     #endif // __AUDEVCOD__

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26