RGBERROR.H
上传用户:guoxiu1214
上传日期:2019-02-27
资源大小:876k
文件大小:6k
源码类别:

多显示器编程

开发平台:

Visual C++

  1. /*******************************************************************************
  2. Copyright Datapath Ltd. 2008.
  3. File:    RGBERROR.H
  4. Purpose: Definitions of RGB errors.
  5. History:
  6.          18 JAN 08    SB   Created.
  7. *******************************************************************************/
  8. #define RGBERROR_BASE 0x10000
  9. typedef enum tagRGBERROR
  10. {
  11.    RGBERROR_NO_ERROR                        = 0,
  12.    RGBERROR_DRIVER_NOT_FOUND                =( RGBERROR_BASE + 0x0000 ),
  13.    RGBERROR_UNABLE_TO_LOAD_DRIVER           =( RGBERROR_BASE + 0x0001 ),
  14.    RGBERROR_HARDWARE_NOT_FOUND              =( RGBERROR_BASE + 0x0002 ),
  15.    RGBERROR_INVALID_INDEX                   =( RGBERROR_BASE + 0x0003 ),
  16.    RGBERROR_DEVICE_IN_USE                   =( RGBERROR_BASE + 0x0004 ),
  17.    RGBERROR_INVALID_HRGBCAPTURE             =( RGBERROR_BASE + 0x0005 ),
  18.    RGBERROR_INVALID_POINTER                 =( RGBERROR_BASE + 0x0006 ),
  19.    RGBERROR_INVALID_SIZE                    =( RGBERROR_BASE + 0x0007 ),
  20.    RGBERROR_INVALID_FLAGS                   =( RGBERROR_BASE + 0x0008 ),
  21.    RGBERROR_INVALID_DEVICE                  =( RGBERROR_BASE + 0x0009 ),
  22.    RGBERROR_INVALID_INPUT                   =( RGBERROR_BASE + 0x000A ),
  23.    RGBERROR_INVALID_FORMAT                  =( RGBERROR_BASE + 0x000D ),
  24.    RGBERROR_INVALID_VDIF_CLOCKS             =( RGBERROR_BASE + 0x000E ),
  25.    RGBERROR_INVALID_PHASE                   =( RGBERROR_BASE + 0x0011 ),
  26.    RGBERROR_INVALID_BRIGHTNESS              =( RGBERROR_BASE + 0x0013 ),
  27.    RGBERROR_INVALID_CONTRAST                =( RGBERROR_BASE + 0x0014 ),
  28.    RGBERROR_INVALID_BLACKLEVEL              =( RGBERROR_BASE + 0x0015 ),
  29.    RGBERROR_INVALID_SAMPLERATE              =( RGBERROR_BASE + 0x0016 ),
  30.    RGBERROR_INVALID_PIXEL_FORMAT            =( RGBERROR_BASE + 0x0017 ),
  31.    RGBERROR_INVALID_HWND                    =( RGBERROR_BASE + 0x0018 ),
  32.    RGBERROR_INSUFFICIENT_RESOURCES          =( RGBERROR_BASE + 0x0019 ),
  33.    RGBERROR_INSUFFICIENT_BUFFERS            =( RGBERROR_BASE + 0x001A ),
  34.    RGBERROR_INSUFFICIENT_MEMORY             =( RGBERROR_BASE + 0x001B ),
  35.    RGBERROR_SIGNAL_NOT_DETECTED             =( RGBERROR_BASE + 0x001C ),
  36.    RGBERROR_INVALID_SYNCEDGE                =( RGBERROR_BASE + 0x001D ),
  37.    RGBERROR_OLD_FIRMWARE                    =( RGBERROR_BASE + 0x001E ),
  38.    RGBERROR_HWND_AND_FRAMECAPTUREDFN        =( RGBERROR_BASE + 0x001F ),
  39.    RGBERROR_HSCALED_OUT_OF_RANGE            =( RGBERROR_BASE + 0x0020 ),
  40.    RGBERROR_VSCALED_OUT_OF_RANGE            =( RGBERROR_BASE + 0x0021 ),
  41.    RGBERROR_SCALING_NOT_SUPPORTED           =( RGBERROR_BASE + 0x0022 ),
  42.    RGBERROR_BUFFER_TOO_SMALL                =( RGBERROR_BASE + 0x0023 ),
  43.    RGBERROR_HSCALE_NOT_WORD_DIVISIBLE       =( RGBERROR_BASE + 0x0024 ),
  44.    RGBERROR_HSCALE_NOT_DWORD_DIVISIBLE      =( RGBERROR_BASE + 0x0025 ),
  45.    RGBERROR_HORADDRTIME_NOT_WORD_DIVISIBLE  =( RGBERROR_BASE + 0x0026 ),
  46.    RGBERROR_HORADDRTIME_NOT_DWORD_DIVISIBLE =( RGBERROR_BASE + 0x0027 ),
  47.    RGBERROR_VERSION_MISMATCH                =( RGBERROR_BASE + 0x0028 ),
  48.    RGBERROR_ACC_REALLOCATE_BUFFERS          =( RGBERROR_BASE + 0x0029 ),
  49.    RGBERROR_BUFFER_NOT_VALID                =( RGBERROR_BASE + 0x002A ),
  50.    RGBERROR_BUFFERS_STILL_ALLOCATED         =( RGBERROR_BASE + 0x002B ),
  51.    RGBERROR_NO_NOTIFICATION_SET             =( RGBERROR_BASE + 0x002C ),
  52.    RGBERROR_CAPTURE_DISABLED                =( RGBERROR_BASE + 0x002D ),
  53.    RGBERROR_INVALID_PIXELFORMAT             =( RGBERROR_BASE + 0x002E ),
  54.    RGBERROR_ILLEGAL_CALL                    =( RGBERROR_BASE + 0x002F ),
  55.    RGBERROR_CAPTURE_OUTSTANDING             =( RGBERROR_BASE + 0x0030 ),
  56.    RGBERROR_MODE_NOT_FOUND                  =( RGBERROR_BASE + 0x0031 ),
  57.    RGBERROR_CANNOT_DETECT                   =( RGBERROR_BASE + 0x0032 ),
  58.    RGBERROR_NO_MODE_DATABASE                =( RGBERROR_BASE + 0x0033 ),
  59.    RGBERROR_CANT_DELETE_MODE                =( RGBERROR_BASE + 0x0034 ),
  60.    RGBERROR_MUTEX_FAILURE                   =( RGBERROR_BASE + 0x0035 ),
  61.    RGBERROR_THREAD_FAILURE                  =( RGBERROR_BASE + 0x0036 ),
  62.    RGBERROR_NO_COMPLETION                   =( RGBERROR_BASE + 0x0037 ),
  63.    RGBERROR_INSUFFICIENT_RESOURCES_HALLOC   =( RGBERROR_BASE + 0x0038 ),
  64.    RGBERROR_INSUFFICIENT_RESOURCES_RGBLIST  =( RGBERROR_BASE + 0x0039 ),
  65.    RGBERROR_DEVICE_NOT_READY                =( RGBERROR_BASE + 0x003a ),
  66.    RGBERROR_HORADDRTIME_NOT_QWORD_DIVISIBLE =( RGBERROR_BASE + 0x003b ),
  67.    RGBERROR_HSCALE_NOT_QWORD_DIVISIBLE      =( RGBERROR_BASE + 0x003c ),
  68.    RGBCAPTURE_AOI_NOT_QWORD_ALIGNED         =( RGBERROR_BASE + 0x003d ),
  69.    RGBCAPTURE_AOI_NOT_DWORD_ALIGNED         =( RGBERROR_BASE + 0x003e ),
  70.    RGBERROR_INVALID_HTIMINGS                =( RGBERROR_BASE + 0x003f ),
  71.    RGBERROR_INVALID_PITCH                   =( RGBERROR_BASE + 0x0040 ),
  72.    RGBERROR_INVALID_PIXELCOUNT              =( RGBERROR_BASE + 0x0041 ),
  73.    RGBERROR_FLASH_ONLY                      =( RGBERROR_BASE + 0x0042 ),
  74.    RGBERROR_CPU_CODE_LOAD_FAILED            =( RGBERROR_BASE + 0x0043 ),
  75.    RGBERROR_IRQ_LINE_FAILED                 =( RGBERROR_BASE + 0x0044 ),
  76.    RGBERROR_CPU_CODE_LOAD_ERROR             =( RGBERROR_BASE + 0x0045 ),
  77.    RGBERROR_CPU_STARTUP_UNSIGNALLED         =( RGBERROR_BASE + 0x0046 ),
  78.    RGBERROR_HW_INTEGRITY_VIOLATION          =( RGBERROR_BASE + 0x0047 ),
  79.    RGBERROR_MEMORY_TEST_FAILED              =( RGBERROR_BASE + 0x0048 ),
  80.    RGBERROR_PCI_BUS_FAILURE                 =( RGBERROR_BASE + 0x0049 ),
  81.    RGBERROR_CPU_NO_HANDSHAKE                =( RGBERROR_BASE + 0x004a ),
  82.    RGBERROR_INVALID_VTIMINGS                =( RGBERROR_BASE + 0x004b ),
  83.    RGBERROR_INVALID_ENVIRONMENT             =( RGBERROR_BASE + 0x004c ),
  84.    RGBERROR_FILE_NOT_FOUND                  =( RGBERROR_BASE + 0x004d ),
  85.    RGBERROR_INVALID_GAIN                    =( RGBERROR_BASE + 0x004e ),
  86.    RGBERROR_INVALID_OFFSET                  =( RGBERROR_BASE + 0x004f ),
  87.    RGBERROR_CANT_ADJUST_DVI                 =( RGBERROR_BASE + 0x0050 ),
  88.    RGBERROR_INCOMPATIBLE_INTERFACE          =( RGBERROR_BASE + 0x0051 ),
  89.    RGBERROR_FLASH_INPROGRESS                =( RGBERROR_BASE + 0x0052 ),
  90. }  RGBERROR;