fab_menu_expressive 0.5.0
Example uses a placeholder target or callbackCalls LoadLibraryA in source
SHA-2561bdda26d620f76e2f97077f1fda9340500390fa4456caafb6bd19bddd40b81df
MaleculeH₂(DsPo)
Evidence
1#include "win32_window.h"
2
3#include <dwmapi.h>
4#include <flutter_windows.h>
5
6#include "resource.h"
7
8namespace {
9
10/// Window attribute that enables dark mode window decorations.
11///
12/// Redefined in case the developer's machine has a Windows SDK older than
13/// version 10.0.22000.0.
14/// See: https://doc …
40:33… NonClientDpiScaling| from the User32 module.
41// This API is only needed for PerMonitor V1 awareness mode.
42void EnableFullDpiSupportIfAvailable(HWND hwnd) {
43 HMODULE user32_module = LoadLibraryA("User32.dll");
44 if (!user32_module) {
45 return;
46 }
47 auto enable_non_client_dpi_scaling =
48 reinterpret_cast<EnableNonClientDpiScaling*>(
49 GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
50 if (enable_non_client_dpi_scaling != nullptr) {
51 enable_non_client_dpi_scali …
95:32… ;
96 window_class.cbWndExtra = 0;
97 window_class.hInstance = GetModuleHandle(nullptr);
98 window_class.hIcon =
99 LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
100 window_class.hb …
⋯4 lines
151
152bool Win32Window::Show() {
153 return ShowWindow(window_handle_, SW_SHOWNORMAL);
154}
155
156// static
157LRESULT CALLBACK Win32Window::WndProc(HWND const window,
158 UINT const message,
159 …
277:14… _mode_size = sizeof(light_mode);
278 LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey,
279 kGetPreferredBrightnessRegValue,
280 …
No evidence locations were recorded for this file. Raw result