a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 printer.device
  --background--
  CMD_FLUSH
  CMD_INVALID
  CMD_RESET
  CMD_START
  CMD_STOP
  CMD_WRITE
  CallErrHook
  PBothReady
  PQuery
  PRD_DUMPRPORT
  PRD_DUMPRPORTTAGS
  PRD_EDITPREFS
  PRD_PRTCOMMAND
  PRD_QUERY
  PRD_RAWWRITE
  PRD_READPREFS
  PRD_SETERRHOOK
  PRD_WRITEPREFS
  PRead
  PWrite
Include
GuruMeditation
Docs » Autodocs » printer.device » CallErrHook

NAME

	CallErrHook -- internal call of error hook

SYNOPSIS

	result = (*PrinterData->pd_CallErrHook)(hook, iorequest, msg);
D0
LONG CallErrHook(struct Hook *, struct IORequest *, struct PrtErrMsg *);

FUNCTION

	An application can set an error hook that is called in case of
errors to display an formated and localized error message to the
user. The driver can set an error hook to format and localize
custom error messages and to call the application's error hook. This
is done by calling PD->pd_CallErrHook() from the printer.device.
CallErrHook will do additional formating like setting a title of
the error message if no is set by the driver and then calls the
application's error hook.

RESULT

	The return value of the hook is returned from CallErrHook.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Razor 1911

TSL
FC
RZR
KEF

Comments:

$VER: d0.se 1.14 Copyright © 2011-2019 Tobias Geijersson support at d0 dot se