Skip to content
Snippets Groups Projects

Load wine_get_version() dynamically.

Merged eric pouech requested to merge epo/wine:mr-get_version into master

This MR stems out from testing if an app may be detecting Wine presence by checking wine_get_version() entry point presence in ntdll.

I had wished that simply commenting out the entry point in ntdll.spec would be sufficient.

It isn't as 2 buitin DLLs directly link to wine_get_version(). This MR let them dynamically load the entry point's address.

For the record, there are three other DLLs/programs which make use of wine_get_version(), but using dynamic loading.

I can live without this MR being merged upstream, but looked a good idea:

  • to be consistent throughout the code
  • allow the simple comment in ntdll.spec to be possible.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading