From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Win32/System/WinRT/AllJoyn/mod.rs | 4 + .../Windows/Win32/System/WinRT/Composition/mod.rs | 9 + .../Win32/System/WinRT/CoreInputView/mod.rs | 1 + .../Windows/Win32/System/WinRT/Direct3D11/mod.rs | 10 + .../src/Windows/Win32/System/WinRT/Display/mod.rs | 2 + .../Win32/System/WinRT/Graphics/Capture/mod.rs | 1 + .../Win32/System/WinRT/Graphics/Direct2D/mod.rs | 26 ++ .../Win32/System/WinRT/Graphics/Imaging/mod.rs | 3 + .../src/Windows/Win32/System/WinRT/Graphics/mod.rs | 6 + .../Windows/Win32/System/WinRT/Holographic/mod.rs | 4 + .../Windows/Win32/System/WinRT/Isolation/mod.rs | 1 + .../src/Windows/Win32/System/WinRT/ML/mod.rs | 5 + .../src/Windows/Win32/System/WinRT/Media/mod.rs | 6 + .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 28 ++ .../src/Windows/Win32/System/WinRT/Printing/mod.rs | 7 + .../src/Windows/Win32/System/WinRT/Shell/mod.rs | 9 + .../src/Windows/Win32/System/WinRT/Storage/mod.rs | 58 +++ .../src/Windows/Win32/System/WinRT/Xaml/mod.rs | 36 ++ .../src/Windows/Win32/System/WinRT/mod.rs | 389 +++++++++++++++++++++ 19 files changed, 605 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Composition/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Display/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Holographic/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Isolation/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/ML/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Media/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Pdf/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Printing/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Shell/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Storage/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/Xaml/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs (limited to 'vendor/windows-sys/src/Windows/Win32/System/WinRT') diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs new file mode 100644 index 000000000..8b935a59f --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs @@ -0,0 +1,4 @@ +pub type IWindowsDevicesAllJoynBusAttachmentFactoryInterop = *mut ::core::ffi::c_void; +pub type IWindowsDevicesAllJoynBusAttachmentInterop = *mut ::core::ffi::c_void; +pub type IWindowsDevicesAllJoynBusObjectFactoryInterop = *mut ::core::ffi::c_void; +pub type IWindowsDevicesAllJoynBusObjectInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Composition/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Composition/mod.rs new file mode 100644 index 000000000..46e5d00ef --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Composition/mod.rs @@ -0,0 +1,9 @@ +pub type ICompositionCapabilitiesInteropFactory = *mut ::core::ffi::c_void; +pub type ICompositionDrawingSurfaceInterop = *mut ::core::ffi::c_void; +pub type ICompositionDrawingSurfaceInterop2 = *mut ::core::ffi::c_void; +pub type ICompositionGraphicsDeviceInterop = *mut ::core::ffi::c_void; +pub type ICompositorDesktopInterop = *mut ::core::ffi::c_void; +pub type ICompositorInterop = *mut ::core::ffi::c_void; +pub type IDesktopWindowTargetInterop = *mut ::core::ffi::c_void; +pub type ISwapChainInterop = *mut ::core::ffi::c_void; +pub type IVisualInteractionSourceInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs new file mode 100644 index 000000000..808621363 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -0,0 +1 @@ +pub type ICoreFrameworkInputViewInterop = *mut ::core::ffi::c_void; 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; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Display/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Display/mod.rs new file mode 100644 index 000000000..829e5dfb9 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Display/mod.rs @@ -0,0 +1,2 @@ +pub type IDisplayDeviceInterop = *mut ::core::ffi::c_void; +pub type IDisplayPathInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs new file mode 100644 index 000000000..c5384bf82 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -0,0 +1 @@ +pub type IGraphicsCaptureItemInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs new file mode 100644 index 000000000..461bfacee --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs @@ -0,0 +1,26 @@ +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub type GRAPHICS_EFFECT_PROPERTY_MAPPING = i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_UNKNOWN: GRAPHICS_EFFECT_PROPERTY_MAPPING = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_DIRECT: GRAPHICS_EFFECT_PROPERTY_MAPPING = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORX: GRAPHICS_EFFECT_PROPERTY_MAPPING = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORY: GRAPHICS_EFFECT_PROPERTY_MAPPING = 3i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORZ: GRAPHICS_EFFECT_PROPERTY_MAPPING = 4i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_VECTORW: GRAPHICS_EFFECT_PROPERTY_MAPPING = 5i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_RECT_TO_VECTOR4: GRAPHICS_EFFECT_PROPERTY_MAPPING = 6i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_RADIANS_TO_DEGREES: GRAPHICS_EFFECT_PROPERTY_MAPPING = 7i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLORMATRIX_ALPHA_MODE: GRAPHICS_EFFECT_PROPERTY_MAPPING = 8i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR3: GRAPHICS_EFFECT_PROPERTY_MAPPING = 9i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] +pub const GRAPHICS_EFFECT_PROPERTY_MAPPING_COLOR_TO_VECTOR4: GRAPHICS_EFFECT_PROPERTY_MAPPING = 10i32; +pub type IGeometrySource2DInterop = *mut ::core::ffi::c_void; +pub type IGraphicsEffectD2D1Interop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs new file mode 100644 index 000000000..445dc334b --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -0,0 +1,3 @@ +pub const CLSID_SoftwareBitmapNativeFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2229687953, data2: 34306, data3: 19076, data4: [190, 70, 112, 139, 233, 205, 75, 116] }; +pub type ISoftwareBitmapNative = *mut ::core::ffi::c_void; +pub type ISoftwareBitmapNativeFactory = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs new file mode 100644 index 000000000..1750c5a82 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Graphics/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "Win32_System_WinRT_Graphics_Capture")] +pub mod Capture; +#[cfg(feature = "Win32_System_WinRT_Graphics_Direct2D")] +pub mod Direct2D; +#[cfg(feature = "Win32_System_WinRT_Graphics_Imaging")] +pub mod Imaging; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Holographic/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Holographic/mod.rs new file mode 100644 index 000000000..c9790eb02 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Holographic/mod.rs @@ -0,0 +1,4 @@ +pub type IHolographicCameraInterop = *mut ::core::ffi::c_void; +pub type IHolographicCameraRenderingParametersInterop = *mut ::core::ffi::c_void; +pub type IHolographicQuadLayerInterop = *mut ::core::ffi::c_void; +pub type IHolographicQuadLayerUpdateParametersInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Isolation/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Isolation/mod.rs new file mode 100644 index 000000000..160603dc5 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Isolation/mod.rs @@ -0,0 +1 @@ +pub type IIsolatedEnvironmentInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/ML/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/ML/mod.rs new file mode 100644 index 000000000..c215d8f42 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/ML/mod.rs @@ -0,0 +1,5 @@ +pub type ILearningModelDeviceFactoryNative = *mut ::core::ffi::c_void; +pub type ILearningModelOperatorProviderNative = *mut ::core::ffi::c_void; +pub type ILearningModelSessionOptionsNative = *mut ::core::ffi::c_void; +pub type ITensorNative = *mut ::core::ffi::c_void; +pub type ITensorStaticsNative = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Media/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Media/mod.rs new file mode 100644 index 000000000..5e0530184 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -0,0 +1,6 @@ +pub const CLSID_AudioFrameNativeFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 379626425, data2: 40805, data3: 16642, data4: [147, 103, 44, 218, 58, 79, 55, 42] }; +pub const CLSID_VideoFrameNativeFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3516151914, data2: 1251, data3: 18452, data4: [129, 0, 178, 176, 174, 109, 120, 199] }; +pub type IAudioFrameNative = *mut ::core::ffi::c_void; +pub type IAudioFrameNativeFactory = *mut ::core::ffi::c_void; +pub type IVideoFrameNative = *mut ::core::ffi::c_void; +pub type IVideoFrameNativeFactory = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Pdf/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Pdf/mod.rs new file mode 100644 index 000000000..615c5ce85 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Pdf/mod.rs @@ -0,0 +1,28 @@ +#[link(name = "windows")] +extern "system" { + #[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Graphics_Dxgi\"`*"] + #[cfg(feature = "Win32_Graphics_Dxgi")] + pub fn PdfCreateRenderer(pdevice: super::super::super::Graphics::Dxgi::IDXGIDevice, pprenderer: *mut IPdfRendererNative) -> ::windows_sys::core::HRESULT; +} +pub type IPdfRendererNative = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] +pub struct PDF_RENDER_PARAMS { + pub SourceRect: super::super::super::Graphics::Direct2D::Common::D2D_RECT_F, + pub DestinationWidth: u32, + pub DestinationHeight: u32, + pub BackgroundColor: super::super::super::Graphics::Direct2D::Common::D2D_COLOR_F, + pub IgnoreHighContrast: super::super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] +impl ::core::marker::Copy for PDF_RENDER_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] +impl ::core::clone::Clone for PDF_RENDER_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Graphics_Dxgi\"`*"] +#[cfg(feature = "Win32_Graphics_Dxgi")] +pub type PFN_PDF_CREATE_RENDERER = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Printing/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Printing/mod.rs new file mode 100644 index 000000000..3e43ef67c --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Printing/mod.rs @@ -0,0 +1,7 @@ +pub type IPrintManagerInterop = *mut ::core::ffi::c_void; +pub type IPrintWorkflowConfigurationNative = *mut ::core::ffi::c_void; +pub type IPrintWorkflowObjectModelSourceFileContentNative = *mut ::core::ffi::c_void; +pub type IPrintWorkflowXpsObjectModelTargetPackageNative = *mut ::core::ffi::c_void; +pub type IPrintWorkflowXpsReceiver = *mut ::core::ffi::c_void; +pub type IPrintWorkflowXpsReceiver2 = *mut ::core::ffi::c_void; +pub type IPrinting3DManagerInterop = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Shell/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Shell/mod.rs new file mode 100644 index 000000000..735476d47 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -0,0 +1,9 @@ +#[doc = "*Required features: `\"Win32_System_WinRT_Shell\"`*"] +pub type CreateProcessMethod = i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Shell\"`*"] +pub const CpCreateProcess: CreateProcessMethod = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Shell\"`*"] +pub const CpCreateProcessAsUser: CreateProcessMethod = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Shell\"`*"] +pub const CpAicLaunchAdminProcess: CreateProcessMethod = 2i32; +pub type IDDEInitializer = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Storage/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Storage/mod.rs new file mode 100644 index 000000000..d2937fbfe --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Storage/mod.rs @@ -0,0 +1,58 @@ +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub type HANDLE_ACCESS_OPTIONS = u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HAO_NONE: HANDLE_ACCESS_OPTIONS = 0u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HAO_READ_ATTRIBUTES: HANDLE_ACCESS_OPTIONS = 128u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HAO_READ: HANDLE_ACCESS_OPTIONS = 1179785u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HAO_WRITE: HANDLE_ACCESS_OPTIONS = 1179926u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HAO_DELETE: HANDLE_ACCESS_OPTIONS = 65536u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub type HANDLE_CREATION_OPTIONS = i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HCO_CREATE_NEW: HANDLE_CREATION_OPTIONS = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HCO_CREATE_ALWAYS: HANDLE_CREATION_OPTIONS = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HCO_OPEN_EXISTING: HANDLE_CREATION_OPTIONS = 3i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HCO_OPEN_ALWAYS: HANDLE_CREATION_OPTIONS = 4i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HCO_TRUNCATE_EXISTING: HANDLE_CREATION_OPTIONS = 5i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub type HANDLE_OPTIONS = u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_NONE: HANDLE_OPTIONS = 0u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_OPEN_REQUIRING_OPLOCK: HANDLE_OPTIONS = 262144u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_DELETE_ON_CLOSE: HANDLE_OPTIONS = 67108864u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_SEQUENTIAL_SCAN: HANDLE_OPTIONS = 134217728u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_RANDOM_ACCESS: HANDLE_OPTIONS = 268435456u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_NO_BUFFERING: HANDLE_OPTIONS = 536870912u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_OVERLAPPED: HANDLE_OPTIONS = 1073741824u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HO_WRITE_THROUGH: HANDLE_OPTIONS = 2147483648u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub type HANDLE_SHARING_OPTIONS = u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HSO_SHARE_NONE: HANDLE_SHARING_OPTIONS = 0u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HSO_SHARE_READ: HANDLE_SHARING_OPTIONS = 1u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HSO_SHARE_WRITE: HANDLE_SHARING_OPTIONS = 2u32; +#[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] +pub const HSO_SHARE_DELETE: HANDLE_SHARING_OPTIONS = 4u32; +pub type IOplockBreakingHandler = *mut ::core::ffi::c_void; +pub type IRandomAccessStreamFileAccessMode = *mut ::core::ffi::c_void; +pub type IStorageFolderHandleAccess = *mut ::core::ffi::c_void; +pub type IStorageItemHandleAccess = *mut ::core::ffi::c_void; +pub type IUnbufferedFileHandleOplockCallback = *mut ::core::ffi::c_void; +pub type IUnbufferedFileHandleProvider = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Xaml/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Xaml/mod.rs new file mode 100644 index 000000000..9c8d1bfe7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Xaml/mod.rs @@ -0,0 +1,36 @@ +#[doc = "*Required features: `\"Win32_System_WinRT_Xaml\"`*"] +pub const E_SURFACE_CONTENTS_LOST: u32 = 2150301728u32; +pub type IDesktopWindowXamlSourceNative = *mut ::core::ffi::c_void; +pub type IDesktopWindowXamlSourceNative2 = *mut ::core::ffi::c_void; +pub type IFindReferenceTargetsCallback = *mut ::core::ffi::c_void; +pub type IReferenceTracker = *mut ::core::ffi::c_void; +pub type IReferenceTrackerExtension = *mut ::core::ffi::c_void; +pub type IReferenceTrackerHost = *mut ::core::ffi::c_void; +pub type IReferenceTrackerManager = *mut ::core::ffi::c_void; +pub type IReferenceTrackerTarget = *mut ::core::ffi::c_void; +pub type ISurfaceImageSourceManagerNative = *mut ::core::ffi::c_void; +pub type ISurfaceImageSourceNative = *mut ::core::ffi::c_void; +pub type ISurfaceImageSourceNativeWithD2D = *mut ::core::ffi::c_void; +pub type ISwapChainBackgroundPanelNative = *mut ::core::ffi::c_void; +pub type ISwapChainPanelNative = *mut ::core::ffi::c_void; +pub type ISwapChainPanelNative2 = *mut ::core::ffi::c_void; +pub type ITrackerOwner = *mut ::core::ffi::c_void; +pub type IVirtualSurfaceImageSourceNative = *mut ::core::ffi::c_void; +pub type IVirtualSurfaceUpdatesCallbackNative = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT_Xaml\"`*"] +pub struct TrackerHandle__ { + pub unused: i32, +} +impl ::core::marker::Copy for TrackerHandle__ {} +impl ::core::clone::Clone for TrackerHandle__ { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_System_WinRT_Xaml\"`*"] +pub type XAML_REFERENCETRACKER_DISCONNECT = i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Xaml\"`*"] +pub const XAML_REFERENCETRACKER_DISCONNECT_DEFAULT: XAML_REFERENCETRACKER_DISCONNECT = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT_Xaml\"`*"] +pub const XAML_REFERENCETRACKER_DISCONNECT_SUSPEND: XAML_REFERENCETRACKER_DISCONNECT = 1i32; diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs new file mode 100644 index 000000000..c0ddbd742 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs @@ -0,0 +1,389 @@ +#[cfg(feature = "Win32_System_WinRT_AllJoyn")] +pub mod AllJoyn; +#[cfg(feature = "Win32_System_WinRT_Composition")] +pub mod Composition; +#[cfg(feature = "Win32_System_WinRT_CoreInputView")] +pub mod CoreInputView; +#[cfg(feature = "Win32_System_WinRT_Direct3D11")] +pub mod Direct3D11; +#[cfg(feature = "Win32_System_WinRT_Display")] +pub mod Display; +#[cfg(feature = "Win32_System_WinRT_Graphics")] +pub mod Graphics; +#[cfg(feature = "Win32_System_WinRT_Holographic")] +pub mod Holographic; +#[cfg(feature = "Win32_System_WinRT_Isolation")] +pub mod Isolation; +#[cfg(feature = "Win32_System_WinRT_ML")] +pub mod ML; +#[cfg(feature = "Win32_System_WinRT_Media")] +pub mod Media; +#[cfg(feature = "Win32_System_WinRT_Pdf")] +pub mod Pdf; +#[cfg(feature = "Win32_System_WinRT_Printing")] +pub mod Printing; +#[cfg(feature = "Win32_System_WinRT_Shell")] +pub mod Shell; +#[cfg(feature = "Win32_System_WinRT_Storage")] +pub mod Storage; +#[cfg(feature = "Win32_System_WinRT_Xaml")] +pub mod Xaml; +#[link(name = "windows")] +extern "system" { + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64, pserverinformation: *mut ServerInformation) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn CreateControlInput(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn CreateControlInputEx(pcorewindow: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"System\"`*"] + #[cfg(feature = "System")] + pub fn CreateDispatcherQueueController(options: DispatcherQueueOptions, dispatcherqueuecontroller: *mut super::super::super::System::DispatcherQueueController) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn CreateRandomAccessStreamOnFile(filepath: ::windows_sys::core::PCWSTR, accessmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com\"`*"] + #[cfg(feature = "Win32_System_Com")] + pub fn CreateRandomAccessStreamOverStream(stream: super::Com::IStream, options: BSOS_OPTIONS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn CreateStreamOverRandomAccessStream(randomaccessstream: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn GetRestrictedErrorInfo(pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserFree(param0: *const u32, param1: *const ::windows_sys::core::HSTRING); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserFree64(param0: *const u32, param1: *const ::windows_sys::core::HSTRING); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const ::windows_sys::core::HSTRING) -> *mut u8; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const ::windows_sys::core::HSTRING) -> *mut u8; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserSize(param0: *const u32, param1: u32, param2: *const ::windows_sys::core::HSTRING) -> u32; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserSize64(param0: *const u32, param1: u32, param2: *const ::windows_sys::core::HSTRING) -> u32; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut ::windows_sys::core::HSTRING) -> *mut u8; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn HSTRING_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut ::windows_sys::core::HSTRING) -> *mut u8; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn IsErrorPropagationEnabled() -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn MetaDataGetDispenser(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoActivateInstance(activatableclassid: ::windows_sys::core::HSTRING, instance: *mut ::windows_sys::core::IInspectable) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoCaptureErrorContext(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoClearError(); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoFailFastWithErrorContext(hrerror: ::windows_sys::core::HRESULT); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoFreeParameterizedTypeExtra(extra: ROPARAMIIDHANDLE); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetActivationFactory(activatableclassid: ::windows_sys::core::HSTRING, iid: *const ::windows_sys::core::GUID, factory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetAgileReference(options: AgileReferenceOptions, riid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, ppagilereference: *mut IAgileReference) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetApartmentIdentifier(apartmentidentifier: *mut u64) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com_Marshal\"`*"] + #[cfg(feature = "Win32_System_Com_Marshal")] + pub fn RoGetBufferMarshaler(buffermarshaler: *mut super::Com::Marshal::IMarshal) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetErrorReportingFlags(pflags: *mut u32) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetMatchingRestrictedErrorInfo(hrin: ::windows_sys::core::HRESULT, pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetParameterizedTypeInstanceIID(nameelementcount: u32, nameelements: *const ::windows_sys::core::PWSTR, metadatalocator: IRoMetaDataLocator, iid: *mut ::windows_sys::core::GUID, pextra: *mut ROPARAMIIDHANDLE) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoGetServerActivatableClasses(servername: ::windows_sys::core::HSTRING, activatableclassids: *mut *mut ::windows_sys::core::HSTRING, count: *mut u32) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoInitialize(inittype: RO_INIT_TYPE) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoInspectCapturedStackBackTrace(targeterrorinfoaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: *const ::core::ffi::c_void, framecount: *mut u32, targetbacktraceaddress: *mut usize) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: *const ::core::ffi::c_void, targeterrorinfoaddress: *mut usize) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn RoOriginateError(error: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn RoOriginateErrorW(error: ::windows_sys::core::HRESULT, cchmax: u32, message: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn RoOriginateLanguageException(error: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING, languageexception: ::windows_sys::core::IUnknown) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoParameterizedTypeExtraGetTypeSignature(extra: ROPARAMIIDHANDLE) -> ::windows_sys::core::PSTR; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoRegisterActivationFactories(activatableclassids: *const ::windows_sys::core::HSTRING, activationfactorycallbacks: *const isize, count: u32, cookie: *mut isize) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoRegisterForApartmentShutdown(callbackobject: IApartmentShutdown, apartmentidentifier: *mut u64, regcookie: *mut APARTMENT_SHUTDOWN_REGISTRATION_COOKIE) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoReportFailedDelegate(punkdelegate: ::windows_sys::core::IUnknown, prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoReportUnhandledError(prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoResolveRestrictedErrorInfoReference(reference: ::windows_sys::core::PCWSTR, pprestrictederrorinfo: *mut IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoRevokeActivationFactories(cookie: isize); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoSetErrorReportingFlags(flags: u32) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn RoTransformError(olderror: ::windows_sys::core::HRESULT, newerror: ::windows_sys::core::HRESULT, message: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn RoTransformErrorW(olderror: ::windows_sys::core::HRESULT, newerror: ::windows_sys::core::HRESULT, cchmax: u32, message: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoUninitialize(); + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn RoUnregisterForApartmentShutdown(regcookie: APARTMENT_SHUTDOWN_REGISTRATION_COOKIE) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn SetRestrictedErrorInfo(prestrictederrorinfo: IRestrictedErrorInfo) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsCompareStringOrdinal(string1: ::windows_sys::core::HSTRING, string2: ::windows_sys::core::HSTRING, result: *mut i32) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsConcatString(string1: ::windows_sys::core::HSTRING, string2: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsCreateString(sourcestring: ::windows_sys::core::PCWSTR, length: u32, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsCreateStringReference(sourcestring: ::windows_sys::core::PCWSTR, length: u32, hstringheader: *mut HSTRING_HEADER, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsDeleteString(string: ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsDeleteStringBuffer(bufferhandle: HSTRING_BUFFER) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsDuplicateString(string: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsGetStringLen(string: ::windows_sys::core::HSTRING) -> u32; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsGetStringRawBuffer(string: ::windows_sys::core::HSTRING, length: *mut u32) -> ::windows_sys::core::PWSTR; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsInspectString(targethstring: usize, machine: u16, callback: PINSPECT_HSTRING_CALLBACK, context: *const ::core::ffi::c_void, length: *mut u32, targetstringaddress: *mut usize) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsInspectString2(targethstring: u64, machine: u16, callback: PINSPECT_HSTRING_CALLBACK2, context: *const ::core::ffi::c_void, length: *mut u32, targetstringaddress: *mut u64) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn WindowsIsStringEmpty(string: ::windows_sys::core::HSTRING) -> super::super::Foundation::BOOL; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsPreallocateStringBuffer(length: u32, charbuffer: *mut *mut u16, bufferhandle: *mut HSTRING_BUFFER) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsPromoteStringBuffer(bufferhandle: HSTRING_BUFFER, string: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsReplaceString(string: ::windows_sys::core::HSTRING, stringreplaced: ::windows_sys::core::HSTRING, stringreplacewith: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub fn WindowsStringHasEmbeddedNull(string: ::windows_sys::core::HSTRING, hasembednull: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsSubstring(string: ::windows_sys::core::HSTRING, startindex: u32, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsSubstringWithSpecifiedLength(string: ::windows_sys::core::HSTRING, startindex: u32, length: u32, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsTrimStringEnd(string: ::windows_sys::core::HSTRING, trimstring: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; + #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] + pub fn WindowsTrimStringStart(string: ::windows_sys::core::HSTRING, trimstring: ::windows_sys::core::HSTRING, newstring: *mut ::windows_sys::core::HSTRING) -> ::windows_sys::core::HRESULT; +} +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type ACTIVATIONTYPE = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_UNCATEGORIZED: ACTIVATIONTYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_FROM_MONIKER: ACTIVATIONTYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_FROM_DATA: ACTIVATIONTYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_FROM_STORAGE: ACTIVATIONTYPE = 4i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_FROM_STREAM: ACTIVATIONTYPE = 8i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const ACTIVATIONTYPE_FROM_FILE: ACTIVATIONTYPE = 16i32; +pub type APARTMENT_SHUTDOWN_REGISTRATION_COOKIE = isize; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type AgileReferenceOptions = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const AGILEREFERENCE_DEFAULT: AgileReferenceOptions = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const AGILEREFERENCE_DELAYEDMARSHAL: AgileReferenceOptions = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type BSOS_OPTIONS = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const BSOS_DEFAULT: BSOS_OPTIONS = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const BSOS_PREFERDESTINATIONSTREAM: BSOS_OPTIONS = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type CASTING_CONNECTION_ERROR_STATUS = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_SUCCEEDED: CASTING_CONNECTION_ERROR_STATUS = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_DID_NOT_RESPOND: CASTING_CONNECTION_ERROR_STATUS = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_ERROR: CASTING_CONNECTION_ERROR_STATUS = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_LOCKED: CASTING_CONNECTION_ERROR_STATUS = 3i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_PROTECTED_PLAYBACK_FAILED: CASTING_CONNECTION_ERROR_STATUS = 4i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_INVALID_CASTING_SOURCE: CASTING_CONNECTION_ERROR_STATUS = 5i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_ERROR_STATUS_UNKNOWN: CASTING_CONNECTION_ERROR_STATUS = 6i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type CASTING_CONNECTION_STATE = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_STATE_DISCONNECTED: CASTING_CONNECTION_STATE = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_STATE_CONNECTED: CASTING_CONNECTION_STATE = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_STATE_RENDERING: CASTING_CONNECTION_STATE = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_STATE_DISCONNECTING: CASTING_CONNECTION_STATE = 3i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CASTING_CONNECTION_STATE_CONNECTING: CASTING_CONNECTION_STATE = 4i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CastingSourceInfo_Property_CastingTypes: &str = "CastingTypes"; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CastingSourceInfo_Property_PreferredSourceUriScheme: &str = "PreferredSourceUriScheme"; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const CastingSourceInfo_Property_ProtectedMedia: &str = "ProtectedMedia"; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type DISPATCHERQUEUE_THREAD_APARTMENTTYPE = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const DQTAT_COM_NONE: DISPATCHERQUEUE_THREAD_APARTMENTTYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const DQTAT_COM_ASTA: DISPATCHERQUEUE_THREAD_APARTMENTTYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const DQTAT_COM_STA: DISPATCHERQUEUE_THREAD_APARTMENTTYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type DISPATCHERQUEUE_THREAD_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const DQTYPE_THREAD_DEDICATED: DISPATCHERQUEUE_THREAD_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const DQTYPE_THREAD_CURRENT: DISPATCHERQUEUE_THREAD_TYPE = 2i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub struct DispatcherQueueOptions { + pub dwSize: u32, + pub threadType: DISPATCHERQUEUE_THREAD_TYPE, + pub apartmentType: DISPATCHERQUEUE_THREAD_APARTMENTTYPE, +} +impl ::core::marker::Copy for DispatcherQueueOptions {} +impl ::core::clone::Clone for DispatcherQueueOptions { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub struct EventRegistrationToken { + pub value: i64, +} +impl ::core::marker::Copy for EventRegistrationToken {} +impl ::core::clone::Clone for EventRegistrationToken { + fn clone(&self) -> Self { + *self + } +} +pub type HSTRING_BUFFER = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub struct HSTRING_HEADER { + pub flags: u32, + pub length: u32, + pub padding1: u32, + pub padding2: u32, + pub data: isize, +} +impl ::core::marker::Copy for HSTRING_HEADER {} +impl ::core::clone::Clone for HSTRING_HEADER { + fn clone(&self) -> Self { + *self + } +} +pub type IAccountsSettingsPaneInterop = *mut ::core::ffi::c_void; +pub type IActivationFactory = *mut ::core::ffi::c_void; +pub type IAgileReference = *mut ::core::ffi::c_void; +pub type IApartmentShutdown = *mut ::core::ffi::c_void; +pub type IAppServiceConnectionExtendedExecution = *mut ::core::ffi::c_void; +pub type IBufferByteAccess = *mut ::core::ffi::c_void; +pub type ICastingController = *mut ::core::ffi::c_void; +pub type ICastingEventHandler = *mut ::core::ffi::c_void; +pub type ICastingSourceInfo = *mut ::core::ffi::c_void; +pub type ICoreInputInterop = *mut ::core::ffi::c_void; +pub type ICoreWindowAdapterInterop = *mut ::core::ffi::c_void; +pub type ICoreWindowComponentInterop = *mut ::core::ffi::c_void; +pub type ICoreWindowInterop = *mut ::core::ffi::c_void; +pub type ICorrelationVectorInformation = *mut ::core::ffi::c_void; +pub type ICorrelationVectorSource = *mut ::core::ffi::c_void; +pub type IDragDropManagerInterop = *mut ::core::ffi::c_void; +pub type IHolographicSpaceInterop = *mut ::core::ffi::c_void; +pub type IInputPaneInterop = *mut ::core::ffi::c_void; +pub type ILanguageExceptionErrorInfo = *mut ::core::ffi::c_void; +pub type ILanguageExceptionErrorInfo2 = *mut ::core::ffi::c_void; +pub type ILanguageExceptionStackBackTrace = *mut ::core::ffi::c_void; +pub type ILanguageExceptionTransform = *mut ::core::ffi::c_void; +pub type IMemoryBufferByteAccess = *mut ::core::ffi::c_void; +pub type IMessageDispatcher = *mut ::core::ffi::c_void; +pub type IPlayToManagerInterop = *mut ::core::ffi::c_void; +pub type IRestrictedErrorInfo = *mut ::core::ffi::c_void; +pub type IRoMetaDataLocator = *mut ::core::ffi::c_void; +pub type IRoSimpleMetaDataBuilder = *mut ::core::ffi::c_void; +pub type IShareWindowCommandEventArgsInterop = *mut ::core::ffi::c_void; +pub type IShareWindowCommandSourceInterop = *mut ::core::ffi::c_void; +pub type ISpatialInteractionManagerInterop = *mut ::core::ffi::c_void; +pub type ISystemMediaTransportControlsInterop = *mut ::core::ffi::c_void; +pub type IUIViewSettingsInterop = *mut ::core::ffi::c_void; +pub type IUserActivityInterop = *mut ::core::ffi::c_void; +pub type IUserActivityRequestManagerInterop = *mut ::core::ffi::c_void; +pub type IUserActivitySourceHostInterop = *mut ::core::ffi::c_void; +pub type IUserConsentVerifierInterop = *mut ::core::ffi::c_void; +pub type IWeakReference = *mut ::core::ffi::c_void; +pub type IWeakReferenceSource = *mut ::core::ffi::c_void; +pub type IWebAuthenticationCoreManagerInterop = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const MAX_ERROR_MESSAGE_CHARS: u32 = 512u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type PINSPECT_HSTRING_CALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type PINSPECT_HSTRING_CALLBACK2 = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type PINSPECT_MEMORY_CALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type ROPARAMIIDHANDLE = isize; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type RO_ERROR_REPORTING_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_ERROR_REPORTING_NONE: RO_ERROR_REPORTING_FLAGS = 0u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS: RO_ERROR_REPORTING_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_ERROR_REPORTING_FORCEEXCEPTIONS: RO_ERROR_REPORTING_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_ERROR_REPORTING_USESETERRORINFO: RO_ERROR_REPORTING_FLAGS = 4u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_ERROR_REPORTING_SUPPRESSSETERRORINFO: RO_ERROR_REPORTING_FLAGS = 8u32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type RO_INIT_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_INIT_SINGLETHREADED: RO_INIT_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const RO_INIT_MULTITHREADED: RO_INIT_TYPE = 1i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub struct ServerInformation { + pub dwServerPid: u32, + pub dwServerTid: u32, + pub ui64ServerAddress: u64, +} +impl ::core::marker::Copy for ServerInformation {} +impl ::core::clone::Clone for ServerInformation { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub type TrustLevel = i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const BaseTrust: TrustLevel = 0i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const PartialTrust: TrustLevel = 1i32; +#[doc = "*Required features: `\"Win32_System_WinRT\"`*"] +pub const FullTrust: TrustLevel = 2i32; +#[repr(C)] +pub struct _RO_REGISTRATION_COOKIE(pub u8); -- cgit v1.2.3