Replace the rules in driver with the specified array.
NF_STATUS nf_srv_setRules(PNF_SRV_RULE pRules, int count)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
It is an atomic operation, which means that the old rules are replaced with new list in a single synchonized call. If the rules list in driver is empty, the new list is assigned as current.
Header | nfsrvapi.h |
Library | nfsrvapi.lib |