Scenario
I have a plugin (dll) written for a Windows application (in C++).
That application works fine on Linux under Wine, however, in the plugin I would like to use a feature which is not yet available in Wine.
Assuming I can detect at runtime that the application is running in Wine, can I dynamically load native Linux library (or access native Linux API in any other way) in order to emulate said feature?
I am curious whether this can be done without any serious hacking.