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,032 9/13/2024
4.0.3 1,453 8/5/2024
4.0.2 2,472 6/24/2024
4.0.1 4,372 4/30/2024
4.0.0 2,717 3/29/2024
4.0.0-beta2 239 1/22/2024
4.0.0-beta 226 11/20/2023
3.4.17 18,099 10/18/2023
3.4.16 7,370 8/7/2023
3.4.15 3,076 5/18/2023
3.4.14 502 4/15/2023
3.4.13 2,248 2/4/2023
3.4.12 8,551 1/15/2023
3.4.11 2,918 11/15/2022
3.4.10 3,283 10/25/2022
3.4.9 1,438 10/3/2022
3.4.8 1,013 9/16/2022
3.4.7 963 9/3/2022
3.4.6 1,116 8/7/2022
3.4.5 1,164 7/17/2022
3.4.4 1,090 7/5/2022
3.4.3 4,408 6/14/2022
3.4.2 2,282 5/13/2022
3.4.1 1,161 5/5/2022
3.4.0 4,207 3/14/2022
3.3.15 8,933 12/27/2021
3.3.14 2,807 10/26/2021
3.3.13 785 9/30/2021
3.3.12 814 8/30/2021
3.3.11 750 7/22/2021
3.3.10 866 6/4/2021
3.3.9 854 5/7/2021
3.3.8 854 4/7/2021
3.3.7 805 3/24/2021
3.3.6 720 3/19/2021
3.3.5 763 3/1/2021
3.3.4 3,093 2/11/2021
3.3.3 767 2/3/2021
3.3.2 840 1/21/2021
3.3.1 896 1/20/2021
3.3.0 1,149 11/20/2020
3.2.21 843 11/13/2020
3.2.20 965 11/8/2020
3.2.19 894 10/23/2020
3.2.18 889 10/21/2020
3.2.17 1,007 9/20/2020
3.2.16 903 9/7/2020
3.2.15 933 8/30/2020
3.2.14 889 8/20/2020
3.2.13 977 7/27/2020
3.2.12 861 7/13/2020
3.2.11 988 6/28/2020
3.2.10 1,007 6/14/2020
3.2.9 1,019 6/3/2020
3.2.7 959 5/4/2020
3.2.6 979 4/21/2020
3.2.5 917 4/15/2020
3.2.4 916 4/12/2020
3.2.3 911 4/1/2020
3.2.2 915 3/24/2020
3.2.1 952 3/17/2020
3.2.0 1,158 2/27/2020
3.1.9 1,008 1/17/2020
3.1.8 1,011 1/13/2020
3.1.7 969 1/6/2020
3.1.6 984 12/12/2019
3.1.5 1,104 11/26/2019
3.1.4 942 11/25/2019
3.1.3 915 11/8/2019
3.1.2 956 11/4/2019
3.1.1 942 10/17/2019
3.1.0 957 10/3/2019
3.0.1 839 9/20/2019
3.0.0 660 8/27/2019
2.3.11 743 6/9/2019
2.3.10 658 6/5/2019
2.3.9 670 5/26/2019
2.3.8 662 5/13/2019
2.3.7 709 4/24/2019
2.3.6 666 4/17/2019
2.3.5 669 4/10/2019
2.3.4 685 3/9/2019
2.3.3 631 3/8/2019
2.3.2 701 2/28/2019
2.3.1 689 2/25/2019
2.3.0 705 2/22/2019
2.2.1 735 2/12/2019
2.2.0 760 2/1/2019
2.1.2 1,027 1/14/2019
2.1.0 971 12/15/2018
2.0.1 780 12/7/2018
2.0.0 799 11/28/2018
1.1.0 973 9/10/2018
1.0.18 985 8/10/2018
1.0.17 909 7/30/2018
1.0.16 1,065 6/29/2018
1.0.15 992 6/27/2018
1.0.14 1,171 6/8/2018
1.0.13 1,014 6/6/2018
1.0.12 1,076 4/5/2018
1.0.11 1,051 4/4/2018
1.0.10 934 3/27/2018
1.0.9 1,011 3/26/2018
1.0.8 1,050 2/7/2018
1.0.7 1,025 1/27/2018
1.0.6 1,135 1/8/2018
1.0.5 1,077 12/28/2017
1.0.4 1,142 12/15/2017
1.0.3 1,002 12/8/2017
1.0.2 991 11/30/2017
1.0.1 979 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