581cb6de95e5ff7fafe4512c54f87d236bf61a0a
[reactos.git] / reactos / w32api / include / audevcod.h
1
2 #ifndef __AUDEVCOD__
3 #define __AUDEVCOD__
4
5 #define EC_SND_DEVICE_ERROR_BASE 0x0200
6 #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x00)
7 #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x01)
8
9 typedef enum _tagSND_DEVICE_ERROR
10 {
11
12 SNDDEV_ERROR_Open =1,
13 SNDDEV_ERROR_Close =2,
14 SNDDEV_ERROR_GetCaps =3,
15 SNDDEV_ERROR_PrepareHeader =4,
16 SNDDEV_ERROR_UnprepareHeader =5,
17 SNDDEV_ERROR_Reset =6,
18 SNDDEV_ERROR_Restart =7,
19 SNDDEV_ERROR_GetPosition =8,
20 SNDDEV_ERROR_Write =9,
21 SNDDEV_ERROR_Pause =10,
22 SNDDEV_ERROR_Stop =11,
23 SNDDEV_ERROR_Start =12,
24 SNDDEV_ERROR_AddBuffer =13,
25 SNDDEV_ERROR_Query =14,
26
27 } SNDDEV_ERR;
28 #endif // __AUDEVCOD__