NWPSPdfUpdateForm(3nw)


NWPSPdfUpdateForm -- changes form name or description in PRINTDEF

Synopsis

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

NWCCODE NWAPI NWPSPdfUpdateForm (WORD connType, DWORD connID, char NWFAR *oldFormName, char NWFAR *newFormName, WORD formNumber, WORD formLength, WORD formWidth);

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.

oldFormName
(IN) Points to the old form name to change.

newFormName
(IN) Points to the new form name or NULL.

formNumber
(IN) Specifies the new form number or -1.

formLength
(IN) Specifies the new form length or -1.

formWidth
(IN) Specifies the new form width or -1.

Return values

0x0000
Successful

-1
General Error

other
Bindery or Directory Services Errors

Notices

If newFormName is NULL, the form name is not changed, but the parameters may still be changed.

If any parameter is -1, the value is not changed.

Services

Print Server

References

NWPSPdfAddForm(3nw), NWPSPdfDeleteForm(3nw), NWPSPdfReadForm(3nw), NWCCOpenConnByName(3nw), NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.