#include <nwps_pdf.h> or #include <nwpsrv.h>NWCCODE NWAPI NWPSPdfImportDevice (WORD connType, DWORD connID, char NWFAR
fileName, char NWFAR
deviceName);
\\file servervolumepathfile name[.PDF] volume:pathfile name[.PDF]If fileName is NULL, the file device name[.PDF] is created in the local directory.
deviceName changes the name of an import device in cases when it may conflict with an existing device and returns the imported device name to the caller.
When deviceName is NULL, use the name in the .PDF file. If it is an empty string, use the name in the .PDF file, but return the imported name to the user. If it is a new name, use the specified name instead of the name in the .PDF file.
If OBJECT_ALREADY_EXISTS returns, pass in a string to deviceName not already in use.
Every .PDF import file also has a date code associated with it. The date is always set when the file is created. See NWPSPdfSetImportDate(3nw) and NWPSPdfGetImportDate(3nw).