The __declspec(dllexport) attribute exports the definition of a symbol through the dynamic symbol table when building DLL libraries.
Usage
When an inline function is marked __declspec(dllexport), the function definition might be inlined, but an out-of-line instance of the function is always generated, and exported, in the same way as for a non-inline function.