#include <ncpx_app.h>int NWDeRegisterNCPExtension(void
queryData);
Outstanding NCP extension requests are not guaranteed to complete successfully after NWDeRegisterNCPExtension is called.
When an NCP extension is deregistered, all new requests return with ERR_NO_ITEMS_FOUND, and existing requests may or may not be completed. Those that don't complete also return with the value of ERR_NO_ITEMS_FOUND.
When an NCP extension is registered with either NWRegisterNCPExtension(3xti_ncp) or NWRegisterNCPExtensionByID(3xti_ncp), the address of the queryData pointer is passed as one of the parameters. This pointer is then initialized to point to a 32-byte area of memory in which the service provider can place data. This queryData pointer is used here as a handle for deregistering the NCP extension.