NWGetDataMigratorInfo

Returns information about the data migrator

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT*, Windows* 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Data Migration

Syntax

   #include <nwmigrat.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API  NWGetDataMigratorInfo  ( 
       NWCONN_HANDLE   conn,  
       pnuint32        DMPresentFlag,  
       pnuint32        majorVersion,  
       pnuint32        minorVersion,  
       pnuint32        DMSMRegistered);
   

Delphi Syntax

   uses calwin32 
    
   Function NWGetDataMigratorInfo 
     (conn : NWCONN_HANDLE; 
      DMPresentFlag : pnuint32; 
      majorVersion : pnuint32; 
      minorVersion : pnuint32; 
      DMSMRegistered : pnuint32 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare® server connection handle.

DMPresentFlag

(OUT) Points to a flag. If equal to -1, the DM NLM has been loaded and is running; if equal to 0, the DM NLM is not loaded.

majorVersion

(OUT) Points to the data migrator major version number.

minorVersion

(OUT) Points to the data migrator minor version number.

DMSMRegistered

(OUT) Points to a flag indicating if the support module has been registered with the data migrator: non-zero = support module was registered, zero = support module was not registered.

Return Values

These are common return values; see Return Values for C for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89FB

Data Migration is not supported

NCP Calls

See Also

NWGetDMVolumeInfo, NWGetDMFileInfo