Vanara.PInvoke.DwmApi 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.DwmApi --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.DwmApi -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.DwmApi" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.DwmApi --version 4.0.4                
#r "nuget: Vanara.PInvoke.DwmApi, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.DwmApi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.DwmApi&version=4.0.4

// Install Vanara.PInvoke.DwmApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.DwmApi&version=4.0.4                

Vanara

Vanara.PInvoke.DwmApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows DwmApi.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.DwmApi

Functions Enumerations Structures
DwmDefWindowProc DwmEnableBlurBehindWindow DwmEnableComposition DwmEnableMMCSS DwmExtendFrameIntoClientArea DwmFlush DwmGetColorizationColor DwmGetCompositionTimingInfo DwmGetTransportAttributes DwmGetUnmetTabRequirements DwmGetWindowAttribute DwmInvalidateIconicBitmaps DwmIsCompositionEnabled DwmpGetColorizationParameters DwmpSetColorizationParameters DwmQueryThumbnailSourceSize DwmRegisterThumbnail DwmRenderGesture DwmSetIconicLivePreviewBitmap DwmSetIconicThumbnail DwmSetWindowAttribute DwmShowContact DwmTetherContact DwmTransitionOwnedWindow DwmUnregisterThumbnail DwmUpdateThumbnailProperties DWM_BLURBEHIND_Mask DWM_CLOAKED DWM_SETICONICPREVIEW_Flags DWM_SHOWCONTACT DWM_TAB_WINDOW_REQUIREMENTS DWM_TNP DWMFLIP3DWINDOWPOLICY DWMNCRENDERINGPOLICY DWMTRANSITION_OWNEDWINDOW_TARGET DWM_SYSTEMBACKDROP_TYPE DWM_WINDOW_CORNER_PREFERENCE DWMWINDOWATTRIBUTE GESTURE_TYPE DWM_BLURBEHIND DWM_COLORIZATION_PARAMS DWM_THUMBNAIL_PROPERTIES DWM_TIMING_INFO MARGINS UNSIGNED_RATIO
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.DwmApi:

Package Downloads
NetDimension.NanUI

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

Vanara.Windows.Forms

Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

Nickvision.WinUI

A framework for creating Nickvision applications with the Windows App SDK.

WinFormium

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on Vanara.PInvoke.DwmApi:

Repository Stars
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集 - UI Automation Testing Tools For Genshin Impact
XuanchenLin/NanUI
NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
Scighost/Starward
Game Launcher for miHoYo - 米家游戏启动器
glsorre/amethystwindows
[ARCHIVED] Automatic tiling window manager for Windows 10/11
cnbluefire/HotLyric
热词,为 HyPlayer 和 LyricEase 提供桌面歌词支持。https://www.microsoft.com/store/productId/9MXFFHVQVBV9
Version Downloads Last updated
4.0.4 1,401 9/13/2024
4.0.3 1,502 8/5/2024
4.0.2 2,684 6/24/2024
4.0.1 4,386 4/30/2024
4.0.0 2,723 3/29/2024
4.0.0-beta2 242 1/22/2024
4.0.0-beta 229 11/20/2023
3.4.17 18,120 10/18/2023
3.4.16 7,491 8/7/2023
3.4.15 3,093 5/18/2023
3.4.14 506 4/15/2023
3.4.13 2,256 2/4/2023
3.4.12 8,573 1/15/2023
3.4.11 2,921 11/15/2022
3.4.10 3,289 10/25/2022
3.4.9 1,444 10/3/2022
3.4.8 1,016 9/16/2022
3.4.7 966 9/3/2022
3.4.6 1,119 8/7/2022
3.4.5 1,167 7/17/2022
3.4.4 1,093 7/5/2022
3.4.3 4,415 6/14/2022
3.4.2 2,286 5/13/2022
3.4.1 1,166 5/5/2022
3.4.0 4,212 3/14/2022
3.3.15 8,949 12/27/2021
3.3.14 2,810 10/26/2021
3.3.13 788 9/30/2021
3.3.12 817 8/30/2021
3.3.11 753 7/22/2021
3.3.10 869 6/4/2021
3.3.9 857 5/7/2021
3.3.8 857 4/7/2021
3.3.7 808 3/24/2021
3.3.6 723 3/19/2021
3.3.5 766 3/1/2021
3.3.4 3,241 2/11/2021
3.3.3 770 2/3/2021
3.3.2 843 1/21/2021
3.3.1 899 1/20/2021
3.3.0 1,152 11/20/2020
3.2.21 846 11/13/2020
3.2.20 968 11/8/2020
3.2.19 897 10/23/2020
3.2.18 892 10/21/2020
3.2.17 1,010 9/20/2020
3.2.16 906 9/7/2020
3.2.15 936 8/30/2020
3.2.14 892 8/20/2020
3.2.13 980 7/27/2020
3.2.12 864 7/13/2020
3.2.11 991 6/28/2020
3.2.10 1,010 6/14/2020
3.2.9 1,022 6/3/2020
3.2.7 962 5/4/2020
3.2.6 982 4/21/2020
3.2.5 920 4/15/2020
3.2.4 919 4/12/2020
3.2.3 914 4/1/2020
3.2.2 918 3/24/2020
3.2.1 955 3/17/2020
3.2.0 1,161 2/27/2020
3.1.9 1,011 1/17/2020
3.1.8 1,014 1/13/2020
3.1.7 972 1/6/2020
3.1.6 987 12/12/2019
3.1.5 1,107 11/26/2019
3.1.4 945 11/25/2019
3.1.3 918 11/8/2019
3.1.2 959 11/4/2019
3.1.1 945 10/17/2019
3.1.0 960 10/3/2019
3.0.1 842 9/20/2019
3.0.0 663 8/27/2019
2.3.11 746 6/9/2019
2.3.10 663 6/5/2019
2.3.9 673 5/26/2019
2.3.8 665 5/13/2019
2.3.7 712 4/24/2019
2.3.6 669 4/17/2019
2.3.5 672 4/10/2019
2.3.4 688 3/9/2019
2.3.3 636 3/8/2019
2.3.2 704 2/28/2019
2.3.1 692 2/25/2019
2.3.0 708 2/22/2019
2.2.1 738 2/12/2019
2.2.0 763 2/1/2019
2.1.2 1,030 1/14/2019
2.1.0 974 12/15/2018
2.0.1 783 12/7/2018
2.0.0 802 11/28/2018
1.1.0 977 9/10/2018
1.0.18 989 8/10/2018
1.0.17 912 7/30/2018
1.0.16 1,070 6/29/2018
1.0.15 995 6/27/2018
1.0.14 1,176 6/8/2018
1.0.13 1,017 6/6/2018
1.0.12 1,079 4/5/2018
1.0.11 1,054 4/4/2018
1.0.10 937 3/27/2018
1.0.9 1,014 3/26/2018
1.0.8 1,055 2/7/2018
1.0.7 1,028 1/27/2018
1.0.6 1,138 1/8/2018
1.0.5 1,083 12/28/2017
1.0.4 1,145 12/15/2017
1.0.3 1,005 12/8/2017
1.0.2 994 11/30/2017
1.0.1 982 11/28/2017

Currently implements:

Functions
DwmDefWindowProc DwmEnableBlurBehindWindow DwmEnableComposition DwmEnableMMCSS DwmExtendFrameIntoClientArea DwmFlush DwmGetColorizationColor DwmGetCompositionTimingInfo DwmGetTransportAttributes DwmGetUnmetTabRequirements DwmGetWindowAttribute DwmInvalidateIconicBitmaps DwmIsCompositionEnabled DwmpGetColorizationParameters DwmpSetColorizationParameters DwmQueryThumbnailSourceSize DwmRegisterThumbnail DwmRenderGesture DwmSetIconicLivePreviewBitmap DwmSetIconicThumbnail DwmSetWindowAttribute DwmShowContact DwmTetherContact DwmTransitionOwnedWindow DwmUnregisterThumbnail DwmUpdateThumbnailProperties

Structures
DWM_BLURBEHIND DWM_COLORIZATION_PARAMS DWM_THUMBNAIL_PROPERTIES DWM_TIMING_INFO MARGINS UNSIGNED_RATIO