NWGetNCPExtensionsList

Returns a list of NCP extension handlers loaded on the server

Local Servers:blocking
Remote Servers:blocking
NetWare Server: 3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:NCP Extension

Syntax

  #include <nwncpext.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetNCPExtensionsList ( 
     NWCONN_HANDLE   conn,  
     pnuint32        startNCPExtensionID,  
     pnuint16        itemsInList,  
     pnuint32        NCPExtensionIDList);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetNCPExtensionsList 
    (conn : NWCONN_HANDLE; 
     startNCPExtensionID : pnuint32; 
     itemsInList : pnuint16; 
     NCPExtensionIDList : pnuint32 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNCPExtensionID
(IN/OUT) Points to the next extension ID to use to obtain a list.
itemsInList
(OUT) Points to the number of NCP extension handler IDs.
NCPExtensionIDList
(OUT) Points to a buffer to receive list of NCP extension handler IDs (512 bytes or 4 times the number of NCP extension IDs, whichever is less).

Remarks

If there are more than 128 extension handlers loaded, call NWGetNCPExtensionsList multiple times.

Set startNCPExtensionID to 0 for the first iteration. NWGetNCPExtensionsList returns the next value to use.

NCP Calls

See Also

NWGetNCPExtensionInfo, NWNCPExtensionRequest, NWFragNCPExtensionRequest, NWScanNCPExtensions, NWGetNCPExtensionInfoByName, NWGetNumberNCPExtensions