Error Parameters

Error parameters are provider-specific values that are incorporated into error messages. For example, the provider might associate the error message "Cannot open table <param1>" with a dwMinor value of 10.

In the example, the error parameters would be used to supply the name of the table (<param1>) that could not be opened. Error parameters are inserted into error messages by a provider-specific error lookup service. Therefore, the format of error parameters and how they are substituted into error messages are completely provider-specific. The code in IErrorInfo calls the error lookup service. For more information, see Error Lookup Services.