nf_unRegisterDriver

Unregisters a driver with specified name (without ".sys" extension).
NF_STATUS nf_unRegisterDriver(const char * driverName)

Parameters

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.

Remarks

Unregistering the driver requires administrative rights. Delete windows\system32\drivers\<driverName>.sys and reboot to remove the driver from system completely.

Requirements

Driver type WFP, TDI
Header nfapi.h
Library nfapi.lib