2.3.10 TASK_XML_ERROR_INFO

The TASK_XML_ERROR_INFO structure is a return value from the SchRpcRegisterTask (Opnum 1) method that contains additional information about an error in the XML task definition.

 typedef struct _TASK_XML_ERROR_INFO {
   DWORD line, column;
   [string] wchar_t* node;
   [string] wchar_t* value;
 } TASK_XML_ERROR_INFO,
  *PTASK_XML_ERROR_INFO;

line: Contains the line number where parsing failed. Carriage returns in the XML separate the string into lines. The first line is "line one".

column: Contains the column where parsing failed. Indicates the character within the line, where the first character is "column one".

node: Contains the attribute or element name that caused the error, or which is missing.

value: When this field is not empty, it contains the invalid value that caused the error.