API Guide
2-210 API Functions 601355 Rev A
6 * This function prints out the
information stored in
7 * an error handle.
8*
9 * PARAMETERS:
10 * h : the error handle to print
11 *
12 ****************************************
**********/
13 #ifdef ANSI_C
14 void
vst_print_error(VST_ERROR_HANDLE
h)
15 #else
16 void vst_print_error(h)
17 VST_ERROR_HANDLE h;
18 #endif
19 {
20 VST_ERROR_CODE err;
21 int line;
22 VST_ERROR_FILE file;
23
24 VS_Error_GetFields(h,
25 VSID_ERROR_CODE,
err,
26 VSID_ERROR_LINE,
&line,
27 VSID_ERROR_FILE,
file,
28 VSID_ENDFIELD);
29
30 printf(“******Error
Handle******\n”);
31 printf(“Error Code = %s\n”,err);
32 printf(“Error File = %s\n”,file);
33 printf(“Error Line = %d\n”,line);
34 }