| 647 | |
| 648 | template <typename FunctionType> |
| 649 | FunctionType getUser32Function (const char* name) |
| 650 | { |
| 651 | if (auto user32 = choc::file::DynamicLibrary ("user32.dll")) |
| 652 | return reinterpret_cast<FunctionType> (user32.findFunction (name)); |
| 653 | |
| 654 | return {}; |
| 655 | } |
| 656 | |
| 657 | struct HWNDHolder |
| 658 | { |
nothing calls this directly
no test coverage detected