Error Codes (Setup API)
The following error codes are specific to the Setup API.
INF Parsing Errors | Description |
---|---|
ERROR_EXPECTED_SECTION_NAME | A section name was expected and not found. |
ERROR_BAD_SECTION_NAME_LINE | The section name was not of the correct format. (For example, a name not terminated by a right-hand bracket ( ] ). |
ERROR_SECTION_NAME_TOO_LONG | The section name exceeded the maximum length of MAX_SECT_NAME_LEN. |
ERROR_GENERAL_SYNTAX | The general syntax is incorrect. |
INF Runtime Errors | Description |
---|---|
ERROR_WRONG_INF_STYLE | The INF file is not of the type specified in the function call. For example, this error may be returned by the SetupOpenAppendInfFile function if the INF file was intended for an early version of Windows. |
ERROR_SECTION_NOT_FOUND | The section was not found in the INF file. |
ERROR_LINE_NOT_FOUND | The line was not found in the INF section. |