NWGetNCPExtensionInfo

Returns information about the specified NCP extension handler

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

Syntax

  #include <nwncpext.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetNCPExtensionInfo ( 
     NWCONN_HANDLE   conn,  
     nuint32         NCPExtensionID,  
     pnstr8          NCPExtensionName,  
     pnuint8         majorVersion,  
     pnuint8         minorVersion,  
     pnuint8         revision,  
     pnuint8         queryData);
  

Delphi Syntax

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

Parameters

conn
(IN) Specifies the NetWare server connection handle.
NCPExtensionID
(IN) Specifies the ID of the NCP extension handler for which to get information.
NCPExtensionName
(OUT) Points to a buffer to receive NCP extension name (33 bytes, optional).
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 that the NCP extension handler can use (optional).

Return Values

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

0x0000

SUCCESSFUL The extension was found, and the non-null output parameters were filled.

0x89FE

Extension ID not found

Remarks

If an NCP extension with an ID higher than the one submitted was found, and its data was returned, NWGetNCPExtensionInfo returns 0x89FE.

NCP Calls

See Also

NWNCPExtensionRequest, NWFragNCPExtensionRequest, NWScanNCPExtensions, NWGetNCPExtensionInfoByName, NWGetNCPExtensionsList, NWGetNumberNCPExtensions