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

- Includes methods from dwmapi.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.DwmApi?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.DwmApi?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.DwmApi)  
### Methods - 100% API coverage (26 of 26 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[DwmDefWindowProc](https://www.google.com/search?num=5&q=DwmDefWindowProc+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmDefWindowProc](https://github.com/dahall/Vanara/search?l=C%23&q=DwmDefWindowProc)  
[DwmEnableBlurBehindWindow](https://www.google.com/search?num=5&q=DwmEnableBlurBehindWindow+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmEnableBlurBehindWindow](https://github.com/dahall/Vanara/search?l=C%23&q=DwmEnableBlurBehindWindow)  
[DwmEnableComposition](https://www.google.com/search?num=5&q=DwmEnableComposition+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmEnableComposition](https://github.com/dahall/Vanara/search?l=C%23&q=DwmEnableComposition)  
[DwmEnableMMCSS](https://www.google.com/search?num=5&q=DwmEnableMMCSS+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmEnableMMCSS](https://github.com/dahall/Vanara/search?l=C%23&q=DwmEnableMMCSS)  
[DwmExtendFrameIntoClientArea](https://www.google.com/search?num=5&q=DwmExtendFrameIntoClientArea+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmExtendFrameIntoClientArea](https://github.com/dahall/Vanara/search?l=C%23&q=DwmExtendFrameIntoClientArea)  
[DwmFlush](https://www.google.com/search?num=5&q=DwmFlush+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmFlush](https://github.com/dahall/Vanara/search?l=C%23&q=DwmFlush)  
[DwmGetColorizationColor](https://www.google.com/search?num=5&q=DwmGetColorizationColor+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmGetColorizationColor](https://github.com/dahall/Vanara/search?l=C%23&q=DwmGetColorizationColor)  
[DwmGetCompositionTimingInfo](https://www.google.com/search?num=5&q=DwmGetCompositionTimingInfo+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmGetCompositionTimingInfo](https://github.com/dahall/Vanara/search?l=C%23&q=DwmGetCompositionTimingInfo)  
[DwmGetTransportAttributes](https://www.google.com/search?num=5&q=DwmGetTransportAttributes+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmGetTransportAttributes](https://github.com/dahall/Vanara/search?l=C%23&q=DwmGetTransportAttributes)  
[DwmGetUnmetTabRequirements](https://www.google.com/search?num=5&q=DwmGetUnmetTabRequirements+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmGetUnmetTabRequirements](https://github.com/dahall/Vanara/search?l=C%23&q=DwmGetUnmetTabRequirements)  
[DwmGetWindowAttribute](https://www.google.com/search?num=5&q=DwmGetWindowAttribute+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmGetWindowAttribute](https://github.com/dahall/Vanara/search?l=C%23&q=DwmGetWindowAttribute)  
[DwmInvalidateIconicBitmaps](https://www.google.com/search?num=5&q=DwmInvalidateIconicBitmaps+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmInvalidateIconicBitmaps](https://github.com/dahall/Vanara/search?l=C%23&q=DwmInvalidateIconicBitmaps)  
[DwmIsCompositionEnabled](https://www.google.com/search?num=5&q=DwmIsCompositionEnabled+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmIsCompositionEnabled](https://github.com/dahall/Vanara/search?l=C%23&q=DwmIsCompositionEnabled)  
[DwmpGetColorizationParameters](https://www.google.com/search?num=5&q=DwmpGetColorizationParameters+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmpGetColorizationParameters](https://github.com/dahall/Vanara/search?l=C%23&q=DwmpGetColorizationParameters)  
[DwmpSetColorizationParameters](https://www.google.com/search?num=5&q=DwmpSetColorizationParameters+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmpSetColorizationParameters](https://github.com/dahall/Vanara/search?l=C%23&q=DwmpSetColorizationParameters)  
[DwmQueryThumbnailSourceSize](https://www.google.com/search?num=5&q=DwmQueryThumbnailSourceSize+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmQueryThumbnailSourceSize](https://github.com/dahall/Vanara/search?l=C%23&q=DwmQueryThumbnailSourceSize)  
[DwmRegisterThumbnail](https://www.google.com/search?num=5&q=DwmRegisterThumbnail+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmRegisterThumbnail](https://github.com/dahall/Vanara/search?l=C%23&q=DwmRegisterThumbnail)  
[DwmRenderGesture](https://www.google.com/search?num=5&q=DwmRenderGesture+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmRenderGesture](https://github.com/dahall/Vanara/search?l=C%23&q=DwmRenderGesture)  
[DwmSetIconicLivePreviewBitmap](https://www.google.com/search?num=5&q=DwmSetIconicLivePreviewBitmap+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmSetIconicLivePreviewBitmap](https://github.com/dahall/Vanara/search?l=C%23&q=DwmSetIconicLivePreviewBitmap)  
[DwmSetIconicThumbnail](https://www.google.com/search?num=5&q=DwmSetIconicThumbnail+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmSetIconicThumbnail](https://github.com/dahall/Vanara/search?l=C%23&q=DwmSetIconicThumbnail)  
[DwmSetWindowAttribute](https://www.google.com/search?num=5&q=DwmSetWindowAttribute+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmSetWindowAttribute](https://github.com/dahall/Vanara/search?l=C%23&q=DwmSetWindowAttribute)  
[DwmShowContact](https://www.google.com/search?num=5&q=DwmShowContact+site%3Alearn.microsoft.com) | Dwmapi.h | [Vanara.PInvoke.DwmApi.DwmShowContact](https://github.com/dahall/Vanara/search?l=C%23&q=DwmShowContact)  
[DwmTetherContact](https://www.google.com/search?num=5&q=DwmTetherContact+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmTetherContact](https://github.com/dahall/Vanara/search?l=C%23&q=DwmTetherContact)  
[DwmTransitionOwnedWindow](https://www.google.com/search?num=5&q=DwmTransitionOwnedWindow+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmTransitionOwnedWindow](https://github.com/dahall/Vanara/search?l=C%23&q=DwmTransitionOwnedWindow)  
[DwmUnregisterThumbnail](https://www.google.com/search?num=5&q=DwmUnregisterThumbnail+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmUnregisterThumbnail](https://github.com/dahall/Vanara/search?l=C%23&q=DwmUnregisterThumbnail)  
[DwmUpdateThumbnailProperties](https://www.google.com/search?num=5&q=DwmUpdateThumbnailProperties+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DwmUpdateThumbnailProperties](https://github.com/dahall/Vanara/search?l=C%23&q=DwmUpdateThumbnailProperties)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[DWM_BLURBEHIND_Mask](https://www.google.com/search?num=5&q=DWM_BLURBEHIND_Mask+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_BLURBEHIND_Mask](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_BLURBEHIND_Mask)  
[DWM_CLOAKED](https://www.google.com/search?num=5&q=DWM_CLOAKED+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_CLOAKED](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_CLOAKED)  
[DWM_SETICONICPREVIEW_Flags](https://www.google.com/search?num=5&q=DWM_SETICONICPREVIEW_Flags+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_SETICONICPREVIEW_Flags](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_SETICONICPREVIEW_Flags)  
[DWM_SHOWCONTACT](https://www.google.com/search?num=5&q=DWM_SHOWCONTACT+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_SHOWCONTACT](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_SHOWCONTACT)  
[DWM_TAB_WINDOW_REQUIREMENTS](https://www.google.com/search?num=5&q=DWM_TAB_WINDOW_REQUIREMENTS+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_TAB_WINDOW_REQUIREMENTS](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_TAB_WINDOW_REQUIREMENTS)  
[DWM_TNP](https://www.google.com/search?num=5&q=DWM_TNP+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_TNP](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_TNP)  
[DWMFLIP3DWINDOWPOLICY](https://www.google.com/search?num=5&q=DWMFLIP3DWINDOWPOLICY+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWMFLIP3DWINDOWPOLICY](https://github.com/dahall/Vanara/search?l=C%23&q=DWMFLIP3DWINDOWPOLICY)  
[DWMNCRENDERINGPOLICY](https://www.google.com/search?num=5&q=DWMNCRENDERINGPOLICY+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWMNCRENDERINGPOLICY](https://github.com/dahall/Vanara/search?l=C%23&q=DWMNCRENDERINGPOLICY)  
[DWMTRANSITION_OWNEDWINDOW_TARGET](https://www.google.com/search?num=5&q=DWMTRANSITION_OWNEDWINDOW_TARGET+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWMTRANSITION_OWNEDWINDOW_TARGET](https://github.com/dahall/Vanara/search?l=C%23&q=DWMTRANSITION_OWNEDWINDOW_TARGET)  
[DWMWINDOWATTRIBUTE](https://www.google.com/search?num=5&q=DWMWINDOWATTRIBUTE+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWMWINDOWATTRIBUTE](https://github.com/dahall/Vanara/search?l=C%23&q=DWMWINDOWATTRIBUTE)  
[GESTURE_TYPE](https://www.google.com/search?num=5&q=GESTURE_TYPE+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.GESTURE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=GESTURE_TYPE)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[DWM_BLURBEHIND](https://www.google.com/search?num=5&q=DWM_BLURBEHIND+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_BLURBEHIND](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_BLURBEHIND)  
[DWM_COLORIZATION_PARAMS](https://www.google.com/search?num=5&q=DWM_COLORIZATION_PARAMS+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_COLORIZATION_PARAMS](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_COLORIZATION_PARAMS)  
[DWM_THUMBNAIL_PROPERTIES](https://www.google.com/search?num=5&q=DWM_THUMBNAIL_PROPERTIES+site%3Alearn.microsoft.com) | Dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_THUMBNAIL_PROPERTIES](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_THUMBNAIL_PROPERTIES)  
[DWM_TIMING_INFO](https://www.google.com/search?num=5&q=DWM_TIMING_INFO+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.DWM_TIMING_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=DWM_TIMING_INFO)  
[MARGINS](https://www.google.com/search?num=5&q=MARGINS+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.MARGINS](https://github.com/dahall/Vanara/search?l=C%23&q=MARGINS)  
[UNSIGNED_RATIO](https://www.google.com/search?num=5&q=UNSIGNED_RATIO+site%3Alearn.microsoft.com) | dwmapi.h | [Vanara.PInvoke.DwmApi.UNSIGNED_RATIO](https://github.com/dahall/Vanara/search?l=C%23&q=UNSIGNED_RATIO)  
