Registers and starts a driver with specified name (without ".sys" extension).
NF_STATUS nf_registerDriver(const char * driverName)


The name of network hooking driver, without ".sys" extension.

Return Values

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
Header nfapi.h
Library nfapi.lib