ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
Declaration
typedef enum _ADMXRC2_STATUS { ADMXRC2_SUCCESS = 0, /* No error */ ADMXRC2_INTERNAL_ERROR = 0x1000, /* An error in the API logic occurred */ ADMXRC2_NO_MEMORY, /* Couldn't allocate memory required to complete operation */ ADMXRC2_CARD_NOT_FOUND, /* Failed to open the card with specified CardID */ ADMXRC2_FILE_NOT_FOUND, /* Failed to open bitstream file */ ADMXRC2_INVALID_FILE, /* The bitstream file appears to be corrupt */ ADMXRC2_FPGA_MISMATCH, /* The bitstream file does not match the FPGA on the card */ ADMXRC2_INVALID_HANDLE, /* The handle to the card passed was invalid */ ADMXRC2_TIMEOUT, /* The operation was not completed within the timeout period */ ADMXRC2_CARD_BUSY, /* Card could not be opened because it was already open */ ADMXRC2_INVALID_PARAMETER, /* An invalid parameter was supplied to the call */ ADMXRC2_CLOSED, /* The card was closed before the operation was completed */ ADMXRC2_CARD_ERROR, /* A hardware error occurred on the card */ ADMXRC2_NOT_SUPPORTED, /* An operation was requested which is not supported or implemented */ ADMXRC2_DEVICE_BUSY, /* The requested device or resource was in use */ ADMXRC2_INVALID_DMADESC, /* The DMA descriptor passed was invalid */ ADMXRC2_NO_DMADESC, /* No free DMA descriptors left */ ADMXRC2_FAILED, /* The operation failed */ ADMXRC2_PENDING, /* The operation is still in progress */ ADMXRC2_UNKNOWN_ERROR, /* The operation failed for reasons unknown */ ADMXRC2_NULL_POINTER, /* A null pointer was supplied in the call */ ADMXRC2_CANCELLED, /* The operation was cancelled because requesting thread terminated */ ADMXRC2_BAD_DRIVER /* The driver revision level is too low */ } ADMXRC2_STATUS;
Description
A variable of the enumerated type ADMXRC2_STATUS holds a code indicating the success or failure of a call to an ADM-XRC API function.