NWPSPdfGetImportDate(3nw)
NWPSPdfGetImportDate --
obtains date code of .PDF file
Synopsis
#include <nwps_pdf.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSPdfGetImportDate
(WORD connType,
DWORD connID,
char NWFAR
fileName,
WORD NWFAR
year,
WORD NWFAR
month,
WORD NWFAR
day,
WORD NWFAR
hour,
WORD NWFAR
minute,
WORD NWFAR
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
-
(OUT) Points to the year the file was created (1992-65535).
- month
-
(OUT) Points to the month the file was created (1-12).
- day
-
(OUT) Points to the day the file was created (1-31).
- hour
-
(OUT) Points to the hour the file was created (0-24, where 0=12 a.m.).
- minute
-
(OUT) Points to the minute the file was created (0-60).
- second
-
(OUT) Points to the second the file was created (0-60).
Return values
- 0x0000
-
NWPSE_SUCCESSFUL
- 0x7774
-
NWPSE_ERROR_OPENING_DB
- 0x7775
-
NWPSE_ERROR_READING_DB
Notices
None of the fields are optional.
Services
Print Server
References
NWPSPdfExportDevice(3nw),
NWPSPdfImportDevice(3nw),
NWPSPdfSetImportDate(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.