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

Stefan Kuhr wineforum-user at winehq.org
Fri Jun 5 08:08:08 CDT 2009


Hi Alexandre,


Alexandre Julliard wrote:
> "Stefan Kuhr" <wineforum-user at winehq.org> writes:
> 
> 
> > 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.
> > 
> 
> const char *wine_get_version(void);
> 
> It's in dlls/ntdll/misc.c.
> 
> -- 
> Alexandre Julliard
> julliard at winehq.org



Ah I see, it is wine_get_version, not get_wine_version, that explains why I coudn't find it. Thanks, I will give that one a try. Can I expect that this function will remain an exported function of Wine's ntdll.dll in the future?

Again, thanks.

-- 
Stefan Kuhr







More information about the wine-users mailing list