Jump to content

wpJobDeleted

From EDM2

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method notifies the printer object that a job has been deleted from the print queue.

Syntax

_wpJobDeleted(somSelf, ulJobId)

Parameters

somSelf (WPPrinter *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPPrinter.
ulJobId (ULONG) - input
ID of the job deleted from the print queue.

Returns

rc (BOOL) - returns
Success indicator.
  • TRUE Successful completion.
  • FALSE Error occurred.

How to Override

This method can be overridden, but the parent must be called for proper functioning of the printer object.

Usage

This method can be called at any time.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPPrinter *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulJobId; /* ID of the job deleted from the print queue. */
BOOL rc; /* Success indicator. */

rc = _wpJobDeleted(somSelf, ulJobId);

Related Methods