Vanara.PInvoke.Dcomp 5.0.5

Prefix Reserved
dotnet add package Vanara.PInvoke.Dcomp --version 5.0.5
                    
NuGet\Install-Package Vanara.PInvoke.Dcomp -Version 5.0.5
                    
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="5.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Dcomp" Version="5.0.5" />
                    
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 5.0.5
                    
#r "nuget: Vanara.PInvoke.Dcomp, 5.0.5"
                    
#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.
#:package Vanara.PInvoke.Dcomp@5.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.Dcomp&version=5.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Dcomp&version=5.0.5
                    
Install 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 MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.Dcomp

Functions Enumerations Structures Interfaces
CreatePresentationFactory<br>DCompositionAttachMouseDragToHwnd<br>DCompositionAttachMouseWheelToHwnd<br>DCompositionBoostCompositorClock<br>DCompositionCreateDevice<br>DCompositionCreateDevice2<br>DCompositionCreateDevice3<br>DCompositionCreateSurfaceHandle<br>DCompositionGetFrameId<br>DCompositionGetStatistics<br>DCompositionGetTargetStatistics<br>DCompositionWaitForCompositorClock<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> COMPOSITION_FRAME_ID_TYPE<br>COMPOSITIONOBJECT_ACCESS<br>DCOMPOSITION_BACKFACE_VISIBILITY<br>DCOMPOSITION_BITMAP_INTERPOLATION_MODE<br>DCOMPOSITION_BORDER_MODE<br>DCOMPOSITION_COMPOSITE_MODE<br>DCOMPOSITION_DEPTH_MODE<br>DCOMPOSITION_OPACITY_MODE<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> DCompositionInkTrailPoint<br>COMPOSITION_FRAME_STATS<br>COMPOSITION_STATS<br>COMPOSITION_TARGET_ID<br>COMPOSITION_TARGET_STATS<br>DCOMPOSITION_FRAME_STATISTICS<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> IDCompositionDevice<br>IDCompositionTarget<br>IDCompositionVisual<br>IDCompositionEffect<br>IDCompositionTransform3D<br>IDCompositionTransform<br>IDCompositionTranslateTransform<br>IDCompositionScaleTransform<br>IDCompositionRotateTransform<br>IDCompositionSkewTransform<br>IDCompositionMatrixTransform<br>IDCompositionEffectGroup<br>IDCompositionTranslateTransform3D<br>IDCompositionScaleTransform3D<br>IDCompositionRotateTransform3D<br>IDCompositionMatrixTransform3D<br>IDCompositionClip<br>IDCompositionRectangleClip<br>IDCompositionSurface<br>IDCompositionVirtualSurface<br>IDCompositionDevice2<br>IDCompositionDesktopDevice<br>IDCompositionDeviceDebug<br>IDCompositionSurfaceFactory<br>IDCompositionVisual2<br>IDCompositionVisualDebug<br>IDCompositionVisual3<br>IDCompositionDevice3<br>IDCompositionFilterEffect<br>IDCompositionGaussianBlurEffect<br>IDCompositionBrightnessEffect<br>IDCompositionColorMatrixEffect<br>IDCompositionShadowEffect<br>IDCompositionHueRotationEffect<br>IDCompositionSaturationEffect<br>IDCompositionTurbulenceEffect<br>IDCompositionLinearTransferEffect<br>IDCompositionTableTransferEffect<br>IDCompositionCompositeEffect<br>IDCompositionBlendEffect<br>IDCompositionArithmeticCompositeEffect<br>IDCompositionAffineTransform2DEffect<br>IDCompositionDelegatedInkTrail<br>IDCompositionInkTrailDevice<br>IDCompositionTexture<br>IDCompositionDevice4<br>IDCompositionAnimation<br>
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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.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 is compatible. 
.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
5.0.5 426 5/16/2026
5.0.4 577 4/15/2026
5.0.3 258 4/9/2026
5.0.1 253 3/11/2026
5.0.0 360 1/12/2026
4.2.1 2,017 9/9/2025
4.2.0 344 8/25/2025
4.1.6 314 6/20/2025
4.1.5 233 6/20/2025
4.1.4 272 6/7/2025
4.1.3 363 4/24/2025
4.1.2 387 4/16/2025

Currently implements:

Functions
CreatePresentationFactory DCompositionAttachMouseDragToHwnd DCompositionAttachMouseWheelToHwnd DCompositionBoostCompositorClock DCompositionCreateDevice DCompositionCreateDevice2 DCompositionCreateDevice3 DCompositionCreateSurfaceHandle DCompositionGetFrameId DCompositionGetStatistics DCompositionGetTargetStatistics DCompositionWaitForCompositorClock

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