NWFragNCPExtensionRequest
Sends and receives information from an NCP extension handle
#include <nwncpext.h>
#include <nwmisc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWFragNCPExtensionRequest (
NWCONN_HANDLE conn,
nuint32 NCPExtensionID,
nuint16 reqFragCount,
NW_FRAGMENT N_FAR *reqFragList,
nuint16 replyFragCount,
NW_FRAGMENT N_FAR *replyFragList);
uses calwin32
Function NWFragNCPExtensionRequest
(conn : NWCONN_HANDLE;
NCPExtensionID : nuint32;
reqFragCount : nuint16;
Var reqFragList : NW_FRAGMENT;
replyFragCount : nuint16;
Var replyFragList : NW_FRAGMENT
) : NWCCODE;
The fragment based protocol allows data up to 64K (a server imposed limitation) to be transferred to and from the NCP extension handler.
To increase packet efficiency, NWFragNCPExtensionRequest packs as many fragments as possible into a send buffer.
The reply data will be returned in the NW_FRAGMENT structure pointed to by the replyFragList parameter. The fragSize field of the NW_FRAGMENT structure will be updated to reflect the number of bytes copied into the buffer pointed to by the fragAddress field.