Given a static function declaration, generate a loader with the same name in the current scope that loads the function dynamically from the given DLL.
mixin DynamicLoad!(GetVersion, "kernel32.dll"); GetVersion(); // called via GetProcAddress // Multiple imports mixin DynamicLoadMulti!("user32.dll", GetDC, ReleaseDC);
See Implementation
Given a static function declaration, generate a loader with the same name in the current scope that loads the function dynamically from the given DLL.