If this function is called with one input argument of type structure array then check the field names and the field values of the OdePkg structure oldstruct and return the structure as newstruct if no error is found. Optionally if this function is called with a second input argument "solver" of type string taht specifies the name of a valid OdePkg solver then a higher level error detection is performed. The function does not modify any of the field names or field values but terminates with an error if an invalid option or value is found.
This function is an OdePkg internal helper function therefore it should never be necessary that this function is called directly by a user. There is only little error detection implemented in this function file to achieve the highest performance.
Run examples with the command
demo odepkg_structure_check