Commit 857fba08 authored by Thad House's avatar Thad House

Remove MinCore_Downlevel, replace with Shlwapi

On windows 7, MinCore_Downlevel does not work correctly. However, the only API used was QISearch, which can be found in Shlwapi.

Closes #12010
parent a1fe8f75
...@@ -99,9 +99,7 @@ static void init_MFCreateDXGIDeviceManager() ...@@ -99,9 +99,7 @@ static void init_MFCreateDXGIDeviceManager()
pMFCreateDXGIDeviceManager_initialized = true; pMFCreateDXGIDeviceManager_initialized = true;
} }
#endif #endif
#if (WINVER >= 0x0602) // Available since Win 8 #pragma comment(lib, "Shlwapi.lib")
#pragma comment(lib, "MinCore_Downlevel")
#endif
#endif #endif
#include <mferror.h> #include <mferror.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment