1 #[cfg(feature = "Win32_System_WinRT_AllJoyn")]
3 #[cfg(feature = "Win32_System_WinRT_Composition")]
5 #[cfg(feature = "Win32_System_WinRT_CoreInputView")]
7 #[cfg(feature = "Win32_System_WinRT_Direct3D11")]
9 #[cfg(feature = "Win32_System_WinRT_Display")]
11 #[cfg(feature = "Win32_System_WinRT_Graphics")]
13 #[cfg(feature = "Win32_System_WinRT_Holographic")]
15 #[cfg(feature = "Win32_System_WinRT_Isolation")]
17 #[cfg(feature = "Win32_System_WinRT_ML")]
19 #[cfg(feature = "Win32_System_WinRT_Media")]
21 #[cfg(feature = "Win32_System_WinRT_Pdf")]
23 #[cfg(feature = "Win32_System_WinRT_Printing")]
25 #[cfg(feature = "Win32_System_WinRT_Shell")]
27 #[cfg(feature = "Win32_System_WinRT_Storage")]
29 #[cfg_attr(windows, link(name = "windows"))]
31 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
32 pub fn CreateControlInput(riid
: *const ::windows_sys
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
33 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
34 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
;
36 #[cfg_attr(windows, link(name = "windows"))]
38 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
39 pub fn CoDecodeProxy(dwclientpid
: u32, ui64proxyaddress
: u64, pserverinformation
: *mut ServerInformation
) -> ::windows_sys
::core
::HRESULT
;
40 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"System\"`*"]
41 #[cfg(feature = "System")]
42 pub fn CreateDispatcherQueueController(options
: DispatcherQueueOptions
, dispatcherqueuecontroller
: *mut super::super::super::System
::DispatcherQueueController
) -> ::windows_sys
::core
::HRESULT
;
43 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
44 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
;
45 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com\"`*"]
46 #[cfg(feature = "Win32_System_Com")]
47 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
;
48 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
49 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
;
50 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
51 pub fn GetRestrictedErrorInfo(pprestrictederrorinfo
: *mut IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
52 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
53 pub fn HSTRING_UserFree(param0
: *const u32, param1
: *const ::windows_sys
::core
::HSTRING
);
54 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
55 pub fn HSTRING_UserFree64(param0
: *const u32, param1
: *const ::windows_sys
::core
::HSTRING
);
56 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
57 pub fn HSTRING_UserMarshal(param0
: *const u32, param1
: *mut u8, param2
: *const ::windows_sys
::core
::HSTRING
) -> *mut u8;
58 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
59 pub fn HSTRING_UserMarshal64(param0
: *const u32, param1
: *mut u8, param2
: *const ::windows_sys
::core
::HSTRING
) -> *mut u8;
60 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
61 pub fn HSTRING_UserSize(param0
: *const u32, param1
: u32, param2
: *const ::windows_sys
::core
::HSTRING
) -> u32;
62 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
63 pub fn HSTRING_UserSize64(param0
: *const u32, param1
: u32, param2
: *const ::windows_sys
::core
::HSTRING
) -> u32;
64 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
65 pub fn HSTRING_UserUnmarshal(param0
: *const u32, param1
: *const u8, param2
: *mut ::windows_sys
::core
::HSTRING
) -> *mut u8;
66 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
67 pub fn HSTRING_UserUnmarshal64(param0
: *const u32, param1
: *const u8, param2
: *mut ::windows_sys
::core
::HSTRING
) -> *mut u8;
68 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
69 #[cfg(feature = "Win32_Foundation")]
70 pub fn IsErrorPropagationEnabled() -> super::super::Foundation
::BOOL
;
71 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
72 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
;
73 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
74 pub fn RoActivateInstance(activatableclassid
: ::windows_sys
::core
::HSTRING
, instance
: *mut ::windows_sys
::core
::IInspectable
) -> ::windows_sys
::core
::HRESULT
;
75 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
76 pub fn RoCaptureErrorContext(hr
: ::windows_sys
::core
::HRESULT
) -> ::windows_sys
::core
::HRESULT
;
77 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
78 pub fn RoClearError();
79 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
80 pub fn RoFailFastWithErrorContext(hrerror
: ::windows_sys
::core
::HRESULT
);
81 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
82 pub fn RoFreeParameterizedTypeExtra(extra
: ROPARAMIIDHANDLE
);
83 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
84 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
;
85 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
86 pub fn RoGetAgileReference(options
: AgileReferenceOptions
, riid
: *const ::windows_sys
::core
::GUID
, punk
: ::windows_sys
::core
::IUnknown
, ppagilereference
: *mut IAgileReference
) -> ::windows_sys
::core
::HRESULT
;
87 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
88 pub fn RoGetApartmentIdentifier(apartmentidentifier
: *mut u64) -> ::windows_sys
::core
::HRESULT
;
89 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com_Marshal\"`*"]
90 #[cfg(feature = "Win32_System_Com_Marshal")]
91 pub fn RoGetBufferMarshaler(buffermarshaler
: *mut super::Com
::Marshal
::IMarshal
) -> ::windows_sys
::core
::HRESULT
;
92 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
93 pub fn RoGetErrorReportingFlags(pflags
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
94 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
95 pub fn RoGetMatchingRestrictedErrorInfo(hrin
: ::windows_sys
::core
::HRESULT
, pprestrictederrorinfo
: *mut IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
96 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
97 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
;
98 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
99 pub fn RoGetServerActivatableClasses(servername
: ::windows_sys
::core
::HSTRING
, activatableclassids
: *mut *mut ::windows_sys
::core
::HSTRING
, count
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
100 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
101 pub fn RoInitialize(inittype
: RO_INIT_TYPE
) -> ::windows_sys
::core
::HRESULT
;
102 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
103 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
;
104 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
105 pub fn RoInspectThreadErrorInfo(targettebaddress
: usize, machine
: u16, readmemorycallback
: PINSPECT_MEMORY_CALLBACK
, context
: *const ::core
::ffi
::c_void
, targeterrorinfoaddress
: *mut usize) -> ::windows_sys
::core
::HRESULT
;
106 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
107 #[cfg(feature = "Win32_Foundation")]
108 pub fn RoOriginateError(error
: ::windows_sys
::core
::HRESULT
, message
: ::windows_sys
::core
::HSTRING
) -> super::super::Foundation
::BOOL
;
109 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
110 #[cfg(feature = "Win32_Foundation")]
111 pub fn RoOriginateErrorW(error
: ::windows_sys
::core
::HRESULT
, cchmax
: u32, message
: ::windows_sys
::core
::PCWSTR
) -> super::super::Foundation
::BOOL
;
112 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
113 #[cfg(feature = "Win32_Foundation")]
114 pub fn RoOriginateLanguageException(error
: ::windows_sys
::core
::HRESULT
, message
: ::windows_sys
::core
::HSTRING
, languageexception
: ::windows_sys
::core
::IUnknown
) -> super::super::Foundation
::BOOL
;
115 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
116 pub fn RoParameterizedTypeExtraGetTypeSignature(extra
: ROPARAMIIDHANDLE
) -> ::windows_sys
::core
::PSTR
;
117 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
118 pub fn RoRegisterActivationFactories(activatableclassids
: *const ::windows_sys
::core
::HSTRING
, activationfactorycallbacks
: *const isize, count
: u32, cookie
: *mut isize) -> ::windows_sys
::core
::HRESULT
;
119 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
120 pub fn RoRegisterForApartmentShutdown(callbackobject
: IApartmentShutdown
, apartmentidentifier
: *mut u64, regcookie
: *mut APARTMENT_SHUTDOWN_REGISTRATION_COOKIE
) -> ::windows_sys
::core
::HRESULT
;
121 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
122 pub fn RoReportFailedDelegate(punkdelegate
: ::windows_sys
::core
::IUnknown
, prestrictederrorinfo
: IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
123 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
124 pub fn RoReportUnhandledError(prestrictederrorinfo
: IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
125 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
126 pub fn RoResolveRestrictedErrorInfoReference(reference
: ::windows_sys
::core
::PCWSTR
, pprestrictederrorinfo
: *mut IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
127 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
128 pub fn RoRevokeActivationFactories(cookie
: isize);
129 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
130 pub fn RoSetErrorReportingFlags(flags
: u32) -> ::windows_sys
::core
::HRESULT
;
131 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
132 #[cfg(feature = "Win32_Foundation")]
133 pub fn RoTransformError(olderror
: ::windows_sys
::core
::HRESULT
, newerror
: ::windows_sys
::core
::HRESULT
, message
: ::windows_sys
::core
::HSTRING
) -> super::super::Foundation
::BOOL
;
134 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
135 #[cfg(feature = "Win32_Foundation")]
136 pub fn RoTransformErrorW(olderror
: ::windows_sys
::core
::HRESULT
, newerror
: ::windows_sys
::core
::HRESULT
, cchmax
: u32, message
: ::windows_sys
::core
::PCWSTR
) -> super::super::Foundation
::BOOL
;
137 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
138 pub fn RoUninitialize();
139 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
140 pub fn RoUnregisterForApartmentShutdown(regcookie
: APARTMENT_SHUTDOWN_REGISTRATION_COOKIE
) -> ::windows_sys
::core
::HRESULT
;
141 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
142 pub fn SetRestrictedErrorInfo(prestrictederrorinfo
: IRestrictedErrorInfo
) -> ::windows_sys
::core
::HRESULT
;
143 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
144 pub fn WindowsCompareStringOrdinal(string1
: ::windows_sys
::core
::HSTRING
, string2
: ::windows_sys
::core
::HSTRING
, result
: *mut i32) -> ::windows_sys
::core
::HRESULT
;
145 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
146 pub fn WindowsConcatString(string1
: ::windows_sys
::core
::HSTRING
, string2
: ::windows_sys
::core
::HSTRING
, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
147 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
148 pub fn WindowsCreateString(sourcestring
: ::windows_sys
::core
::PCWSTR
, length
: u32, string
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
149 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
150 pub fn WindowsCreateStringReference(sourcestring
: ::windows_sys
::core
::PCWSTR
, length
: u32, hstringheader
: *mut HSTRING_HEADER
, string
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
151 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
152 pub fn WindowsDeleteString(string
: ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
153 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
154 pub fn WindowsDeleteStringBuffer(bufferhandle
: HSTRING_BUFFER
) -> ::windows_sys
::core
::HRESULT
;
155 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
156 pub fn WindowsDuplicateString(string
: ::windows_sys
::core
::HSTRING
, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
157 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
158 pub fn WindowsGetStringLen(string
: ::windows_sys
::core
::HSTRING
) -> u32;
159 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
160 pub fn WindowsGetStringRawBuffer(string
: ::windows_sys
::core
::HSTRING
, length
: *mut u32) -> ::windows_sys
::core
::PWSTR
;
161 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
162 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
;
163 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
164 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
;
165 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
166 #[cfg(feature = "Win32_Foundation")]
167 pub fn WindowsIsStringEmpty(string
: ::windows_sys
::core
::HSTRING
) -> super::super::Foundation
::BOOL
;
168 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
169 pub fn WindowsPreallocateStringBuffer(length
: u32, charbuffer
: *mut *mut u16, bufferhandle
: *mut HSTRING_BUFFER
) -> ::windows_sys
::core
::HRESULT
;
170 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
171 pub fn WindowsPromoteStringBuffer(bufferhandle
: HSTRING_BUFFER
, string
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
172 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
173 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
;
174 #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"]
175 #[cfg(feature = "Win32_Foundation")]
176 pub fn WindowsStringHasEmbeddedNull(string
: ::windows_sys
::core
::HSTRING
, hasembednull
: *mut super::super::Foundation
::BOOL
) -> ::windows_sys
::core
::HRESULT
;
177 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
178 pub fn WindowsSubstring(string
: ::windows_sys
::core
::HSTRING
, startindex
: u32, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
179 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
180 pub fn WindowsSubstringWithSpecifiedLength(string
: ::windows_sys
::core
::HSTRING
, startindex
: u32, length
: u32, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
181 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
182 pub fn WindowsTrimStringEnd(string
: ::windows_sys
::core
::HSTRING
, trimstring
: ::windows_sys
::core
::HSTRING
, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
183 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
184 pub fn WindowsTrimStringStart(string
: ::windows_sys
::core
::HSTRING
, trimstring
: ::windows_sys
::core
::HSTRING
, newstring
: *mut ::windows_sys
::core
::HSTRING
) -> ::windows_sys
::core
::HRESULT
;
186 pub type IAccountsSettingsPaneInterop
= *mut ::core
::ffi
::c_void
;
187 pub type IActivationFactory
= *mut ::core
::ffi
::c_void
;
188 pub type IAgileReference
= *mut ::core
::ffi
::c_void
;
189 pub type IApartmentShutdown
= *mut ::core
::ffi
::c_void
;
190 pub type IAppServiceConnectionExtendedExecution
= *mut ::core
::ffi
::c_void
;
191 pub type IBufferByteAccess
= *mut ::core
::ffi
::c_void
;
192 pub type ICastingController
= *mut ::core
::ffi
::c_void
;
193 pub type ICastingEventHandler
= *mut ::core
::ffi
::c_void
;
194 pub type ICastingSourceInfo
= *mut ::core
::ffi
::c_void
;
195 pub type ICoreInputInterop
= *mut ::core
::ffi
::c_void
;
196 pub type ICoreWindowAdapterInterop
= *mut ::core
::ffi
::c_void
;
197 pub type ICoreWindowComponentInterop
= *mut ::core
::ffi
::c_void
;
198 pub type ICoreWindowInterop
= *mut ::core
::ffi
::c_void
;
199 pub type ICorrelationVectorInformation
= *mut ::core
::ffi
::c_void
;
200 pub type ICorrelationVectorSource
= *mut ::core
::ffi
::c_void
;
201 pub type IDragDropManagerInterop
= *mut ::core
::ffi
::c_void
;
202 pub type IHolographicSpaceInterop
= *mut ::core
::ffi
::c_void
;
203 pub type IInputPaneInterop
= *mut ::core
::ffi
::c_void
;
204 pub type ILanguageExceptionErrorInfo
= *mut ::core
::ffi
::c_void
;
205 pub type ILanguageExceptionErrorInfo2
= *mut ::core
::ffi
::c_void
;
206 pub type ILanguageExceptionStackBackTrace
= *mut ::core
::ffi
::c_void
;
207 pub type ILanguageExceptionTransform
= *mut ::core
::ffi
::c_void
;
208 pub type IMemoryBufferByteAccess
= *mut ::core
::ffi
::c_void
;
209 pub type IMessageDispatcher
= *mut ::core
::ffi
::c_void
;
210 pub type IPlayToManagerInterop
= *mut ::core
::ffi
::c_void
;
211 pub type IRestrictedErrorInfo
= *mut ::core
::ffi
::c_void
;
212 pub type IRoMetaDataLocator
= *mut ::core
::ffi
::c_void
;
213 pub type IRoSimpleMetaDataBuilder
= *mut ::core
::ffi
::c_void
;
214 pub type IShareWindowCommandEventArgsInterop
= *mut ::core
::ffi
::c_void
;
215 pub type IShareWindowCommandSourceInterop
= *mut ::core
::ffi
::c_void
;
216 pub type ISpatialInteractionManagerInterop
= *mut ::core
::ffi
::c_void
;
217 pub type ISystemMediaTransportControlsInterop
= *mut ::core
::ffi
::c_void
;
218 pub type IUIViewSettingsInterop
= *mut ::core
::ffi
::c_void
;
219 pub type IUserActivityInterop
= *mut ::core
::ffi
::c_void
;
220 pub type IUserActivityRequestManagerInterop
= *mut ::core
::ffi
::c_void
;
221 pub type IUserActivitySourceHostInterop
= *mut ::core
::ffi
::c_void
;
222 pub type IUserConsentVerifierInterop
= *mut ::core
::ffi
::c_void
;
223 pub type IWeakReference
= *mut ::core
::ffi
::c_void
;
224 pub type IWeakReferenceSource
= *mut ::core
::ffi
::c_void
;
225 pub type IWebAuthenticationCoreManagerInterop
= *mut ::core
::ffi
::c_void
;
226 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
227 pub const CastingSourceInfo_Property_CastingTypes
: &str = "CastingTypes";
228 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
229 pub const CastingSourceInfo_Property_PreferredSourceUriScheme
: &str = "PreferredSourceUriScheme";
230 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
231 pub const CastingSourceInfo_Property_ProtectedMedia
: &str = "ProtectedMedia";
232 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
233 pub const MAX_ERROR_MESSAGE_CHARS
: u32 = 512u32;
234 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
235 pub type ACTIVATIONTYPE
= i32;
236 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
237 pub const ACTIVATIONTYPE_UNCATEGORIZED
: ACTIVATIONTYPE
= 0i32;
238 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
239 pub const ACTIVATIONTYPE_FROM_MONIKER
: ACTIVATIONTYPE
= 1i32;
240 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
241 pub const ACTIVATIONTYPE_FROM_DATA
: ACTIVATIONTYPE
= 2i32;
242 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
243 pub const ACTIVATIONTYPE_FROM_STORAGE
: ACTIVATIONTYPE
= 4i32;
244 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
245 pub const ACTIVATIONTYPE_FROM_STREAM
: ACTIVATIONTYPE
= 8i32;
246 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
247 pub const ACTIVATIONTYPE_FROM_FILE
: ACTIVATIONTYPE
= 16i32;
248 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
249 pub type AgileReferenceOptions
= i32;
250 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
251 pub const AGILEREFERENCE_DEFAULT
: AgileReferenceOptions
= 0i32;
252 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
253 pub const AGILEREFERENCE_DELAYEDMARSHAL
: AgileReferenceOptions
= 1i32;
254 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
255 pub type BSOS_OPTIONS
= i32;
256 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
257 pub const BSOS_DEFAULT
: BSOS_OPTIONS
= 0i32;
258 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
259 pub const BSOS_PREFERDESTINATIONSTREAM
: BSOS_OPTIONS
= 1i32;
260 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
261 pub type CASTING_CONNECTION_ERROR_STATUS
= i32;
262 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
263 pub const CASTING_CONNECTION_ERROR_STATUS_SUCCEEDED
: CASTING_CONNECTION_ERROR_STATUS
= 0i32;
264 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
265 pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_DID_NOT_RESPOND
: CASTING_CONNECTION_ERROR_STATUS
= 1i32;
266 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
267 pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_ERROR
: CASTING_CONNECTION_ERROR_STATUS
= 2i32;
268 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
269 pub const CASTING_CONNECTION_ERROR_STATUS_DEVICE_LOCKED
: CASTING_CONNECTION_ERROR_STATUS
= 3i32;
270 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
271 pub const CASTING_CONNECTION_ERROR_STATUS_PROTECTED_PLAYBACK_FAILED
: CASTING_CONNECTION_ERROR_STATUS
= 4i32;
272 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
273 pub const CASTING_CONNECTION_ERROR_STATUS_INVALID_CASTING_SOURCE
: CASTING_CONNECTION_ERROR_STATUS
= 5i32;
274 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
275 pub const CASTING_CONNECTION_ERROR_STATUS_UNKNOWN
: CASTING_CONNECTION_ERROR_STATUS
= 6i32;
276 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
277 pub type CASTING_CONNECTION_STATE
= i32;
278 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
279 pub const CASTING_CONNECTION_STATE_DISCONNECTED
: CASTING_CONNECTION_STATE
= 0i32;
280 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
281 pub const CASTING_CONNECTION_STATE_CONNECTED
: CASTING_CONNECTION_STATE
= 1i32;
282 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
283 pub const CASTING_CONNECTION_STATE_RENDERING
: CASTING_CONNECTION_STATE
= 2i32;
284 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
285 pub const CASTING_CONNECTION_STATE_DISCONNECTING
: CASTING_CONNECTION_STATE
= 3i32;
286 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
287 pub const CASTING_CONNECTION_STATE_CONNECTING
: CASTING_CONNECTION_STATE
= 4i32;
288 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
289 pub type DISPATCHERQUEUE_THREAD_APARTMENTTYPE
= i32;
290 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
291 pub const DQTAT_COM_NONE
: DISPATCHERQUEUE_THREAD_APARTMENTTYPE
= 0i32;
292 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
293 pub const DQTAT_COM_ASTA
: DISPATCHERQUEUE_THREAD_APARTMENTTYPE
= 1i32;
294 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
295 pub const DQTAT_COM_STA
: DISPATCHERQUEUE_THREAD_APARTMENTTYPE
= 2i32;
296 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
297 pub type DISPATCHERQUEUE_THREAD_TYPE
= i32;
298 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
299 pub const DQTYPE_THREAD_DEDICATED
: DISPATCHERQUEUE_THREAD_TYPE
= 1i32;
300 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
301 pub const DQTYPE_THREAD_CURRENT
: DISPATCHERQUEUE_THREAD_TYPE
= 2i32;
302 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
303 pub type RO_ERROR_REPORTING_FLAGS
= u32;
304 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
305 pub const RO_ERROR_REPORTING_NONE
: RO_ERROR_REPORTING_FLAGS
= 0u32;
306 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
307 pub const RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS
: RO_ERROR_REPORTING_FLAGS
= 1u32;
308 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
309 pub const RO_ERROR_REPORTING_FORCEEXCEPTIONS
: RO_ERROR_REPORTING_FLAGS
= 2u32;
310 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
311 pub const RO_ERROR_REPORTING_USESETERRORINFO
: RO_ERROR_REPORTING_FLAGS
= 4u32;
312 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
313 pub const RO_ERROR_REPORTING_SUPPRESSSETERRORINFO
: RO_ERROR_REPORTING_FLAGS
= 8u32;
314 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
315 pub type RO_INIT_TYPE
= i32;
316 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
317 pub const RO_INIT_SINGLETHREADED
: RO_INIT_TYPE
= 0i32;
318 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
319 pub const RO_INIT_MULTITHREADED
: RO_INIT_TYPE
= 1i32;
320 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
321 pub type TrustLevel
= i32;
322 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
323 pub const BaseTrust
: TrustLevel
= 0i32;
324 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
325 pub const PartialTrust
: TrustLevel
= 1i32;
326 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
327 pub const FullTrust
: TrustLevel
= 2i32;
328 pub type APARTMENT_SHUTDOWN_REGISTRATION_COOKIE
= isize;
330 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
331 pub struct DispatcherQueueOptions
{
333 pub threadType
: DISPATCHERQUEUE_THREAD_TYPE
,
334 pub apartmentType
: DISPATCHERQUEUE_THREAD_APARTMENTTYPE
,
336 impl ::core
::marker
::Copy
for DispatcherQueueOptions {}
337 impl ::core
::clone
::Clone
for DispatcherQueueOptions
{
338 fn clone(&self) -> Self {
343 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
344 pub struct EventRegistrationToken
{
347 impl ::core
::marker
::Copy
for EventRegistrationToken {}
348 impl ::core
::clone
::Clone
for EventRegistrationToken
{
349 fn clone(&self) -> Self {
353 pub type HSTRING_BUFFER
= isize;
355 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
356 pub struct HSTRING_HEADER
{
363 impl ::core
::marker
::Copy
for HSTRING_HEADER {}
364 impl ::core
::clone
::Clone
for HSTRING_HEADER
{
365 fn clone(&self) -> Self {
369 pub type ROPARAMIIDHANDLE
= isize;
371 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
372 pub struct ServerInformation
{
373 pub dwServerPid
: u32,
374 pub dwServerTid
: u32,
375 pub ui64ServerAddress
: u64,
377 impl ::core
::marker
::Copy
for ServerInformation {}
378 impl ::core
::clone
::Clone
for ServerInformation
{
379 fn clone(&self) -> Self {
384 pub struct _RO_REGISTRATION_COOKIE(pub u8);
385 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
386 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
>;
387 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
388 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
>;
389 #[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
390 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
>;