I have done it in Visual Studio 2022 > Project Properties > Configuration Properties > Linker > Input > Additional Dependencies > Add Shell32.lib and rebuild code. It should work.