NWPSPdfDeleteModeFunction(3nw)


NWPSPdfDeleteModeFunction -- deletes function from defined mode list

Synopsis

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

NWCCODE NWAPI NWPSPdfDeleteModeFunction (WORD connType, DWORD connID, DWORD sequence char NWFAR *deviceName, char NWFAR *modeName);

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.

sequence
(IN) Specifies the number of the function to remove from the group.

deviceName
(IN) Points to the associated device name.

modeName
(IN) Points to the mode name.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Notices

NWPSPdfDeleteModeFunction deletes the mode-to-function relationship but leaves the function string and the mode intact.

sequence is the position (zero-relative) of the function to be deleted. This facilitates deletion of the second occurrence of a function within the given mode.

Services

Print Server

References

NWPSPdfAddModeFunction(3nw), NWPSPdfDeleteFunction(3nw), NWPSPdfDeleteMode(3nw), NWPSPdfReadModeFunction(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.