MCPcopy Create free account
hub / github.com/Tracktion/choc / getUser32Function

Function getUser32Function

choc/gui/choc_DesktopWindow.h:649–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648template <typename FunctionType>
649FunctionType 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
657struct HWNDHolder
658{

Callers

nothing calls this directly

Calls 2

DynamicLibraryClass · 0.85
findFunctionMethod · 0.45

Tested by

no test coverage detected