NWPSPdfSetImportDate(3nw)


NWPSPdfSetImportDate -- changes date/time set in .PDF file

Synopsis

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

NWCCODE NWAPI NWPSPdfSetImportDate (WORD connType, DWORD connID, char NWFAR *fileName, WORD year, WORD month, WORD day, WORD hour, WORD minute, WORD second);

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.

fileName
(IN) Points to the name of the .PDF file.

year
(IN) Specifies the year to set the date to (1992-65535).

month
(IN) Specifies the month to set the date to (1-12).

day
(IN) Specifies the day to set the date to (1-31).

hour
(IN) Specifies the hour to set the date to (0-23, where 0=12 a.m.).

minute
(IN) Specifies the minute to set the date to (0-60).

second
(IN) Specifies the second to set the date to (0-60).

Return values

0x0000
NWPSE_SUCCESSFUL

0x7774
NWPSE_ERROR_OPENING_DB

0x7777
NWPSE_ERROR_WRITING_DB

Notices

None of the fields are optional.

Services

Print Server

References

NWPSPdfExportDevice(3nw), NWPSPdfImportDevice(3nw), NWPSPdfGetImportDate(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.