Barst  2.0
A server that controls lab hardware.
AngeloRTVErrorCode.h
1 #ifndef AngeloRTVErroeCode_h_124124_1243124324fs_ewr324r23qf_4sdF_213r
2 #define AngeloRTVErroeCode_h_124124_1243124324fs_ewr324r23qf_4sdF_213r
3 
4 //Return Error Code
5 #define ERROR_NoError 0
6 
7 // Card Not Found (-1) ~ -(10)
8 #define ERROR_PCIBios_Not_Exist -1
9 #define ERROR_Card_Not_Exist -2
10 #define ERROR_Card_Not_Accessible -3
11 #define ERROR_UnKnow_Card_Type -4
12 #define ERROR_Maximum_Number_Of_Card_Exceed -5
13 #define ERROR_Event_Allocate_Failed -6
14 #define ERROR_Not_Initialized -7
15 #define ERROR_Failed_To_Create_INT_Thread -8
16 #define ERROR_Invalid_PortNo -9
17 #define ERROR_Invaild_Video_Format -10
18 #define ERROR_Invalid_Color_Format -11
19 #define ERROR_CPLD_Check_Failed -12
20 #define ERROR_Invalid_Frame_Rate -13
21 #define ERROR_Open_File_Fault -14
22 #define ERROR_Invalid_Address -15
23 
24 
25 
26 #define ERROR_Invalid_Image_Offset -100
27 #define ERROR_Invalid_Image_Size -101
28 #define ERROR_Invalid_Image_Scale -102
29 #define ERROR_No_Signal -103
30 
31 #define ERROR_Image_In_Processing -200
32 #define ERROR_Already_Initialized -201
33 #endif