void nf_setOptions(DWORD nThreads, DWORD flags)
The function can be called before nf_init. If it is called after the initialization, the changes are not applied until the library is reinitialized. By default nThreads = 1 and flags = 0. It means that the events are indicated from a single thread and all flags are disabled. When nThreads=0 the code detects the number of logical processors and uses it as the number of worker threads.
Driver type | WFP, TDI |
Header | nfapi.h |
Library | nfapi.lib |