typedef ULONG ARC_STATUS; #define BADHANDLE (HANDLE)-1 // // Define Error codes // #define ERROR_PRSINF_FIRST 0xFF00 #define ERROR_INF_TYPE_MISMATCH ERROR_PRSINF_FIRST + 0 #define ERROR_EXPECTED_LBRACE ERROR_PRSINF_FIRST + 1 #define ERROR_EXPECTED_STRING ERROR_PRSINF_FIRST + 2 #define ERROR_EXPECTED_RBRACE ERROR_PRSINF_FIRST + 3 #define ERROR_EXPECTED_EOL ERROR_PRSINF_FIRST + 4 #define ERROR_EXPECTED_SECTION_LINE ERROR_PRSINF_FIRST + 5 #define ERROR_EXPECTED_BAD_LINE ERROR_PRSINF_FIRST + 6 #define ERROR_EXPECTED_COMMA_ANOTHER_STRING ERROR_PRSINF_FIRST + 7 #define ERROR_EXPECTED_EQUAL_ANOTHER_STRING ERROR_PRSINF_FIRST + 8 #define ERROR_EXPECTED_EQUAL_STRING_COMMA ERROR_PRSINF_FIRST + 9 #define ERROR_EXPECTED_EQUAL_VALUE_RECIEVED ERROR_PRSINF_FIRST + 10 #define ERROR_BAD_ID_SECTION ERROR_PRSINF_FIRST + 11 #define ERROR_UNKOWN_STATE ERROR_PRSINF_FIRST + 12 #define ERROR_SECTION_NOT_FOUND ERROR_PRSINF_FIRST + 13 /* This module support access to a subset of the GUI Toolkit INF file language. The intent of the module is to return the list of options, options text and associated file names for OEM inf files of a particular type. The OEM INF file must have the following sections in the following format. (items within <> are optional or change with the INF file, they are not part of the [Identification] OptionType =