EnableThemeDialogTexture function uxtheme
Enables or disables the visual style of the background of a dialog window.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/uxtheme/nf-uxtheme-enablethemedialogtexture.
Implementation
@pragma('vm:prefer-inline')
void EnableThemeDialogTexture(HWND hwnd, int dwFlags) {
final hr$ = HRESULT(_EnableThemeDialogTexture(hwnd, dwFlags));
if (hr$.isError) throw WindowsException(hr$);
}