AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Guide de l'utilisateur Page 175

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 316
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 174
KwikNet Low Level Services
K
A
DAK
161
kn_ifnethook kn_ifnethook
Purpose Register a Network Hook Function for a Network Interface
Used by
n Task o ISP o Timer Procedure o Restart Procedure n Exit Procedure
Setup Prototype is in file KN_API.H.
#include "KN_LIB.H"
int kn_ifnethook(KN_NETDP netdp, KN_FNP_NETHOOK nethookfn);
Description Netdp is a network descriptor pointer, the KwikNet handle used to identify
the network interface of interest.
Parameter nethookfn is a pointer to your network hook function. This
function is described in Appendix A.1 of the
KwikNet Device Driver
Technical Reference Manual. This function will be called the next time
the network interface is opened.
To remove a previously installed network hook function, call this
procedure with parameter
nethookfn set to (KN_FNP_NETHOOK)0L.
Returns If successful, a value of 0 is returned.
On failure, one of the following error status codes is returned:
KN_ERPARAM Parameter netdp does not refer to a valid network or
parameter nethookfn is NULL.
See Also kn_ifadd()
Vue de la page 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 315 316

Commentaires sur ces manuels

Pas de commentaire