nf_srv_unRegisterDriver

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

Parameters

driverName
The name of network filtering 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

Header nfsrvapi.h
Library nfsrvapi.lib