4-28 Programmer’s Manual
p c l G e t E r r o r M s g
Description
Testing/Debugging Only.
Retrieves a pointer to the error
message corresponding to a specified error number. Use this
function on error numbers returned by pclOpen, pclWrite, and
pclStatus.
Many error messages are longer than 20 characters. An
application must format the message before displaying it to
avoid truncation. See “Display” in Chapter 2 for more
information.
Error numbers that this function can retrieve
must be positive. Zero indicates success,
and negative numbers are ROM-DOS errors.
Syntax
char far* far pclGetErrorMsg(unsigned short usMsgNo);
Parameters
usMsgNo
The error number.
Return Values
Pointer to a null-terminated
message string
Successful.
0
Unsuccessful.
Summary of Contents for Gold 6037EX
Page 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Page 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Page 10: ...viii Table of Contents ...
Page 30: ...2 16 Programmer s Manual ...
Page 36: ...3 6 Programmer s Manual ...
Page 154: ...4 118 Programmer s Manual ...
Page 228: ...14 Index ...
Page 229: ......
Page 230: ......