https://bugs.winehq.org/show_bug.cgi?id=45158
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Nikolay Sivov from comment #3)
By the way, Postscript file documentation for this API specifies 'pascal' calling convention if I'm not confusing things. It would be interesting to test what's the correct way.
As far as I get it from reading some info on this on internet, pascal is calling convention that is deprecated and only had a meaning for 16-bit, and now defaults to stdcall.