NWPSComGetPrintServerInfo(3nw)


NWPSComGetPrintServerInfo -- retrieves print server status and services information

Synopsis

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

NWCCODE NWAPI NWPSComGetPrintServerInfo (WORD spxID, NWPS_PSInfo NWFAR *psInfo, WORD infoSize);

Description

The parameters are as follows:

spxID
(IN) Specifies the SPX connection to the print server.

psInfo
(OUT) Points to NWPS_PSInfo.

infoSize
(IN) Specifies the size of information requested in NWPS_PSInfo.

Return values

0x0000
NWPSE_SUCCESSFUL

0x00ED
NWPSE_CONNECTION_TERMINATED

0x0103
NWPSE_BINDERY_LOCKED

0x0301
NWPSE_NOT_ENOUGH_MEMORY

0x030C
NWPSE_DOWN

Notices

NWPSComGetPrintServerInfo has no user restrictions.


NOTE: If the print server is version 1.1 or newer,futureUse is 7 bytes long; if the print server is 1.0 or older, futureUse is 12 bytes long and serialNumber and serverType are not used.

Services

Print Server

NCP calls

None

References

NWPSComAttachToPrintServer(3nw), NWPSComLoginToPrintServer(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.