NF_STATUS nf_unRegisterDriver(const char * driverName)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
Unregistering the driver requires administrative rights. Delete windows\system32\drivers\<driverName>.sys (or from another folder if the driver is registered in other place) and reboot to remove the driver from system completely.
Driver type | WFP, TDI |
Header | nfapi.h |
Library | nfapi.lib |