summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs173
1 files changed, 87 insertions, 86 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs
index c0ddbd742..1e9bb941c 100644
--- a/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/mod.rs
@@ -26,16 +26,17 @@ pub mod Printing;
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;
+#[cfg_attr(windows, link(name = "windows"))]
+extern "cdecl" {
#[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;
+}
+#[cfg_attr(windows, 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\"`, `\"System\"`*"]
#[cfg(feature = "System")]
pub fn CreateDispatcherQueueController(options: DispatcherQueueOptions, dispatcherqueuecontroller: *mut super::super::super::System::DispatcherQueueController) -> ::windows_sys::core::HRESULT;
@@ -182,6 +183,54 @@ extern "system" {
#[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;
}
+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 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 const MAX_ERROR_MESSAGE_CHARS: u32 = 512u32;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
pub type ACTIVATIONTYPE = i32;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
@@ -196,7 +245,6 @@ pub const ACTIVATIONTYPE_FROM_STORAGE: ACTIVATIONTYPE = 4i32;
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\"`*"]
@@ -238,12 +286,6 @@ pub const CASTING_CONNECTION_STATE_DISCONNECTING: CASTING_CONNECTION_STATE = 3i3
#[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;
@@ -257,6 +299,33 @@ pub type DISPATCHERQUEUE_THREAD_TYPE = i32;
pub const DQTYPE_THREAD_DEDICATED: DISPATCHERQUEUE_THREAD_TYPE = 1i32;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
pub const DQTYPE_THREAD_CURRENT: DISPATCHERQUEUE_THREAD_TYPE = 2i32;
+#[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;
+#[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;
+pub type APARTMENT_SHUTDOWN_REGISTRATION_COOKIE = isize;
#[repr(C)]
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
pub struct DispatcherQueueOptions {
@@ -297,73 +366,7 @@ impl ::core::clone::Clone for HSTRING_HEADER {
*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<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: usize, length: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT>;
-#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub type PINSPECT_HSTRING_CALLBACK2 = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: u64, length: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT>;
-#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub type PINSPECT_MEMORY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: usize, length: u32, buffer: *mut u8) -> ::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 {
@@ -377,13 +380,11 @@ impl ::core::clone::Clone for ServerInformation {
*self
}
}
+#[repr(C)]
+pub struct _RO_REGISTRATION_COOKIE(pub u8);
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub type TrustLevel = i32;
-#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub const BaseTrust: TrustLevel = 0i32;
+pub type PINSPECT_HSTRING_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: usize, length: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT>;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub const PartialTrust: TrustLevel = 1i32;
+pub type PINSPECT_HSTRING_CALLBACK2 = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: u64, length: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT>;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
-pub const FullTrust: TrustLevel = 2i32;
-#[repr(C)]
-pub struct _RO_REGISTRATION_COOKIE(pub u8);
+pub type PINSPECT_MEMORY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, readaddress: usize, length: u32, buffer: *mut u8) -> ::windows_sys::core::HRESULT>;