Vanara.PInvoke.Dcomp 4.1.2

Prefix Reserved
dotnet add package Vanara.PInvoke.Dcomp --version 4.1.2
                    
NuGet\Install-Package Vanara.PInvoke.Dcomp -Version 4.1.2
                    
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.Dcomp" Version="4.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Dcomp" Version="4.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.Dcomp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.Dcomp --version 4.1.2
                    
#r "nuget: Vanara.PInvoke.Dcomp, 4.1.2"
                    
#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.
#addin nuget:?package=Vanara.PInvoke.Dcomp&version=4.1.2
                    
Install Vanara.PInvoke.Dcomp as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Dcomp&version=4.1.2
                    
Install Vanara.PInvoke.Dcomp as a Cake Tool

Vanara

Vanara.PInvoke.Dcomp NuGet Package

Version Build status

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

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.Dcomp

Functions Enumerations Structures Interfaces
CreatePresentationFactory DCompositionAttachMouseDragToHwnd DCompositionAttachMouseWheelToHwnd DCompositionBoostCompositorClock DCompositionCreateDevice DCompositionCreateDevice2 DCompositionCreateDevice3 DCompositionCreateSurfaceHandle DCompositionGetFrameId DCompositionGetStatistics DCompositionGetTargetStatistics DCompositionWaitForCompositorClock DllGetActivationFactory DwmEnableMMCSS DwmFlush DwmpEnableDDASupport COMPOSITION_FRAME_ID_TYPE COMPOSITIONOBJECT_ACCESS DCOMPOSITION_BACKFACE_VISIBILITY DCOMPOSITION_BITMAP_INTERPOLATION_MODE DCOMPOSITION_BORDER_MODE DCOMPOSITION_COMPOSITE_MODE DCOMPOSITION_DEPTH_MODE DCOMPOSITION_OPACITY_MODE DCompositionInkTrailPoint COMPOSITION_FRAME_STATS COMPOSITION_STATS COMPOSITION_TARGET_ID COMPOSITION_TARGET_STATS DCOMPOSITION_FRAME_STATISTICS IDCompositionDevice IDCompositionTarget IDCompositionVisual IDCompositionEffect IDCompositionTransform3D IDCompositionTransform IDCompositionTranslateTransform IDCompositionScaleTransform IDCompositionRotateTransform IDCompositionSkewTransform IDCompositionMatrixTransform IDCompositionEffectGroup IDCompositionTranslateTransform3D IDCompositionScaleTransform3D IDCompositionRotateTransform3D IDCompositionMatrixTransform3D IDCompositionClip IDCompositionRectangleClip IDCompositionSurface IDCompositionVirtualSurface IDCompositionDevice2 IDCompositionDesktopDevice IDCompositionDeviceDebug IDCompositionSurfaceFactory IDCompositionVisual2 IDCompositionVisualDebug IDCompositionVisual3 IDCompositionDevice3 IDCompositionFilterEffect IDCompositionGaussianBlurEffect IDCompositionBrightnessEffect IDCompositionColorMatrixEffect IDCompositionShadowEffect IDCompositionHueRotationEffect IDCompositionSaturationEffect IDCompositionTurbulenceEffect IDCompositionLinearTransferEffect IDCompositionTableTransferEffect IDCompositionCompositeEffect IDCompositionBlendEffect IDCompositionArithmeticCompositeEffect IDCompositionAffineTransform2DEffect IDCompositionDelegatedInkTrail IDCompositionInkTrailDevice IDCompositionTexture IDCompositionDevice4 IDCompositionAnimation
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.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 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 (2)

Showing the top 2 NuGet packages that depend on Vanara.PInvoke.Dcomp:

Package Downloads
Vanara.Library

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

Vanara.PInvoke.UIAnimation

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.2 152 4/16/2025

Currently implements:

Functions
CreatePresentationFactory DCompositionAttachMouseDragToHwnd DCompositionAttachMouseWheelToHwnd DCompositionBoostCompositorClock DCompositionCreateDevice DCompositionCreateDevice2 DCompositionCreateDevice3 DCompositionCreateSurfaceHandle DCompositionGetFrameId DCompositionGetStatistics DCompositionGetTargetStatistics DCompositionWaitForCompositorClock DllGetActivationFactory DwmEnableMMCSS DwmFlush DwmpEnableDDASupport

Structures
COMPOSITION_FRAME_STATS COMPOSITION_STATS COMPOSITION_TARGET_ID COMPOSITION_TARGET_STATS DCompositionInkTrailPoint DCOMPOSITION_FRAME_STATISTICS

Interfaces
IDCompositionAffineTransform2DEffect IDCompositionAnimation IDCompositionArithmeticCompositeEffect IDCompositionBlendEffect IDCompositionBrightnessEffect IDCompositionClip IDCompositionColorMatrixEffect IDCompositionCompositeEffect IDCompositionDelegatedInkTrail IDCompositionDesktopDevice IDCompositionDevice IDCompositionDevice2 IDCompositionDevice3 IDCompositionDevice4 IDCompositionDeviceDebug IDCompositionEffect IDCompositionEffectGroup IDCompositionFilterEffect IDCompositionGaussianBlurEffect IDCompositionHueRotationEffect IDCompositionInkTrailDevice IDCompositionLinearTransferEffect IDCompositionMatrixTransform IDCompositionMatrixTransform3D IDCompositionRectangleClip IDCompositionRotateTransform IDCompositionRotateTransform3D IDCompositionSaturationEffect IDCompositionScaleTransform IDCompositionScaleTransform3D IDCompositionShadowEffect IDCompositionSkewTransform IDCompositionSurface IDCompositionSurfaceFactory IDCompositionTableTransferEffect IDCompositionTarget IDCompositionTexture IDCompositionTransform IDCompositionTransform3D IDCompositionTranslateTransform IDCompositionTranslateTransform3D IDCompositionTurbulenceEffect IDCompositionVirtualSurface IDCompositionVisual IDCompositionVisual2 IDCompositionVisual3 IDCompositionVisualDebug