NWPSPdfUpdateFunction(3nw)


NWPSPdfUpdateFunction -- changes function name or string

Synopsis

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

NWCCODE NWAPI NWPSPdfUpdateFunction (WORD connType, DWORD connID, char NWFAR *deviceName, char NWFAR *oldFuncName, char NWFAR *newFuncName, WORD 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.

oldFuncName
(IN) Points to the function name to modify.

newFuncName
(IN) Points to the new function name or NULL.

funcSize
(IN) Specifies the length of the new string or -1.

funcString
(IN) Points to the new string or NULL.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Notices

To change the function name, set newFuncName to a new name. To leave the function name the same, set newFuncName to NULL.

To change the function string, set funcSize to the number of bytes in funcString and set funcString to point to the new string. To leave the string the same, set funcSize to -1.

Services

Print Server

References

NWPSPdfAddDevice(3nw), NWPSPdfAddFunction(3nw), NWPSPdfDeleteFunction(3nw), NWPSPdfReadFunction(3nw), NWPSPdfUpdateFunction(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.