// C++ extern "C" __declspec(dllexport) void CreateNewWindow(WindowSetupDesc windowDesc) { // create the window here }