Vanara.PInvoke.DXGI 4.0.5

Prefix Reserved
dotnet add package Vanara.PInvoke.DXGI --version 4.0.5                
NuGet\Install-Package Vanara.PInvoke.DXGI -Version 4.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.DXGI" Version="4.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.DXGI --version 4.0.5                
#r "nuget: Vanara.PInvoke.DXGI, 4.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.
// Install Vanara.PInvoke.DXGI as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.DXGI&version=4.0.5

// Install Vanara.PInvoke.DXGI as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.DXGI&version=4.0.5                

Vanara

Vanara.PInvoke.DXGI NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows DXGI.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.DXGI

Functions Enumerations Structures Interfaces
CreateDXGIFactory CreateDXGIFactory1 CreateDXGIFactory2 DXGIDeclareAdapterRemovalSupport DXGIDisableVBlankVirtualization DXGIGetDebugInterface DXGIGetDebugInterface1 D2D1_ALPHA_MODE D3D_CBUFFER_TYPE D3D_COMPONENT_MASK D3D_DRIVER_TYPE D3D_FEATURE_LEVEL D3D_FORMAT_COMPONENT_INTERPRETATION D3D_FORMAT_COMPONENT_NAME D3D_FORMAT_LAYOUT D3D_FORMAT_TYPE_LEVEL D3D_INCLUDE_TYPE D3D_INTERPOLATION_MODE D3D_MIN_PRECISION D3D_NAME D3D_PARAMETER_FLAGS D3D_PRIMITIVE D3D_PRIMITIVE_TOPOLOGY D3D_REGISTER_COMPONENT_TYPE D3D_RESOURCE_RETURN_TYPE D3D_SHADER_CBUFFER_FLAGS D3D_SHADER_FEATURE D3D_SHADER_INPUT_FLAGS D3D_SHADER_INPUT_TYPE D3D_SHADER_VARIABLE_CLASS D3D_SHADER_VARIABLE_FLAGS D3D_SHADER_VARIABLE_TYPE D3D_SRV_DIMENSION D3D_TESSELLATOR_DOMAIN D3D_TESSELLATOR_OUTPUT_PRIMITIVE D3D_TESSELLATOR_PARTITIONING DWRITE_GLYPH_IMAGE_FORMATS DWRITE_MEASURING_MODE DXGI_ADAPTER_FLAG DXGI_ENUM_MODES DXGI_MAP DXGI_MODE_ROTATION DXGI_MODE_SCALING DXGI_MODE_SCANLINE_ORDER DXGI_MWA DXGI_PRESENT DXGI_RESIDENCY DXGI_SHARED_RESOURCE_RW DXGI_STATUS DXGI_SWAP_CHAIN_FLAG DXGI_SWAP_EFFECT DXGI_USAGE DXGI_COLOR_SPACE_TYPE DXGI_ALPHA_MODE DXGI_COMPUTE_PREEMPTION_GRANULARITY DXGI_GRAPHICS_PREEMPTION_GRANULARITY DXGI_OFFER_RESOURCE_PRIORITY DXGI_OUTDUPL_POINTER_SHAPE_TYPE DXGI_SCALING DXGI_CREATE_FACTORY DXGI_FRAME_PRESENTATION_MODE DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS DXGI_OVERLAY_SUPPORT_FLAG DXGI_MEMORY_SEGMENT_GROUP DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG DXGI_FEATURE DXGI_HDR_METADATA_TYPE DXGI_OFFER_RESOURCE_FLAGS DXGI_OUTDUPL_FLAG DXGI_RECLAIM_RESOURCE_RESULTS DXGI_ADAPTER_FLAG3 DXGI_GPU_PREFERENCE DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS DXGI_DEBUG_RLO_FLAGS DXGI_INFO_QUEUE_MESSAGE_CATEGORY DXGI_INFO_QUEUE_MESSAGE_SEVERITY DXGI_FORMAT D2D_MATRIX_3X2_F D2D_MATRIX_4X3_F D2D_MATRIX_4X4_F D2D_MATRIX_5X4_F D2D_POINT_2F PD2D_POINT_2F D2D_POINT_2U D2D_RECT_F D2D_RECT_U PD2D_RECT_F D2D_SIZE_F D2D_SIZE_U D2D_VECTOR_2F D2D_VECTOR_3F D2D_VECTOR_4F D2D1_PIXEL_FORMAT D3D10_BOX D3D_SHADER_MACRO D3DCOLORVALUE DXGI_ADAPTER_DESC DXGI_ADAPTER_DESC1 DXGI_FRAME_STATISTICS DXGI_GAMMA_CONTROL DXGI_GAMMA_CONTROL_CAPABILITIES DXGI_MAPPED_RECT DXGI_MODE_DESC DXGI_OUTPUT_DESC DXGI_RATIONAL DXGI_RGB DXGI_SAMPLE_DESC DXGI_SHARED_RESOURCE DXGI_SURFACE_DESC DXGI_SWAP_CHAIN_DESC DXGI_DEBUG_ID DXGI_DISPLAY_COLOR_SPACE DXGI_JPEG_AC_HUFFMAN_TABLE DXGI_JPEG_DC_HUFFMAN_TABLE DXGI_JPEG_QUANTIZATION_TABLE DXGI_RGBA DXGI_ADAPTER_DESC2 DXGI_MODE_DESC1 DXGI_OUTDUPL_DESC DXGI_OUTDUPL_FRAME_INFO DXGI_OUTDUPL_MOVE_RECT DXGI_OUTDUPL_POINTER_POSITION DXGI_OUTDUPL_POINTER_SHAPE_INFO DXGI_PRESENT_PARAMETERS DXGI_SWAP_CHAIN_DESC1 DXGI_SWAP_CHAIN_FULLSCREEN_DESC DXGI_DECODE_SWAP_CHAIN_DESC DXGI_FRAME_STATISTICS_MEDIA DXGI_QUERY_VIDEO_MEMORY_INFO DXGI_HDR_METADATA_HDR10 DXGI_ADAPTER_DESC3 DXGI_OUTPUT_DESC1 DXGI_INFO_QUEUE_FILTER DXGI_INFO_QUEUE_FILTER_DESC DXGI_INFO_QUEUE_MESSAGE <primaryCoordinates>e__FixedBuffer <whitePoints>e__FixedBuffer <BluePrimary>e__FixedBuffer <GreenPrimary>e__FixedBuffer <RedPrimary>e__FixedBuffer <WhitePoint>e__FixedBuffer <BluePrimary>e__FixedBuffer <GreenPrimary>e__FixedBuffer <RedPrimary>e__FixedBuffer <WhitePoint>e__FixedBuffer ID3DBlob ID3DDestructionNotifier IDXGIAdapter IDXGIAdapter1 IDXGIDevice IDXGIDevice1 IDXGIDeviceSubObject IDXGIFactory IDXGIFactory1 IDXGIObject IDXGIOutput IDXGIResource IDXGISurface IDXGISurface1 IDXGISwapChain IDXGIAdapter2 IDXGIDevice2 IDXGIDisplayControl IDXGIFactory2 IDXGIOutput1 IDXGIOutputDuplication IDXGIResource1 IDXGISurface2 IDXGISwapChain1 IDXGIDecodeSwapChain IDXGIDevice3 IDXGIFactory3 IDXGIFactoryMedia IDXGIOutput2 IDXGIOutput3 IDXGISwapChain2 IDXGISwapChainMedia IDXGIAdapter3 IDXGIFactory4 IDXGIOutput4 IDXGISwapChain3 IDXGIDevice4 IDXGIFactory5 IDXGIOutput5 IDXGISwapChain4 IDXGIAdapter4 IDXGIFactory6 IDXGIFactory7 IDXGIOutput6 IDXGIDebug IDXGIDebug1 IDXGIInfoQueue
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. 
.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 (6)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.DXGI:

Package Downloads
Vanara.Library

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

Vanara.PInvoke.D3DCompiler

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

Vanara.PInvoke.DirectX

PInvoke API (methods, interfaces, structures and constants) imported from DirectX.

Vanara.PInvoke.Direct3D11

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

Vanara.PInvoke.DWrite

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.5 39 2/8/2025

Currently implements:

Functions
CreateDXGIFactory CreateDXGIFactory1 CreateDXGIFactory2 DXGIDeclareAdapterRemovalSupport DXGIDisableVBlankVirtualization DXGIGetDebugInterface DXGIGetDebugInterface1

Structures
<BluePrimary>e__FixedBuffer <BluePrimary>e__FixedBuffer <GreenPrimary>e__FixedBuffer <GreenPrimary>e__FixedBuffer <primaryCoordinates>e__FixedBuffer <RedPrimary>e__FixedBuffer <RedPrimary>e__FixedBuffer <WhitePoint>e__FixedBuffer <WhitePoint>e__FixedBuffer <whitePoints>e__FixedBuffer D2D1_PIXEL_FORMAT D2D_MATRIX_3X2_F D2D_MATRIX_4X3_F D2D_MATRIX_4X4_F D2D_MATRIX_5X4_F D2D_POINT_2F D2D_POINT_2U D2D_RECT_F D2D_RECT_U D2D_SIZE_F D2D_SIZE_U D2D_VECTOR_2F D2D_VECTOR_3F D2D_VECTOR_4F D3D10_BOX D3DCOLORVALUE D3D_SHADER_MACRO DXGI_ADAPTER_DESC DXGI_ADAPTER_DESC1 DXGI_ADAPTER_DESC2 DXGI_ADAPTER_DESC3 DXGI_DEBUG_ID DXGI_DECODE_SWAP_CHAIN_DESC DXGI_DISPLAY_COLOR_SPACE DXGI_FRAME_STATISTICS DXGI_FRAME_STATISTICS_MEDIA DXGI_GAMMA_CONTROL DXGI_GAMMA_CONTROL_CAPABILITIES DXGI_HDR_METADATA_HDR10 DXGI_INFO_QUEUE_FILTER DXGI_INFO_QUEUE_FILTER_DESC DXGI_INFO_QUEUE_MESSAGE DXGI_JPEG_AC_HUFFMAN_TABLE DXGI_JPEG_DC_HUFFMAN_TABLE DXGI_JPEG_QUANTIZATION_TABLE DXGI_MAPPED_RECT DXGI_MODE_DESC DXGI_MODE_DESC1 DXGI_OUTDUPL_DESC DXGI_OUTDUPL_FRAME_INFO DXGI_OUTDUPL_MOVE_RECT DXGI_OUTDUPL_POINTER_POSITION DXGI_OUTDUPL_POINTER_SHAPE_INFO DXGI_OUTPUT_DESC DXGI_OUTPUT_DESC1 DXGI_PRESENT_PARAMETERS DXGI_QUERY_VIDEO_MEMORY_INFO DXGI_RATIONAL DXGI_RGB DXGI_RGBA DXGI_SAMPLE_DESC DXGI_SHARED_RESOURCE DXGI_SURFACE_DESC DXGI_SWAP_CHAIN_DESC DXGI_SWAP_CHAIN_DESC1 DXGI_SWAP_CHAIN_FULLSCREEN_DESC PD2D_POINT_2F PD2D_RECT_F

Interfaces
ID3DBlob ID3DDestructionNotifier IDXGIAdapter IDXGIAdapter1 IDXGIAdapter2 IDXGIAdapter3 IDXGIAdapter4 IDXGIDebug IDXGIDebug1 IDXGIDecodeSwapChain IDXGIDevice IDXGIDevice1 IDXGIDevice2 IDXGIDevice3 IDXGIDevice4 IDXGIDeviceSubObject IDXGIDisplayControl IDXGIFactory IDXGIFactory1 IDXGIFactory2 IDXGIFactory3 IDXGIFactory4 IDXGIFactory5 IDXGIFactory6 IDXGIFactory7 IDXGIFactoryMedia IDXGIInfoQueue IDXGIObject IDXGIOutput IDXGIOutput1 IDXGIOutput2 IDXGIOutput3 IDXGIOutput4 IDXGIOutput5 IDXGIOutput6 IDXGIOutputDuplication IDXGIResource IDXGIResource1 IDXGISurface IDXGISurface1 IDXGISurface2 IDXGISwapChain IDXGISwapChain1 IDXGISwapChain2 IDXGISwapChain3 IDXGISwapChain4 IDXGISwapChainMedia