diff --git a/modules/videoio/src/cap_msmf.cpp b/modules/videoio/src/cap_msmf.cpp index 9fa84a156c..3eca95bfa6 100644 --- a/modules/videoio/src/cap_msmf.cpp +++ b/modules/videoio/src/cap_msmf.cpp @@ -99,9 +99,7 @@ static void init_MFCreateDXGIDeviceManager() pMFCreateDXGIDeviceManager_initialized = true; } #endif -#if (WINVER >= 0x0602) // Available since Win 8 -#pragma comment(lib, "MinCore_Downlevel") -#endif +#pragma comment(lib, "Shlwapi.lib") #endif #include