![]() |
VOOZH | about |
dotnet add package Vanara.PInvoke.DwmApi --version 5.0.5
NuGet\Install-Package Vanara.PInvoke.DwmApi -Version 5.0.5
<PackageReference Include="Vanara.PInvoke.DwmApi" Version="5.0.5" />
<PackageVersion Include="Vanara.PInvoke.DwmApi" Version="5.0.5" />Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.DwmApi" />Project file
paket add Vanara.PInvoke.DwmApi --version 5.0.5
#r "nuget: Vanara.PInvoke.DwmApi, 5.0.5"
#:package Vanara.PInvoke.DwmApi@5.0.5
#addin nuget:?package=Vanara.PInvoke.DwmApi&version=5.0.5Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.DwmApi&version=5.0.5Install as a Cake Tool
PInvoke API (methods, structures and constants) imported from Windows DwmApi.dll.
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.
First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.
| Functions | Enumerations | Structures |
|---|---|---|
| DwmDefWindowProc<br>DwmEnableBlurBehindWindow<br>DwmEnableComposition<br>DwmEnableMMCSS<br>DwmExtendFrameIntoClientArea<br>DwmFlush<br>DwmGetColorizationColor<br>DwmGetCompositionTimingInfo<br>DwmGetTransportAttributes<br>DwmGetUnmetTabRequirements<br>DwmGetWindowAttribute<br>DwmInvalidateIconicBitmaps<br>DwmIsCompositionEnabled<br>DwmpGetColorizationParameters<br>DwmpSetColorizationParameters<br>DwmQueryThumbnailSourceSize<br>DwmRegisterThumbnail<br>DwmRenderGesture<br>DwmSetIconicLivePreviewBitmap<br>DwmSetIconicThumbnail<br>DwmSetWindowAttribute<br>DwmShowContact<br>DwmTetherContact<br>DwmTransitionOwnedWindow<br>DwmUnregisterThumbnail<br>DwmUpdateThumbnailProperties<br> | DWM_BLURBEHIND_Mask<br>DWM_CLOAKED<br>DWM_SETICONICPREVIEW_Flags<br>DWM_SHOWCONTACT<br>DWM_TAB_WINDOW_REQUIREMENTS<br>DWM_TNP<br>DWMFLIP3DWINDOWPOLICY<br>DWMNCRENDERINGPOLICY<br>DWMTRANSITION_OWNEDWINDOW_TARGET<br>DWM_SYSTEMBACKDROP_TYPE<br>DWM_WINDOW_CORNER_PREFERENCE<br>DWMWINDOWATTRIBUTE<br>GESTURE_TYPE<br><br><br><br><br><br><br><br><br><br><br><br><br><br> | DWM_BLURBEHIND<br>DWM_COLORIZATION_PARAMS<br>DWM_THUMBNAIL_PROPERTIES<br>DWM_TIMING_INFO<br>MARGINS<br>UNSIGNED_RATIO<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net8.0-windows7.0 net8.0-windows7.0 is compatible. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net9.0-windows7.0 net9.0-windows7.0 is compatible. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. net10.0-windows7.0 net10.0-windows7.0 is compatible. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
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. |
|
|
NetAutoGUI.Windows
Package Description |
Showing the top 10 popular GitHub repositories that depend on Vanara.PInvoke.DwmApi:
| Repository | Stars |
|---|---|
|
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 | 自动烹饪 - UI Automation Testing Tools For Genshin Impact
|
|
|
Scighost/Starward
Game Launcher for miHoYo - 米家游戏启动器
|
|
|
XuanchenLin/NanUI
NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
|
|
|
jayfunc/BetterLyrics
An elegant and deeply customizable lyrics visualizer & versatile music player, built with WinUI3/Win2D | 一款优雅且高度自定义的歌词可视化与全能音乐播放应用,基于 WinUI3/Win2D 构建
|
|
|
not-nullptr/Aerochat
Native rewrite of Aerochat, a WLM 09 themed Discord client
|
|
|
yoshiask/FluentStore
A unifying frontend for Windows app stores and package managers
|
|
|
cnbluefire/HotLyric
热词,为 HyPlayer 和 LyricEase 提供桌面歌词支持。https://www.microsoft.com/store/productId/9MXFFHVQVBV9
|
|
|
glsorre/amethystwindows
[ARCHIVED] Automatic tiling window manager for Windows 10/11
|
|
|
babalae/better-wuthering-waves
🌊更好的鸣潮 - 后台自动剧情
|
|
| mann1x/CPUDoc |
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.5 | 740 | 5/16/2026 |
| 5.0.4 | 1,185 | 4/15/2026 |
| 5.0.3 | 305 | 4/9/2026 |
| 5.0.1 | 421 | 3/11/2026 |
| 5.0.0 | 4,500 | 1/12/2026 |
| 4.2.1 | 5,115 | 9/9/2025 |
| 4.2.0 | 603 | 8/25/2025 |
| 4.1.6 | 1,086 | 6/20/2025 |
| 4.1.5 | 355 | 6/20/2025 |
| 4.1.4 | 710 | 6/7/2025 |
| 4.1.3 | 7,039 | 4/24/2025 |
| 4.1.2 | 650 | 4/16/2025 |
| 4.1.1 | 3,215 | 3/7/2025 |
| 4.1.0 | 496 | 3/7/2025 |
| 4.0.6 | 796 | 2/24/2025 |
| 4.0.5 | 952 | 2/8/2025 |
| 4.0.4 | 6,090 | 9/13/2024 |
| 4.0.3 | 2,197 | 8/5/2024 |
| 4.0.2 | 5,479 | 6/24/2024 |
| 4.0.1 | 4,956 | 4/30/2024 |
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