1 /** 2 * This file is part of the mingw-w64 runtime package. 3 * No warranty is given; refer to the file DISCLAIMER within this package. 4 */ 5 #ifndef __AUDEVCOD__ 6 #define __AUDEVCOD__ 7 8 #include <winapifamily.h> 9 10 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) 11 12 typedef enum _tagSND_DEVICE_ERROR { 13 SNDDEV_ERROR_Open=1, 14 SNDDEV_ERROR_Close=2, 15 SNDDEV_ERROR_GetCaps=3, 16 SNDDEV_ERROR_PrepareHeader=4, 17 SNDDEV_ERROR_UnprepareHeader=5, 18 SNDDEV_ERROR_Reset=6, 19 SNDDEV_ERROR_Restart=7, 20 SNDDEV_ERROR_GetPosition=8, 21 SNDDEV_ERROR_Write=9, 22 SNDDEV_ERROR_Pause=10, 23 SNDDEV_ERROR_Stop=11, 24 SNDDEV_ERROR_Start=12, 25 SNDDEV_ERROR_AddBuffer=13, 26 SNDDEV_ERROR_Query=14, 27 } SNDDEV_ERR; 28 29 #define EC_SND_DEVICE_ERROR_BASE 0x200 30 31 #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE) 32 #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 1) 33 #endif 34 35 #endif 36