NWPSPdfReadDevice(3nw)


NWPSPdfReadDevice -- reads number of modes and functions defined for device

Synopsis

   #include <nwps_pdf.h> 
   or 
   #include <nwpsrv.h> 
   

NWCCODE NWAPI NWPSPdfReadDevice (WORD connType, DWORD connID, char NWFAR *deviceName, WORD NWFAR *modeCount, WORD NWFAR *funcCount);

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 name of the device to read.

modeCount
(OUT) Points to the number of modes defined for the device.

funcCount
(OUT) Points to the number of functions defined.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Services

Print Server

References

NWPSPdfAddDevice(3nw), NWPSPdfDeleteDevice(3nw), NWPSPdfUpdateDevice(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.