__declspec( dllexport ) int __cdecl test( int x ) { x *= 2; return x; }