I've used MSWINMOD.F90 (found in include folder) in my program because it seems to contain more WIN32 API definitions than WIN32API.INS. The compiler became VERY angry!! There is a huge number of functions with arguments defined as WINSTRING, WOUTSTRING, or WINREF, and all of these functions are rejected by FTN95 with a message:
***** Bad argument descriptor in C_EXTERNAL**
Help file and WIN32API.INS defines these arguments as INSTRING, OUTSTRING, STRING and REF. If I'll change all bad descriptors to these words, would it save a day?
PS: Yes, MSWINMOD.F90 seems to be outdated, and I used outdated WIN API functions. With appropriate choice of WIN API functions WINDOWS.INS is fine!