mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
[VCM] Fix issues on certain systems (#12481)
- Don't depend on System.Windows.Forms in the Settings -> use callback instead - Fix overlay image setting saving - Use dynamic DLL loading in Interop - Load VCM only when mf.dll is available
This commit is contained in:
@@ -141,10 +141,16 @@ int runner(bool isProcessElevated, bool openSettings, bool openOobe)
|
||||
L"modules/PowerRename/PowerRenameExt.dll",
|
||||
L"modules/ShortcutGuide/ShortcutGuideModuleInterface/ShortcutGuideModuleInterface.dll",
|
||||
L"modules/ColorPicker/ColorPicker.dll",
|
||||
L"modules/Awake/AwakeModuleInterface.dll",
|
||||
// TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||
//L"modules/VideoConference/VideoConferenceModule.dll"
|
||||
L"modules/Awake/AwakeModuleInterface.dll"
|
||||
|
||||
};
|
||||
// TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||
//const auto VCM_PATH = L"modules/VideoConference/VideoConferenceModule.dll";
|
||||
//if (const auto mf = LoadLibraryA("mf.dll"))
|
||||
//{
|
||||
// FreeLibrary(mf);
|
||||
// knownModules.emplace_back(VCM_PATH);
|
||||
//}
|
||||
|
||||
for (const auto& moduleSubdir : knownModules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user