Moves file data to an online, long term storage medium but leaves the file visible on a NetWare volume
#include <nwmigrat.h>
or
#include <nwcalls.h>
NWCCODE N_API NWMoveFileToDM (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *path,
nuint8 nameSpace,
nuint32 supportModuleID,
nuint32 saveKeyFlag);
uses calwin32
Function NWMoveFileToDM
(conn : NWCONN_HANDLE;
dirHandle : NWDIR_HANDLE;
const path : pnstr8;
nameSpace : nuint8;
supportModuleID : nuint32;
saveKeyFlag : nuint32
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle associated with the desired name space (optional).
(IN) Points to a valid path, which points to a directory or file.
(IN) Specifies the name space of the path (see Section 20.5, Name Space Flag Values).
(IN) Specifies the assigned ID number of the support module migrating the data.
(IN) Specifies if the migrator key will be saved when the file is demigrated:
These are common return values; see Return Values for C for more information.
If saveKeyFlag equals SAVE_KEY_WHEN_FILE_IS_DEMIGRATED, the key will be saved when the file is demigrated. This saves time because the file will not be deleted from the migrated media and will be checked for changes before subsequent migrations.