(IN) Specifies the number of the specified LPT device.
setupStringLen
(IN/OUT) Points to the length of the buffer setupString upon
input. Points to the length of the actual setupString returned
(optional) upon output.
setupString
(OUT) Points to a buffer in which to put setupString (optional).
resetStringLen
(IN/OUT) Points to the length of the buffer resetString upon
input. Points to the length of the actual resetString returned
(optional).
resetString
(OUT) Points to a buffer in which to put resetString (optional).
Return values
0x0000
SUCCESSFUL
Notices
A buffer the size of setupStringMaxLen and
resetStringMaxLen(fields in NWCAPTURE_FLAGS2) must be
provided for NWGetPrinterStrings. These lengths can be retrieved
by calling NWGetCaptureFlags. The actual string lengths are
returned in setupStringLen and resetStringLen. The
strings are not NULL-terminated and may contain NULLs.
If set to NULL, setupString is not filled and no value
is returned in setupStringLen. If set to NULL,
resetString is not filled and no value is returned in
resetStringLen.
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).