IntControl 34

Syntax:

IntControl (34, p1, p2, 0, 0)

 

Returns the error message string which corresponds to the specified error.

 

p1

Meaning

{error number}

returns the error message string which corresponds to the specified error

-1

returns the error message string corresponding to the last extender error or user-defined error.

p2

Type of error passed.

Type

Meaning

0

WIL error code

1

Windows error code

 

Explanation of various parameters:

p1 value

p2 value

Result

{error number}

0

Returns WIL error string

{error number}

1

Returns Windows error string

-1

0

Returns WIL Extender error string

-1

1

Returns the last Windows error string

 

Note: Windows Error codes are returned with a trailing carriage return line feed.