diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs new file mode 100644 index 000000000..014d7280c --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs @@ -0,0 +1,10 @@ +#[link(name = "windows")] +extern "system" { + #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"] + #[cfg(feature = "Win32_Graphics_Dxgi")] + pub fn CreateDirect3D11DeviceFromDXGIDevice(dxgidevice: super::super::super::Graphics::Dxgi::IDXGIDevice, graphicsdevice: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"] + #[cfg(feature = "Win32_Graphics_Dxgi")] + pub fn CreateDirect3D11SurfaceFromDXGISurface(dgxisurface: super::super::super::Graphics::Dxgi::IDXGISurface, graphicssurface: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; +} +pub type IDirect3DDxgiInterfaceAccess = *mut ::core::ffi::c_void; |