C++ interface

Native build of NDISAPI.DLL exports two interfaces:

  • C++ class CNdisApi (declared in ndisapi.h) with public member functions interacting to Windows Packet Filter driver. This is the preferred interface for Microsoft Visual C++ development (static linking option is also available)
  • C-style interface implemented as a wrapper for CNdisApi public member functions to use from C/C++, C#, Delphi, Visual Basic and other programming systems that can call functions exported from DLL.

Next sections cover CNdisApi public interface and underlying native WinpkFilter driver I/O control codes.