NWCancelCapture(3nw)
NWCancelCapture --
cancels capture for LPT device and aborts active print jobs
Synopsis
#include <nwprint.h>
or
#include <nwcalls. h>
NWCCODE NWAPI NWCancelCapture
(nuint8 LPTDevice);
Description
The parameters are as follows:
- LPTDevice
-
(IN) Specifies the number of the specified LPT device.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8836
-
INVALID_PARAMETER
Notices
NWCancelCapture ends the redirection of a specified LPT
device. If the specified LPT device was in the process of capturing
to a file, NWCancelCapture aborts and deletes the print queue job
entry.
LPTDevice can have the following values:
- 1
-
LPT1
- 2
-
LPT2
- 3
-
LPT3
Under VLM and OS/2, LPTDevice can have up to nine values (1-9).
To start another capture of the LPT device,
NWStartQueueCapture or NWStartFileCapture must be called
again.
Services
Print
NCP calls
None
References
NWEndCapture(3nw),
NWFlushCapture(3nw),
NWStartQueueCapture(3nw),
NWSetCaptureFlags(3nw),
NWGetCaptureFlags(3nw),
NWGetCaptureStatus(3nw),
NWStartFileCapture(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.