13 Dec
2019
13 Dec
'19
5:25 a.m.
Gabriel Ivăncescu <gabrielopcode(a)gmail.com> writes:
+START_TEST(dwmapi) +{ + HINSTANCE inst = GetModuleHandleA(NULL); + HMODULE module; + WNDCLASSA cls; + + module = LoadLibraryA("dwmapi.dll"); + if (!module) + { + win_skip("dwmapi.dll not found\n"); + return; + } + + pDwmGetWindowAttribute = (void*)GetProcAddress(module, "DwmGetWindowAttribute");
There shouldn't be any reason not to link to it directly. -- Alexandre Julliard julliard(a)winehq.org