The last error code in the BiAdvPrn.dll can be retrieved by the BlackIce_GetLastError function.
Please note that each DLL has a different Error code function and Error String function.
The BiAdvPrn.dll interface will return the following error codes:
|
Error Code number |
|
|
|
-1000 |
Devmode is NULL |
|
|
-2000 |
Devmode is not Black Ice specific |
|
|
-3000 |
Devmode conversion error |
|
|
-4000 |
Incorrect devmode |
|
|
-5000 |
The function uses wide characters |