Executes an NCP Extension that has been registered with the OS.
You must specify the NCP extension number that was obtained by calling Get NCP Extension Information (0x2222 36). NCPextensionNumber is equivalent to the NCP subfunction number.
Boundary checking is performed by the NCP extension handler.
The RequestData portion of the request packet is depending on the NCP extension handler that is used. If you use the extension handling capabilities of CLIB.NLM, the RequestData buffer might be as follows:
|
Offset |
Content |
Type |
|---|---|---|
|
13 |
MaximumReplyLength |
word (Lo-Hi) |
|
15 |
RequestBuffer |
byte[] /*528 bytes*/ |
|
RequestBufferLength |
word (Lo-Hi) |
The reply buffer length varies depending on the protocol that is used. IPX will allow a reply buffer of only 536 bytes. IP will allow a bigger buffer depending on what packet size was negotiated on connection.
If you use the extension handling capabilities of CLIB.NLM, the reply buffer might be as follows:
Get NCP Extension Information (old) 0x2222 36 00, Get NCP Extension Maximum Data Size 0x2222 36 01, Get NCP Extension Information by Name 0x2222 36 02, Get Number of Registered NCP Extensions 0x2222 36 03, Get NCP Extension Registered Verbs List 0x2222 36 04, Return NCP Extension Information 0x2222 36 05, Return NCP Extension Maximum Data Size 0x2222 36 06