NWPSPdfScanFunctionMode(3nw)
NWPSPdfScanFunctionMode --
finds modes using function
Synopsis
#include <nwps_pdf.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSPdfScanFunctionMode
(WORD connType,
DWORD connID,
char NWFAR
deviceName,
char NWFAR
modeName,
WORD funcOffset,
WORD NWFAR
funcSize,
BYTE NWFAR
funcString);
Description
The parameters are as follows:
- connType
-
(IN) Specifies either NWPS_BINDERY_SERVICE,
NWPS_BINDERY_SERVICE_PRE_40, or NWPS_DIRECTORY_SERVICE.
- connID
-
(IN) Specifies the connection or context identifier.
- deviceName
-
(IN) Points to the associated device name.
- modeName
-
(IN) Points to the mode name.
- funcOffset
-
(IN) Specifies the number of entries to skip.
- funcSize
-
(IN/OUT) Points to the buffer size of funcString upon input.
Points to the actual number of bytes read upon output.
- funcString
-
(OUT) Points to the buffer where the string is stored.
Return values
- 0x0000
-
Successful
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
To find all modes associated with the specified function, set
funcSize to -1 on the first call; it is updated when
NWPSPdfScanFunctionMode returns.
To find a specific function associated with a mode, set sequence
to NULL and set funcName to the desired function name.
Services
Print Server
NCP calls
None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.