NWPSPdfGetVersion(3nw)
NWPSPdfGetVersion --
returns version number of PRINTDEF
Synopsis
#include <nwps_pdf.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSPdfGetVersion
(WORD connType,
DWORD connID,
DWORD NWFAR
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
-
(OUT) Points to the storage location for the database version
number. NWPS_BINDERY_SERVICE_PRE_40 always returns zero.
Return values
- 0x0000
-
Successful
- -1
-
General Error
- other
-
Bindery or Directory Services Errors
Notices
The database file/stream is automatically opened and closed by
NWPSPdfGetVersion.
If the database version is incorrect, an error occurs on all other
PRINTDEF calls, except NWPSPdfSetVersion.
Services
Print Server
References
NWCCOpenConnByName(3nw),
NWDSCreateContext(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.