NWGetCaptureFlags(3nw)
NWGetCaptureFlags --
gets information concerning the capture
Synopsis
#include <nwprint.h>
or
#include <nwcalls. h>
NWCCODE NWAPI NWGetCaptureFlags
(nuint LPTDevice,
NWCAPTURE_FLAGS1 N_FAR
captureFlags1,
NWCAPTURE_FLAGS2 N_FAR
captureFlags2);
Description
The parameters are as follows:
- LPTDevice
-
(IN) Specifies the number of the specified LPT device.
- captureFlags1
-
(OUT) Points to NWCAPTURE_FLAGS1 containing capture flags for
the specified LPT device (optional).
- captureFlags2
-
(OUT) Points to NWCAPTURE_FLAGS2 containing capture flags for the
specified LPT device (optional).
Return values
- 0x0000
-
SUCCESSFUL
Notices
Under Netx, 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).
NWCAPTURE_FLAGS1 contains flags that can be set and
NWCAPTURE_FLAGS2 contains read-only information.
Services
Print
NCP calls
None
References
NWSetCaptureFlags(3nw),
NWStartQueueCapture(3nw),
NWGetCaptureStatus(3nw),
NWStartFileCapture(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.