I am currently using Winegcc/g++ to compile myProject.so as myProject.dll.so and rename it as myProject.dll, so that a Windows executable launched by Wine can load this DLL.
Indeed, the DLL was loaded, and the proxy functions I wrote were also called, but the parameters passed to them were all incorrect. More Details about how I built myProject.dll.so seen viewtopic.php?t=39284.
Does the Building Winelib DLLs Part of Winelib User Guide really work?

Thanks a lot for any advice and help!