bcamviewer_e.h

来自「BCAM 1394 Driver」· C头文件 代码 · 共 87 行

H
87
字号
//
//  Values are 32 bit values layed out as follows:
//
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
//  +---+-+-+-----------------------+-------------------------------+
//  |Sev|C|R|     Facility          |               Code            |
//  +---+-+-+-----------------------+-------------------------------+
//
//  where
//
//      Sev - is the severity code
//
//          00 - Success
//          01 - Informational
//          10 - Warning
//          11 - Error
//
//      C - is the Customer code flag
//
//      R - is a reserved bit
//
//      Facility - is the facility code
//
//      Code - is the facility's status code
//
//
// Define the facility codes
//
#define FACILITY_BCAM_VIEWER             0xFD0


//
// Define the severity codes
//
#define STATUS_SEVERITY_WARNING          0x2
#define STATUS_SEVERITY_SUCCESS          0x0
#define STATUS_SEVERITY_INFORMATIONAL    0x1
#define STATUS_SEVERITY_ERROR            0x3


//
// MessageId: E_IMAGE_FORMAT_NOT_SUPPORTED
//
// MessageText:
//
//  Image format is not supported.
//
#define E_IMAGE_FORMAT_NOT_SUPPORTED     ((ULONG)0xCFD00001L)

//
// MessageId: E_SHADING_TABELE_DOES_NOT_MATCH
//
// MessageText:
//
//  The size of the shading table doesn't match the current image size.
//
#define E_SHADING_TABELE_DOES_NOT_MATCH  ((ULONG)0xCFD00002L)

//
// MessageId: E_WRONG_COLOR_FORMAT
//
// MessageText:
//
//  Wrong color format.
//
#define E_WRONG_COLOR_FORMAT             ((ULONG)0xCFD00003L)

//
// MessageId: E_UNSUPPORTED_COLOR_CODE
//
// MessageText:
//
//  Color format '%1' isn't supported.
//
#define E_UNSUPPORTED_COLOR_CODE         ((ULONG)0xCFD00004L)

//
// MessageId: E_DEVICE_ALREADY_OPENED
//
// MessageText:
//
//  The device is already in use by another application.
//
#define E_DEVICE_ALREADY_OPENED          ((ULONG)0xCFD00005L)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?