"P/Invoke Export Macro"

#define EXPORT extern "C" __declspec(dllexport)


Code snippet taken from "P/Invoke Tips".