In the simplest (and most typical) case, an NMI DLL consists of a single C++ source defining a single class and two functions serving as DLL entry points.