SharpDX.DXGI No documentation. IDXGIAdapter No documentation. IDXGIObject Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIObject::SetPrivateData([In] const GUID& Name,[In] unsigned int DataSize,[In, Buffer] const void* pData) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIObject::SetPrivateDataInterface([In] const GUID& Name,[In] const IUnknown* pUnknown) No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIObject::GetPrivateData([In] const GUID& Name,[InOut] unsigned int* pDataSize,[Out, Buffer] void* pData) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIObject::GetParent([In] const GUID& riid,[Out] void** ppParent) Checks to see if a device interface for a graphics component is supported by the system. The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID. true if the interface is supported; otherwise, false. HRESULT IDXGIAdapter::CheckInterfaceSupport([In] GUID* InterfaceName,[Out] __int64* pUMDVersion) Checks to see if a device interface for a graphics component is supported by the system. the interface of the device version for which support is being checked. true if the interface is supported; otherwise, false. Checks to see if a device interface for a graphics component is supported by the system. the interface of the device version for which support is being checked. The user mode driver version of InterfaceName. This is only returned if the interface is supported. true if the interface is supported; otherwise, false. Checks to see if a device interface for a graphics component is supported by the system. The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID. The user mode driver version of InterfaceName. This is only returned if the interface is supported. true if the interface is supported; otherwise, false. HRESULT IDXGIAdapter::CheckInterfaceSupport([In] GUID* InterfaceName,[Out] __int64* pUMDVersion) Return the number of available outputs from this adapter. The number of outputs Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIAdapter::EnumOutputs([In] unsigned int Output,[Out] IDXGIOutput** ppOutput) No documentation. No documentation. No documentation. HRESULT IDXGIAdapter::GetDesc([Out] DXGI_ADAPTER_DESC* pDesc) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIAdapter::CheckInterfaceSupport([In] const GUID& InterfaceName,[Out] LARGE_INTEGER* pUMDVersion) No documentation. GetDesc HRESULT IDXGIAdapter::GetDesc([Out] DXGI_ADAPTER_DESC* pDesc) No documentation. IDXGIDevice Gets the residency status of an array of resources. The information returned by the pResidencyStatus argument array describes the residency status at the time that the QueryResourceResidency method was called. Note that the residency status will constantly change. If you call the QueryResourceResidency method during a device removed state, the pResidencyStatus argument will return the DXGI_RESIDENCY_EVICTED_TO_DISK flag. Note??This method should not be called every frame as it incurs a non-trivial amount of overhead. An array of interfaces. Returns an array of flags. Each element describes the residency status for corresponding element in the ppResources argument array. HRESULT IDXGIDevice::QueryResourceResidency([In, Buffer] const IUnknown** ppResources,[Out, Buffer] DXGI_RESIDENCY* pResidencyStatus,[None] int NumResources) Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIDevice::GetAdapter([Out] IDXGIAdapter** pAdapter) No documentation. No documentation. No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIDevice::CreateSurface([In] const DXGI_SURFACE_DESC* pDesc,[In] unsigned int NumSurfaces,[In] unsigned int Usage,[In, Optional] const DXGI_SHARED_RESOURCE* pSharedResource,[Out] IDXGISurface** ppSurface) No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIDevice::QueryResourceResidency([In, Buffer] const IUnknown** ppResources,[Out, Buffer] DXGI_RESIDENCY* pResidencyStatus,[In] unsigned int NumResources) No documentation. No documentation. No documentation. HRESULT IDXGIDevice::SetGPUThreadPriority([In] int Priority) No documentation. No documentation. No documentation. HRESULT IDXGIDevice::GetGPUThreadPriority([Out] int* pPriority) No documentation. GetAdapter HRESULT IDXGIDevice::GetAdapter([Out] IDXGIAdapter** pAdapter) No documentation. GetGPUThreadPriority HRESULT IDXGIDevice::GetGPUThreadPriority([Out] int* pPriority) No documentation. IDXGIDeviceSubObject Retrieves the device. The interface that is returned can be any interface published by the device. The associated device. HRESULT IDXGIDeviceSubObject::GetDevice([In] GUID* riid,[Out] void** ppDevice) Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIDeviceSubObject::GetDevice([In] const GUID& riid,[Out] void** ppDevice) No documentation. IDXGIFactory Default Constructor for Factory Create an adapter interface that represents a software adapter. A software adapter is a DLL that implements the entirety of a device driver interface, plus emulation, if necessary, of kernel-mode graphics components for Windows. Details on implementing a software adapter can be found in the Windows Vista Driver Development Kit. This is a very complex development task, and is not recommended for general readers. Calling this method will increment the module's reference count by one. The reference count can be decremented by calling {{FreeLibrary}}. The typical calling scenario is to call {{LoadLibrary}}, pass the handle to CreateSoftwareAdapter, then immediately call {{FreeLibrary}} on the DLL and forget the DLL's {{HMODULE}}. Since the software adapter calls FreeLibrary when it is destroyed, the lifetime of the DLL will now be owned by the adapter, and the application is free of any further consideration of its lifetime. Handle to the software adapter's dll. A reference to an adapter (see ). HRESULT IDXGIFactory::CreateSoftwareAdapter([None] void* Module,[Out] IDXGIAdapter** ppAdapter) Return the number of available adapters from this factory. The number of adapters Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIFactory::EnumAdapters([In] unsigned int Adapter,[Out] IDXGIAdapter** ppAdapter) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIFactory::MakeWindowAssociation([In] HWND WindowHandle,[In] DXGI_MWA_FLAGS Flags) No documentation. No documentation. HRESULT IDXGIFactory::GetWindowAssociation([Out] HWND* pWindowHandle) No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIFactory::CreateSwapChain([In] IUnknown* pDevice,[In] DXGI_SWAP_CHAIN_DESC* pDesc,[Out, Fast] IDXGISwapChain** ppSwapChain) No documentation. No documentation. No documentation. HRESULT IDXGIFactory::CreateSoftwareAdapter([In] HINSTANCE Module,[Out] IDXGIAdapter** ppAdapter) No documentation. IDXGIFactory1 Default Constructor for Factory1. Return the number of available adapters from this factory. The number of adapters Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIFactory1::EnumAdapters1([In] unsigned int Adapter,[Out] IDXGIAdapter1** ppAdapter) No documentation. No documentation. BOOL IDXGIFactory1::IsCurrent() No documentation. IsCurrent BOOL IDXGIFactory1::IsCurrent() Helper to use with . Calculates the size of a in bytes. The dxgi format. size of in bytes Calculates the size of a in bits. The dxgi format. size of in bits No documentation. DXGI_ADAPTER_FLAG No documentation. DXGI_ADAPTER_FLAG_NONE No documentation. DXGI_ADAPTER_FLAG_REMOTE No documentation. DXGI_ENUM_MODES_FLAGS No documentation. DXGI_ENUM_MODES_INTERLACED No documentation. DXGI_ENUM_MODES_SCALING No documentation. DXGI_MODE_ROTATION No documentation. DXGI_MODE_ROTATION_UNSPECIFIED No documentation. DXGI_MODE_ROTATION_IDENTITY No documentation. DXGI_MODE_ROTATION_ROTATE90 No documentation. DXGI_MODE_ROTATION_ROTATE180 No documentation. DXGI_MODE_ROTATION_ROTATE270 No documentation. DXGI_MODE_SCALING No documentation. DXGI_MODE_SCALING_UNSPECIFIED No documentation. DXGI_MODE_SCALING_CENTERED No documentation. DXGI_MODE_SCALING_STRETCHED No documentation. DXGI_MODE_SCANLINE_ORDER No documentation. DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED No documentation. DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE No documentation. DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST No documentation. DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST No documentation. DXGI_ERROR No documentation. DXGI_ERROR_INVALID_CALL No documentation. DXGI_ERROR_NOT_FOUND No documentation. DXGI_ERROR_MORE_DATA No documentation. DXGI_ERROR_UNSUPPORTED No documentation. DXGI_ERROR_DEVICE_REMOVED No documentation. DXGI_ERROR_DEVICE_HUNG No documentation. DXGI_ERROR_DEVICE_RESET No documentation. DXGI_ERROR_WAS_STILL_DRAWING No documentation. DXGI_ERROR_FRAME_STATISTICS_DISJOINT No documentation. DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE No documentation. DXGI_ERROR_DRIVER_INTERNAL_ERROR No documentation. DXGI_ERROR_NONEXCLUSIVE No documentation. DXGI_ERROR_NOT_CURRENTLY_AVAILABLE No documentation. DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED No documentation. DXGI_ERROR_REMOTE_OUTOFMEMORY No documentation. DXGI_STATUS No documentation. DXGI_STATUS_OCCLUDED No documentation. DXGI_STATUS_CLIPPED No documentation. DXGI_STATUS_NO_REDIRECTION No documentation. DXGI_STATUS_NO_DESKTOP_ACCESS No documentation. DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE No documentation. DXGI_STATUS_MODE_CHANGED No documentation. DXGI_STATUS_MODE_CHANGE_IN_PROGRESS No documentation. DXGI_FORMAT No documentation. DXGI_FORMAT_UNKNOWN No documentation. DXGI_FORMAT_R32G32B32A32_TYPELESS No documentation. DXGI_FORMAT_R32G32B32A32_FLOAT No documentation. DXGI_FORMAT_R32G32B32A32_UINT No documentation. DXGI_FORMAT_R32G32B32A32_SINT No documentation. DXGI_FORMAT_R32G32B32_TYPELESS No documentation. DXGI_FORMAT_R32G32B32_FLOAT No documentation. DXGI_FORMAT_R32G32B32_UINT No documentation. DXGI_FORMAT_R32G32B32_SINT No documentation. DXGI_FORMAT_R16G16B16A16_TYPELESS No documentation. DXGI_FORMAT_R16G16B16A16_FLOAT No documentation. DXGI_FORMAT_R16G16B16A16_UNORM No documentation. DXGI_FORMAT_R16G16B16A16_UINT No documentation. DXGI_FORMAT_R16G16B16A16_SNORM No documentation. DXGI_FORMAT_R16G16B16A16_SINT No documentation. DXGI_FORMAT_R32G32_TYPELESS No documentation. DXGI_FORMAT_R32G32_FLOAT No documentation. DXGI_FORMAT_R32G32_UINT No documentation. DXGI_FORMAT_R32G32_SINT No documentation. DXGI_FORMAT_R32G8X24_TYPELESS No documentation. DXGI_FORMAT_D32_FLOAT_S8X24_UINT No documentation. DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS No documentation. DXGI_FORMAT_X32_TYPELESS_G8X24_UINT No documentation. DXGI_FORMAT_R10G10B10A2_TYPELESS No documentation. DXGI_FORMAT_R10G10B10A2_UNORM No documentation. DXGI_FORMAT_R10G10B10A2_UINT No documentation. DXGI_FORMAT_R11G11B10_FLOAT No documentation. DXGI_FORMAT_R8G8B8A8_TYPELESS No documentation. DXGI_FORMAT_R8G8B8A8_UNORM No documentation. DXGI_FORMAT_R8G8B8A8_UNORM_SRGB No documentation. DXGI_FORMAT_R8G8B8A8_UINT No documentation. DXGI_FORMAT_R8G8B8A8_SNORM No documentation. DXGI_FORMAT_R8G8B8A8_SINT No documentation. DXGI_FORMAT_R16G16_TYPELESS No documentation. DXGI_FORMAT_R16G16_FLOAT No documentation. DXGI_FORMAT_R16G16_UNORM No documentation. DXGI_FORMAT_R16G16_UINT No documentation. DXGI_FORMAT_R16G16_SNORM No documentation. DXGI_FORMAT_R16G16_SINT No documentation. DXGI_FORMAT_R32_TYPELESS No documentation. DXGI_FORMAT_D32_FLOAT No documentation. DXGI_FORMAT_R32_FLOAT No documentation. DXGI_FORMAT_R32_UINT No documentation. DXGI_FORMAT_R32_SINT No documentation. DXGI_FORMAT_R24G8_TYPELESS No documentation. DXGI_FORMAT_D24_UNORM_S8_UINT No documentation. DXGI_FORMAT_R24_UNORM_X8_TYPELESS No documentation. DXGI_FORMAT_X24_TYPELESS_G8_UINT No documentation. DXGI_FORMAT_R8G8_TYPELESS No documentation. DXGI_FORMAT_R8G8_UNORM No documentation. DXGI_FORMAT_R8G8_UINT No documentation. DXGI_FORMAT_R8G8_SNORM No documentation. DXGI_FORMAT_R8G8_SINT No documentation. DXGI_FORMAT_R16_TYPELESS No documentation. DXGI_FORMAT_R16_FLOAT No documentation. DXGI_FORMAT_D16_UNORM No documentation. DXGI_FORMAT_R16_UNORM No documentation. DXGI_FORMAT_R16_UINT No documentation. DXGI_FORMAT_R16_SNORM No documentation. DXGI_FORMAT_R16_SINT No documentation. DXGI_FORMAT_R8_TYPELESS No documentation. DXGI_FORMAT_R8_UNORM No documentation. DXGI_FORMAT_R8_UINT No documentation. DXGI_FORMAT_R8_SNORM No documentation. DXGI_FORMAT_R8_SINT No documentation. DXGI_FORMAT_A8_UNORM No documentation. DXGI_FORMAT_R1_UNORM No documentation. DXGI_FORMAT_R9G9B9E5_SHAREDEXP No documentation. DXGI_FORMAT_R8G8_B8G8_UNORM No documentation. DXGI_FORMAT_G8R8_G8B8_UNORM No documentation. DXGI_FORMAT_BC1_TYPELESS No documentation. DXGI_FORMAT_BC1_UNORM No documentation. DXGI_FORMAT_BC1_UNORM_SRGB No documentation. DXGI_FORMAT_BC2_TYPELESS No documentation. DXGI_FORMAT_BC2_UNORM No documentation. DXGI_FORMAT_BC2_UNORM_SRGB No documentation. DXGI_FORMAT_BC3_TYPELESS No documentation. DXGI_FORMAT_BC3_UNORM No documentation. DXGI_FORMAT_BC3_UNORM_SRGB No documentation. DXGI_FORMAT_BC4_TYPELESS No documentation. DXGI_FORMAT_BC4_UNORM No documentation. DXGI_FORMAT_BC4_SNORM No documentation. DXGI_FORMAT_BC5_TYPELESS No documentation. DXGI_FORMAT_BC5_UNORM No documentation. DXGI_FORMAT_BC5_SNORM No documentation. DXGI_FORMAT_B5G6R5_UNORM No documentation. DXGI_FORMAT_B5G5R5A1_UNORM No documentation. DXGI_FORMAT_B8G8R8A8_UNORM No documentation. DXGI_FORMAT_B8G8R8X8_UNORM No documentation. DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM No documentation. DXGI_FORMAT_B8G8R8A8_TYPELESS No documentation. DXGI_FORMAT_B8G8R8A8_UNORM_SRGB No documentation. DXGI_FORMAT_B8G8R8X8_TYPELESS No documentation. DXGI_FORMAT_B8G8R8X8_UNORM_SRGB No documentation. DXGI_FORMAT_BC6H_TYPELESS No documentation. DXGI_FORMAT_BC6H_UF16 No documentation. DXGI_FORMAT_BC6H_SF16 No documentation. DXGI_FORMAT_BC7_TYPELESS No documentation. DXGI_FORMAT_BC7_UNORM No documentation. DXGI_FORMAT_BC7_UNORM_SRGB No documentation. DXGI_MAP_FLAGS No documentation. DXGI_MAP_READ No documentation. DXGI_MAP_WRITE No documentation. DXGI_MAP_DISCARD No documentation. DXGI_PRESENT_FLAGS No documentation. DXGI_PRESENT_TEST No documentation. DXGI_PRESENT_DO_NOT_SEQUENCE No documentation. DXGI_PRESENT_RESTART None. None No documentation. DXGI_RESIDENCY No documentation. DXGI_RESIDENCY_FULLY_RESIDENT No documentation. DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY No documentation. DXGI_RESIDENCY_EVICTED_TO_DISK No documentation. DXGI_RESOURCE_PRIORITY No documentation. DXGI_RESOURCE_PRIORITY_MINIMUM No documentation. DXGI_RESOURCE_PRIORITY_LOW No documentation. DXGI_RESOURCE_PRIORITY_NORMAL No documentation. DXGI_RESOURCE_PRIORITY_HIGH No documentation. DXGI_RESOURCE_PRIORITY_MAXIMUM No documentation. DXGI_SWAP_CHAIN_FLAG No documentation. DXGI_SWAP_CHAIN_FLAG_NONPREROTATED No documentation. DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH No documentation. DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE None. None No documentation. DXGI_SWAP_EFFECT No documentation. DXGI_SWAP_EFFECT_DISCARD No documentation. DXGI_SWAP_EFFECT_SEQUENTIAL No documentation. DXGI_USAGE_ENUM No documentation. DXGI_USAGE_SHADER_INPUT No documentation. DXGI_USAGE_RENDER_TARGET_OUTPUT No documentation. DXGI_USAGE_BACK_BUFFER No documentation. DXGI_USAGE_SHARED No documentation. DXGI_USAGE_READ_ONLY No documentation. DXGI_USAGE_DISCARD_ON_PRESENT No documentation. DXGI_USAGE_UNORDERED_ACCESS No documentation. DXGI_MWA_FLAGS No documentation. DXGI_MWA_NO_WINDOW_CHANGES No documentation. DXGI_MWA_NO_ALT_ENTER No documentation. DXGI_MWA_NO_PRINT_SCREEN No documentation. DXGI_MWA_VALID None. None Functions DLLs loaders No documentation. No documentation. No documentation. No documentation. HRESULT CreateDXGIFactory1([In] const GUID& riid,[Out] void** ppFactory) No documentation. No documentation. No documentation. No documentation. HRESULT CreateDXGIFactory([In] const GUID& riid,[Out] void** ppFactory) No documentation. IDXGIAdapter1 Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIAdapter1::GetDesc1([Out] DXGI_ADAPTER_DESC1* pDesc) No documentation. GetDesc1 HRESULT IDXGIAdapter1::GetDesc1([Out] DXGI_ADAPTER_DESC1* pDesc) No documentation. IDXGIDevice1 Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIDevice1::SetMaximumFrameLatency([In] unsigned int MaxLatency) No documentation. No documentation. No documentation. HRESULT IDXGIDevice1::GetMaximumFrameLatency([Out] unsigned int* pMaxLatency) No documentation. GetMaximumFrameLatency HRESULT IDXGIDevice1::GetMaximumFrameLatency([Out] unsigned int* pMaxLatency) No documentation. IDXGIKeyedMutex Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIKeyedMutex::AcquireSync([In] unsigned longlong Key,[In] unsigned int dwMilliseconds) No documentation. No documentation. No documentation. HRESULT IDXGIKeyedMutex::ReleaseSync([In] unsigned longlong Key) No documentation. IDXGIOutput Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetDesc([Out] DXGI_OUTPUT_DESC* pDesc) No documentation. No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetDisplayModeList([In] DXGI_FORMAT EnumFormat,[In] unsigned int Flags,[InOut] unsigned int* pNumModes,[Out, Buffer, Optional] DXGI_MODE_DESC* pDesc) No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIOutput::FindClosestMatchingMode([In] const DXGI_MODE_DESC* pModeToMatch,[Out] DXGI_MODE_DESC* pClosestMatch,[In, Optional] IUnknown* pConcernedDevice) No documentation. No documentation. HRESULT IDXGIOutput::WaitForVBlank() No documentation. No documentation. No documentation. No documentation. HRESULT IDXGIOutput::TakeOwnership([In] IUnknown* pDevice,[In] BOOL Exclusive) No documentation. void IDXGIOutput::ReleaseOwnership() No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetGammaControlCapabilities([Out] DXGI_GAMMA_CONTROL_CAPABILITIES* pGammaCaps) No documentation. No documentation. No documentation. HRESULT IDXGIOutput::SetGammaControl([In] const DXGI_GAMMA_CONTROL* pArray) No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetGammaControl([Out] DXGI_GAMMA_CONTROL* pArray) No documentation. No documentation. No documentation. HRESULT IDXGIOutput::SetDisplaySurface([In] IDXGISurface* pScanoutSurface) No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetDisplaySurfaceData([In] IDXGISurface* pDestination) No documentation. No documentation. No documentation. HRESULT IDXGIOutput::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats) Find the display mode that most closely matches the requested display mode. Direct3D devices require UNORM formats. This method finds the closest matching available display mode to the mode specified in pModeToMatch. Similarly ranked fields (ie. all specified, or all unspecified, etc) are resolved in the following order. ScanlineOrdering Scaling Format Resolution RefreshRate When determining the closest value for a particular field, previously matched fields are used to filter the display mode list choices, and other fields are ignored. For example, when matching Resolution, the display mode list will have already been filtered by a certain ScanlineOrdering, Scaling, and Format, while RefreshRate is ignored. This ordering doesn't define the absolute ordering for every usage scenario of FindClosestMatchingMode, because the application can choose some values initially, effectively changing the order that fields are chosen. Fields of the display mode are matched one at a time, generally in a specified order. If a field is unspecified, FindClosestMatchingMode gravitates toward the values for the desktop related to this output. If this output is not part of the desktop, then the default desktop output is used to find values. If an application uses a fully unspecified display mode, FindClosestMatchingMode will typically return a display mode that matches the desktop settings for this output. Unspecified fields are lower priority than specified fields and will be resolved later than specified fields. A reference to the Direct3D device interface. If this parameter is NULL, only modes whose format matches that of pModeToMatch will be returned; otherwise, only those formats that are supported for scan-out by the device are returned. The desired display mode (see ). Members of DXGI_MODE_DESC can be unspecified indicating no preference for that member. A value of 0 for Width or Height indicates the value is unspecified. If either Width or Height are 0 both must be 0. A numerator and denominator of 0 in RefreshRate indicate it is unspecified. Other members of DXGI_MODE_DESC have enumeration values indicating the member is unspecified. If pConnectedDevice is NULL Format cannot be DXGI_FORMAT_UNKNOWN. The mode that most closely matches pModeToMatch. Returns one of the following . HRESULT IDXGIOutput::FindClosestMatchingMode([In] const DXGI_MODE_DESC* pModeToMatch,[Out] DXGI_MODE_DESC* pClosestMatch,[In, Optional] IUnknown* pConcernedDevice) Gets the display modes that match the requested format and other input options. In general, when switching from windowed to full-screen mode, a swap chain automatically chooses a display mode that meets (or exceeds) the resolution, color depth and refresh rate of the swap chain. To exercise more control over the display mode, use this API to poll the set of display modes that are validated against monitor capabilities, or all modes that match the desktop (if the desktop settings are not validated against the monitor). As shown, this API is designed to be called twice. First to get the number of modes available, and second to return a description of the modes. UINT num = 0; DXGI_FORMAT format = DXGI_FORMAT_R32G32B32A32_FLOAT; UINT flags = DXGI_ENUM_MODES_INTERLACED; pOutput->GetDisplayModeList( format, flags, &num, 0); ... DXGI_MODE_DESC * pDescs = new DXGI_MODE_DESC[num]; pOutput->GetDisplayModeList( format, flags, &num, pDescs); The color format (see ). format for modes to include (see {{DXGI_ENUM_MODES}}). DXGI_ENUM_MODES_SCALING needs to be specified to expose the display modes that require scaling. Centered modes, requiring no scaling and corresponding directly to the display output, are enumerated by default. Returns a list of display modes (see ); HRESULT IDXGIOutput::GetDisplayModeList([None] DXGI_FORMAT EnumFormat,[None] int Flags,[InOut] int* pNumModes,[Out, Buffer, Optional] DXGI_MODE_DESC* pDesc) No documentation. GetDesc HRESULT IDXGIOutput::GetDesc([Out] DXGI_OUTPUT_DESC* pDesc) No documentation. GetGammaControlCapabilities HRESULT IDXGIOutput::GetGammaControlCapabilities([Out] DXGI_GAMMA_CONTROL_CAPABILITIES* pGammaCaps) No documentation. GetGammaControl HRESULT IDXGIOutput::GetGammaControl([Out] DXGI_GAMMA_CONTROL* pArray) No documentation. GetFrameStatistics HRESULT IDXGIOutput::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats) No documentation. IDXGIResource Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGIResource::GetSharedHandle([Out] void** pSharedHandle) No documentation. No documentation. No documentation. HRESULT IDXGIResource::GetUsage([Out] unsigned int* pUsage) No documentation. No documentation. No documentation. HRESULT IDXGIResource::SetEvictionPriority([In] unsigned int EvictionPriority) No documentation. No documentation. No documentation. HRESULT IDXGIResource::GetEvictionPriority([Out] unsigned int* pEvictionPriority) No documentation. GetSharedHandle HRESULT IDXGIResource::GetSharedHandle([Out] void** pSharedHandle) No documentation. GetUsage HRESULT IDXGIResource::GetUsage([Out] unsigned int* pUsage) No documentation. GetEvictionPriority HRESULT IDXGIResource::GetEvictionPriority([Out] unsigned int* pEvictionPriority) No documentation. IDXGISurface Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGISurface::GetDesc([Out] DXGI_SURFACE_DESC* pDesc) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISurface::Map([Out] DXGI_MAPPED_RECT* pLockedRect,[In] unsigned int MapFlags) No documentation. No documentation. HRESULT IDXGISurface::Unmap() Acquires access to the surface data. Flags specifying CPU access permissions. A for accessing the mapped data, or null on failure.. Acquires access to the surface data. Flags specifying CPU access permissions. A for accessing the mapped data, or null on failure.. Gets a swap chain back buffer. The swap chain to get the buffer from. The index of the desired buffer. The buffer interface, or null on failure. No documentation. GetDesc HRESULT IDXGISurface::GetDesc([Out] DXGI_SURFACE_DESC* pDesc) No documentation. IDXGISurface1 Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. HRESULT IDXGISurface1::GetDC([In] BOOL Discard,[Out] HDC* phdc) No documentation. No documentation. No documentation. HRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect) Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D. The whole surface to be considered dirty. Use the ReleaseDC method to release the DC and indicate that your application has finished all GDI rendering to this surface. You must call the ReleaseDC method before you perform addition rendering using Direct3D. Prior to resizing buffers all outstanding DCs must be released. If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. HRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect) Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D. Use the ReleaseDC method to release the DC and indicate that your application has finished all GDI rendering to this surface. You must call the ReleaseDC method before you perform addition rendering using Direct3D. Prior to resizing buffers all outstanding DCs must be released. A reference to a structure that identifies the dirty region of the surface. A dirty region is any part of the surface that you have used for GDI rendering and that you want to preserve. This is used as a performance hint to graphics subsystem in certain scenarios. Do not use this parameter to restrict rendering to the specified rectangular region. The area specified by the will be used as a performance hint to indicate what areas have been manipulated by GDI rendering. If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. HRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect) No documentation. IDXGISwapChain Initializes a new instance of the class. The native pointer. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::Present([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS Flags) No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetBuffer([In] unsigned int Buffer,[In] const GUID& riid,[Out] void** ppSurface) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::SetFullscreenState([In] BOOL Fullscreen,[In, Optional] IDXGIOutput* pTarget) No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetFullscreenState([Out] BOOL* pFullscreen,[Out] IDXGIOutput** ppTarget) No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetDesc([Out] DXGI_SWAP_CHAIN_DESC* pDesc) No documentation. No documentation. No documentation. No documentation. No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::ResizeBuffers([In] unsigned int BufferCount,[In] unsigned int Width,[In] unsigned int Height,[In] DXGI_FORMAT NewFormat,[In] unsigned int SwapChainFlags) No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::ResizeTarget([In] const DXGI_MODE_DESC* pNewTargetParameters) No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetContainingOutput([Out] IDXGIOutput** ppOutput) No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats) No documentation. No documentation. No documentation. HRESULT IDXGISwapChain::GetLastPresentCount([Out] unsigned int* pLastPresentCount) Creates a swap chain. If you attempt to create a swap chain in full-screen mode, and full-screen mode is unavailable, the swap chain will be created in windowed mode and DXGI_STATUS_OCCLUDED will be returned. If the buffer width or the buffer height are zero, the sizes will be inferred from the output window size in the swap-chain description. Since the target output cannot be chosen explicitly when the swap-chain is created, you should not create a full-screen swap chain. This can reduce presentation performance if the swap chain size and the output window size do not match. Here are two ways to ensure the sizes match: Create a windowed swap chain and then set it full-screen using . Save a reference to the swap-chain immediately after creation, and use it to get the output window size during a WM_SIZE event. Then resize the swap chain buffers (with ) during the transition from windowed to full-screen. If the swap chain is in full-screen mode, before you release it, you must use {{SetFullscreenState}} to switch it to windowed mode. For more information about releasing a swap chain, see the Destroying a Swap Chain section of {{DXGI Overview}}. a reference to a . A reference to the device that will write 2D images to the swap chain. A reference to the swap-chain description (see ). HRESULT IDXGIFactory::CreateSwapChain([In] IUnknown* pDevice,[In] DXGI_SWAP_CHAIN_DESC* pDesc,[Out] IDXGISwapChain** ppSwapChain) Access one of the swap-chain back buffers. The interface of the surface to resolve from the back buffer A zero-based buffer index. If the swap effect is not DXGI_SWAP_EFFECT_SEQUENTIAL, this method only has access to the first buffer; for this case, set the index to zero. Returns a reference to a back-buffer interface. HRESULT IDXGISwapChain::GetBuffer([None] int Buffer,[In] GUID* riid,[Out] void** ppSurface) No documentation. GetDesc HRESULT IDXGISwapChain::GetDesc([Out] DXGI_SWAP_CHAIN_DESC* pDesc) No documentation. GetContainingOutput HRESULT IDXGISwapChain::GetContainingOutput([Out] IDXGIOutput** ppOutput) No documentation. GetFrameStatistics HRESULT IDXGISwapChain::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats) No documentation. GetLastPresentCount HRESULT IDXGISwapChain::GetLastPresentCount([Out] unsigned int* pLastPresentCount) Gets or sets a value indicating whether the swapchain is in fullscreen. true if this swapchain is in fullscreen; otherwise, false. No documentation. DXGI_ADAPTER_DESC No documentation. wchar_t Description[128] No documentation. unsigned int VendorId No documentation. unsigned int DeviceId No documentation. unsigned int SubSysId No documentation. unsigned int Revision No documentation. SIZE_T DedicatedVideoMemory No documentation. SIZE_T DedicatedSystemMemory No documentation. SIZE_T SharedSystemMemory No documentation. LUID AdapterLuid No documentation. DXGI_ADAPTER_DESC1 No documentation. wchar_t Description[128] No documentation. unsigned int VendorId No documentation. unsigned int DeviceId No documentation. unsigned int SubSysId No documentation. unsigned int Revision No documentation. SIZE_T DedicatedVideoMemory No documentation. SIZE_T DedicatedSystemMemory No documentation. SIZE_T SharedSystemMemory No documentation. LUID AdapterLuid No documentation. DXGI_ADAPTER_FLAG Flags No documentation. DXGI_FRAME_STATISTICS No documentation. unsigned int PresentCount No documentation. unsigned int PresentRefreshCount No documentation. unsigned int SyncRefreshCount No documentation. LARGE_INTEGER SyncQPCTime No documentation. LARGE_INTEGER SyncGPUTime No documentation. DXGI_GAMMA_CONTROL No documentation. DXGI_RGB Scale No documentation. DXGI_RGB Offset No documentation. DXGI_RGB GammaCurve[1025] No documentation. DXGI_GAMMA_CONTROL_CAPABILITIES No documentation. float MaxConvertedValue No documentation. float MinConvertedValue No documentation. unsigned int NumGammaControlPoints No documentation. BOOL ScaleAndOffsetSupported No documentation. float ControlPointPositions[1025] No documentation. DXGI_MAPPED_RECT No documentation. int Pitch No documentation. unsigned char* pBits No documentation. DXGI_MODE_DESC No documentation. unsigned int Width No documentation. unsigned int Height No documentation. DXGI_RATIONAL RefreshRate No documentation. DXGI_FORMAT Format No documentation. DXGI_MODE_SCANLINE_ORDER ScanlineOrdering No documentation. DXGI_MODE_SCALING Scaling Initializes a new instance of the structure. The width. The height. The refresh rate. The format. No documentation. DXGI_OUTPUT_DESC No documentation. wchar_t DeviceName[32] No documentation. RECT DesktopCoordinates No documentation. DXGI_MODE_ROTATION Rotation No documentation. HMONITOR Monitor No documentation. BOOL AttachedToDesktop No documentation. DXGI_RATIONAL No documentation. unsigned int Numerator No documentation. unsigned int Denominator Initializes a new instance of the structure. The numerator of the rational pair. The denominator of the rational pair. No documentation. DXGI_SAMPLE_DESC No documentation. unsigned int Count No documentation. unsigned int Quality Initializes a new instance of the structure. The sample count. The sample quality. No documentation. DXGI_SHARED_RESOURCE No documentation. void* Handle No documentation. DXGI_SURFACE_DESC No documentation. unsigned int Width No documentation. unsigned int Height No documentation. DXGI_FORMAT Format No documentation. DXGI_SAMPLE_DESC SampleDesc No documentation. DXGI_SWAP_CHAIN_DESC No documentation. DXGI_MODE_DESC BufferDesc No documentation. DXGI_SAMPLE_DESC SampleDesc No documentation. DXGI_USAGE_ENUM BufferUsage No documentation. unsigned int BufferCount No documentation. HWND OutputWindow No documentation. DXGI_SWAP_EFFECT SwapEffect No documentation. DXGI_SWAP_CHAIN_FLAG Flags No documentation. BOOL Windowed