NWGetSupportModuleInfo

Returns information about the Data Migrator NLM support modules or a list of all loaded support module IDs

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  NWGetSupportModuleInfo  ( 
      NWCONN_HANDLE   conn,  
      nuint32         informationLevel,  
      nuint32         supportModuleID,  
      pnuint8         returnInfo,  
      pnuint32        returnInfoLen);
   

Delphi Syntax

   uses calwin32 
    
   Function NWGetSupportModuleInfo 
     (conn : NWCONN_HANDLE; 
      informationLevel : nuint32; 
      supportModuleID : nuint32; 
      returnInfo : pnuint8; 
      returnInfoLen : pnuint32 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

informationLevel

(IN) Specifies the level of information to be returned. If information Level = 0, returns information about the DM NLM support module; if information Level = 1, returns a list of all loaded support module IDs.

supportModuleID

(IN) Specifies the assigned ID number of the support module migrating the data.

returnInfo

(OUT) Points to the area in which to store the information.

returnInfoLen

(OUT) Points to the size of the data area the user allocated in which to return information.

Return Values

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

0x0000

SUCCESSFUL

0x00F0

ERR_INVALID_SM_ID

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89A8

ERR_ACCESS_DENIED

0x89FF

Failure, Invalid Info Level, or Invalid Parameter

Remarks

If the informationLevel parameter contains 0 (zero), the SUPPORT_MODULE_INFO structure will be used to return information about the DM NLM support module to the returnInfo parameter. If the informationLevel parameter contains 1, the SUPPORT_MODULE_IDS structure will be used to return a list of all loaded support module IDs to the returnInfo parameter.

NCP Calls

See Also

NWGetDefaultSupportModule, NWGetDataMigratorInfo, NWGetDMVolumeInfo