NWPSPdfSetVersion(3nw)


NWPSPdfSetVersion -- sets .PDF version stored in database

Synopsis

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

NWCCODE NWAPI NWPSPdfSetVersion (WORD connType, DWORD connID, DWORD pdfVersion);

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.

pdfVersion
(IN) Specifies the database version. For NWPS_BINDERY_SERVICE_PRE_40, no change is made since the database has no place to store the version.

Return values

0x0000
NWPSE_SUCCESSFUL

0x7774
NWPSE_ERROR_OPENING_DB

0x7775
NWPSE_ERROR_READING_DB

0x7777
NWPSE_ERROR_WRITING_DB

0x7779
NWPSE_INTERNAL_ERROR

Notices

The database file/stream is automatically opened and closed by NWPSPdfSetVersion.

Services

Print Server

References

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