NF_STATUS nf_registerDriver(const char * driverName)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
Any application that uses driver API tries to register the driver automatically during a call to nf_init, if it is not yet registered. The administrative rights are required to perform this operation. The driver starts immediately after registration, and reboot is not required. The driver will be loaded automatically on each system start. When the driver is registered and started, a client process doesn't require administrative rights for using it via API.
|Driver type||WFP, TDI|