[Build]Fix dwamapi.lib linking error on VS (#26870)

This commit is contained in:
Jaime Bernardo 2023-06-15 18:15:36 +01:00 committed by GitHub
parent 9581cd7a27
commit c7f8b696a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
#include "dwmapi.h"
#include <windows.h>
#include <vector>
#pragma comment (lib,"Dwmapi.lib")
#define DWMWA_USE_IMMERSIVE_DARK_MODE 20
#define HKEY_WINDOWS_THEME L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"