NWGetNCPExtensionInfoByName

Returns information for the specified NCP extension handler

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 NWGetNCPExtensionInfoByName ( 
     NWCONN_HANDLE       conn,  
     const nstr8 N_FAR  *NCPExtensionName,  
     pnuint32            NCPExtensionID,  
     pnuint8             majorVersion,  
     pnuint8             minorVersion,  
     pnuint8             revision,  
     pnuint8             queryData);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetNCPExtensionInfoByName 
    (conn : NWCONN_HANDLE; 
     NCPExtensionName : pnstr8; 
     NCPExtensionID : pnuint32; 
     majorVersion : pnuint8; 
     minorVersion : pnuint8; 
     revision : pnuint8; 
     queryData : pnuint8 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
NCPExtensionName
(IN) Points to a buffer containing the NCP extension name (33 bytes) for which to get information (optional).
NCPExtensionID
(OUT) Points to the ID of the NCP extension handler.
majorVersion
(OUT) Points to the major version number of the NCP extension handler (optional).
minorVersion
(OUT) Points to the minor version number of the NCP extension handler (optional).
revision
(OUT) Points to the revision number of the NCP extension handler (optional).
queryData
(OUT) Points to a 32-byte buffer of custom information the NCP extension handler can optionally use (optional).

NCP Calls

See Also

NWGetNCPExtensionInfo, NWNCPExtensionRequest, NWFragNCPExtensionRequest, NWScanNCPExtensions, NWGetNCPExtensionsList, NWGetNumberNCPExtensions