MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / GetShcoreModule

Method GetShcoreModule

SampleApps/WebView2APISample/DpiUtil.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71HMODULE DpiUtil::GetShcoreModule()
72{
73 static HMODULE shcoreModule = nullptr;
74 if (shcoreModule == nullptr)
75 {
76 shcoreModule = LoadLibraryA("Shcore.dll");
77 }
78 return shcoreModule;
79}
80
81PROCESS_DPI_AWARENESS DpiUtil::ProcessDpiAwarenessFromDpiAwarenessContext(
82 DPI_AWARENESS_CONTEXT dpiAwarenessContext)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected