Functions | |
void | Generate_Error (int level, int category, int specific, const char *buf1, const char *buf2, const char *buf3) |
void Generate_Error | ( | int | level, | |
int | category, | |||
int | specific, | |||
const char * | buf1, | |||
const char * | buf2, | |||
const char * | buf3 | |||
) |
Injects an error into HOOPS 3DF.
level | - Severity of the error. See details. | |
category | - A numeric code identifying the general categorythe error belongs to. | |
specific | - A numeric code uniquely identifying the specificerror. | |
buf1 | - The first part of the error message. See detailsone line per string. Passed by reference in all languages. | |
buf2 | - The second part of the error message. See detailsone line per string. Passed by reference in all languages. | |
buf3 | - The third part of the error message. See detailsone line per string. Passed by reference in all languages. |
The error message is passed via the buf parameters. If your error message has multiple lines, pass one line per parameter. For instance, if your message has one line, only pass a string for buf1. On the other hand, if your message has two lines, pass the first line as a string for buf1 and the second line as a string for buf2.