[Wine] Re: How can I detect WINE from my program?

Stefan Kuhr wineforum-user at winehq.org
Fri Jun 5 05:45:02 CDT 2009


Hello Alexandre,


Alexandre Julliard wrote:
> "Stefan Kuhr" <wineforum-user at winehq.org> writes:
> 
> Check ntdll.get_wine_version(). It's not a good idea to add workarounds
> based on the version, but if you really want to, it's there.
> 
> 


Please excuse my ignorance, but what is the exact prototype and calling convention for this function, so I can do a GetProcAddress on it and execute it? I have searched the Wine sources but could not find this function anywhere. I have Wine version 1.1.22.

Thanks,

-- 
Stefan Kuhr







More information about the wine-users mailing list