]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/System/Com/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / System / Com / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[cfg(feature = "Win32_System_Com_CallObj")]
3pub mod CallObj;
4#[cfg(feature = "Win32_System_Com_ChannelCredentials")]
5pub mod ChannelCredentials;
6#[cfg(feature = "Win32_System_Com_Events")]
7pub mod Events;
8#[cfg(feature = "Win32_System_Com_Marshal")]
9pub mod Marshal;
10#[cfg(feature = "Win32_System_Com_StructuredStorage")]
11pub mod StructuredStorage;
12#[cfg(feature = "Win32_System_Com_UI")]
13pub mod UI;
14#[cfg(feature = "Win32_System_Com_Urlmon")]
15pub mod Urlmon;
16#[link(name = "windows")]
17extern "system" {
04454e1e 18 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 19 pub fn BindMoniker(pmk: IMoniker, grfopt: u32, iidresult: *const ::windows_sys::core::GUID, ppvresult: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e
FG
20 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
21 pub fn CLSIDFromProgID(lpszprogid: ::windows_sys::core::PCWSTR, lpclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
22 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
23 pub fn CLSIDFromProgIDEx(lpszprogid: ::windows_sys::core::PCWSTR, lpclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
24 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
25 pub fn CLSIDFromString(lpsz: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
26 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 27 pub fn CoAddRefServerProcess() -> u32;
04454e1e 28 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 29 pub fn CoAllowSetForegroundWindow(punk: ::windows_sys::core::IUnknown, lpvreserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 30 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 31 pub fn CoAllowUnmarshalerCLSID(clsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 32 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 33 pub fn CoBuildVersion() -> u32;
04454e1e 34 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 35 pub fn CoCancelCall(dwthreadid: u32, ultimeout: u32) -> ::windows_sys::core::HRESULT;
04454e1e 36 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 37 pub fn CoCopyProxy(pproxy: ::windows_sys::core::IUnknown, ppcopy: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
04454e1e 38 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 39 pub fn CoCreateFreeThreadedMarshaler(punkouter: ::windows_sys::core::IUnknown, ppunkmarshal: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
04454e1e 40 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 41 pub fn CoCreateGuid(pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 42 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 43 pub fn CoCreateInstance(rclsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclscontext: CLSCTX, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 44 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 45 pub fn CoCreateInstanceEx(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: CLSCTX, pserverinfo: *const COSERVERINFO, dwcount: u32, presults: *mut MULTI_QI) -> ::windows_sys::core::HRESULT;
04454e1e 46 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 47 pub fn CoCreateInstanceFromApp(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, dwclsctx: CLSCTX, reserved: *const ::core::ffi::c_void, dwcount: u32, presults: *mut MULTI_QI) -> ::windows_sys::core::HRESULT;
04454e1e 48 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 49 pub fn CoDecrementMTAUsage(cookie: CO_MTA_USAGE_COOKIE) -> ::windows_sys::core::HRESULT;
04454e1e 50 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 51 pub fn CoDisableCallCancellation(preserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 52 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 53 pub fn CoDisconnectContext(dwtimeout: u32) -> ::windows_sys::core::HRESULT;
04454e1e 54 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 55 pub fn CoDisconnectObject(punk: ::windows_sys::core::IUnknown, dwreserved: u32) -> ::windows_sys::core::HRESULT;
04454e1e 56 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
57 #[cfg(feature = "Win32_Foundation")]
58 pub fn CoDosDateTimeToFileTime(ndosdate: u16, ndostime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL;
04454e1e 59 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 60 pub fn CoEnableCallCancellation(preserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 61 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
62 #[cfg(feature = "Win32_Foundation")]
63 pub fn CoFileTimeNow(lpfiletime: *mut super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT;
04454e1e 64 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
65 #[cfg(feature = "Win32_Foundation")]
66 pub fn CoFileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpdosdate: *mut u16, lpdostime: *mut u16) -> super::super::Foundation::BOOL;
04454e1e 67 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 68 pub fn CoFreeAllLibraries();
04454e1e 69 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
70 #[cfg(feature = "Win32_Foundation")]
71 pub fn CoFreeLibrary(hinst: super::super::Foundation::HINSTANCE);
04454e1e 72 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 73 pub fn CoFreeUnusedLibraries();
04454e1e 74 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 75 pub fn CoFreeUnusedLibrariesEx(dwunloaddelay: u32, dwreserved: u32);
04454e1e 76 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 77 pub fn CoGetApartmentType(papttype: *mut APTTYPE, paptqualifier: *mut APTTYPEQUALIFIER) -> ::windows_sys::core::HRESULT;
04454e1e 78 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 79 pub fn CoGetCallContext(riid: *const ::windows_sys::core::GUID, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 80 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 81 pub fn CoGetCallerTID(lpdwtid: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 82 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 83 pub fn CoGetCancelObject(dwthreadid: u32, iid: *const ::windows_sys::core::GUID, ppunk: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 84 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 85 pub fn CoGetClassObject(rclsid: *const ::windows_sys::core::GUID, dwclscontext: CLSCTX, pvreserved: *const ::core::ffi::c_void, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 86 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 87 pub fn CoGetContextToken(ptoken: *mut usize) -> ::windows_sys::core::HRESULT;
04454e1e 88 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 89 pub fn CoGetCurrentLogicalThreadId(pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 90 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 91 pub fn CoGetCurrentProcess() -> u32;
04454e1e 92 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 93 pub fn CoGetMalloc(dwmemcontext: u32, ppmalloc: *mut IMalloc) -> ::windows_sys::core::HRESULT;
04454e1e
FG
94 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
95 pub fn CoGetObject(pszname: ::windows_sys::core::PCWSTR, pbindoptions: *const BIND_OPTS, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
96 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 97 pub fn CoGetObjectContext(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 98 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 99 pub fn CoGetPSClsid(riid: *const ::windows_sys::core::GUID, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 100 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
5e7ed085
FG
101 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
102 pub fn CoGetSystemSecurityPermissions(comsdtype: COMSD, ppsd: *mut *mut super::super::Security::SECURITY_DESCRIPTOR) -> ::windows_sys::core::HRESULT;
04454e1e 103 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 104 pub fn CoGetTreatAsClass(clsidold: *const ::windows_sys::core::GUID, pclsidnew: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 105 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 106 pub fn CoImpersonateClient() -> ::windows_sys::core::HRESULT;
04454e1e 107 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 108 pub fn CoIncrementMTAUsage(pcookie: *mut CO_MTA_USAGE_COOKIE) -> ::windows_sys::core::HRESULT;
04454e1e 109 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 110 pub fn CoInitialize(pvreserved: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 111 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 112 pub fn CoInitializeEx(pvreserved: *const ::core::ffi::c_void, dwcoinit: COINIT) -> ::windows_sys::core::HRESULT;
04454e1e 113 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
5e7ed085
FG
114 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
115 pub fn CoInitializeSecurity(psecdesc: *const super::super::Security::SECURITY_DESCRIPTOR, cauthsvc: i32, asauthsvc: *const SOLE_AUTHENTICATION_SERVICE, preserved1: *const ::core::ffi::c_void, dwauthnlevel: RPC_C_AUTHN_LEVEL, dwimplevel: RPC_C_IMP_LEVEL, pauthlist: *const ::core::ffi::c_void, dwcapabilities: EOLE_AUTHENTICATION_CAPABILITIES, preserved3: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e
FG
116 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
117 pub fn CoInstall(pbc: IBindCtx, dwflags: u32, pclassspec: *const uCLSSPEC, pquery: *const QUERYCONTEXT, pszcodebase: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
118 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
119 pub fn CoInvalidateRemoteMachineBindings(pszmachinename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
120 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
121 #[cfg(feature = "Win32_Foundation")]
122 pub fn CoIsHandlerConnected(punk: ::windows_sys::core::IUnknown) -> super::super::Foundation::BOOL;
04454e1e 123 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
124 #[cfg(feature = "Win32_Foundation")]
125 pub fn CoIsOle1Class(rclsid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL;
04454e1e 126 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085 127 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
128 pub fn CoLoadLibrary(lpszlibname: ::windows_sys::core::PCWSTR, bautofree: super::super::Foundation::BOOL) -> super::super::Foundation::HINSTANCE;
129 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
130 #[cfg(feature = "Win32_Foundation")]
131 pub fn CoLockObjectExternal(punk: ::windows_sys::core::IUnknown, flock: super::super::Foundation::BOOL, flastunlockreleases: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
04454e1e 132 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 133 pub fn CoQueryAuthenticationServices(pcauthsvc: *mut u32, asauthsvc: *mut *mut SOLE_AUTHENTICATION_SERVICE) -> ::windows_sys::core::HRESULT;
04454e1e
FG
134 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
135 pub fn CoQueryClientBlanket(pauthnsvc: *mut u32, pauthzsvc: *mut u32, pserverprincname: *mut ::windows_sys::core::PWSTR, pauthnlevel: *mut u32, pimplevel: *mut u32, pprivs: *mut *mut ::core::ffi::c_void, pcapabilities: *mut u32) -> ::windows_sys::core::HRESULT;
136 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
137 pub fn CoQueryProxyBlanket(pproxy: ::windows_sys::core::IUnknown, pwauthnsvc: *mut u32, pauthzsvc: *mut u32, pserverprincname: *mut ::windows_sys::core::PWSTR, pauthnlevel: *mut u32, pimplevel: *mut u32, pauthinfo: *mut *mut ::core::ffi::c_void, pcapabilites: *mut u32) -> ::windows_sys::core::HRESULT;
138 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 139 pub fn CoRegisterActivationFilter(pactivationfilter: IActivationFilter) -> ::windows_sys::core::HRESULT;
04454e1e 140 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 141 pub fn CoRegisterChannelHook(extensionuuid: *const ::windows_sys::core::GUID, pchannelhook: IChannelHook) -> ::windows_sys::core::HRESULT;
04454e1e 142 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 143 pub fn CoRegisterClassObject(rclsid: *const ::windows_sys::core::GUID, punk: ::windows_sys::core::IUnknown, dwclscontext: CLSCTX, flags: u32, lpdwregister: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e
FG
144 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
145 pub fn CoRegisterDeviceCatalog(deviceinstanceid: ::windows_sys::core::PCWSTR, cookie: *mut CO_DEVICE_CATALOG_COOKIE) -> ::windows_sys::core::HRESULT;
146 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 147 pub fn CoRegisterInitializeSpy(pspy: IInitializeSpy, pulicookie: *mut u64) -> ::windows_sys::core::HRESULT;
04454e1e 148 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 149 pub fn CoRegisterMallocSpy(pmallocspy: IMallocSpy) -> ::windows_sys::core::HRESULT;
04454e1e 150 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 151 pub fn CoRegisterPSClsid(riid: *const ::windows_sys::core::GUID, rclsid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 152 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 153 pub fn CoRegisterSurrogate(psurrogate: ISurrogate) -> ::windows_sys::core::HRESULT;
04454e1e 154 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 155 pub fn CoReleaseServerProcess() -> u32;
04454e1e 156 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 157 pub fn CoResumeClassObjects() -> ::windows_sys::core::HRESULT;
04454e1e 158 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 159 pub fn CoRevertToSelf() -> ::windows_sys::core::HRESULT;
04454e1e 160 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 161 pub fn CoRevokeClassObject(dwregister: u32) -> ::windows_sys::core::HRESULT;
04454e1e 162 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 163 pub fn CoRevokeDeviceCatalog(cookie: CO_DEVICE_CATALOG_COOKIE) -> ::windows_sys::core::HRESULT;
04454e1e 164 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 165 pub fn CoRevokeInitializeSpy(ulicookie: u64) -> ::windows_sys::core::HRESULT;
04454e1e 166 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 167 pub fn CoRevokeMallocSpy() -> ::windows_sys::core::HRESULT;
04454e1e 168 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 169 pub fn CoSetCancelObject(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
04454e1e
FG
170 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
171 pub fn CoSetProxyBlanket(pproxy: ::windows_sys::core::IUnknown, dwauthnsvc: u32, dwauthzsvc: u32, pserverprincname: ::windows_sys::core::PCWSTR, dwauthnlevel: RPC_C_AUTHN_LEVEL, dwimplevel: RPC_C_IMP_LEVEL, pauthinfo: *const ::core::ffi::c_void, dwcapabilities: EOLE_AUTHENTICATION_CAPABILITIES) -> ::windows_sys::core::HRESULT;
172 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 173 pub fn CoSuspendClassObjects() -> ::windows_sys::core::HRESULT;
04454e1e 174 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 175 pub fn CoSwitchCallContext(pnewobject: ::windows_sys::core::IUnknown, ppoldobject: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
04454e1e 176 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 177 pub fn CoTaskMemAlloc(cb: usize) -> *mut ::core::ffi::c_void;
04454e1e 178 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 179 pub fn CoTaskMemFree(pv: *const ::core::ffi::c_void);
04454e1e 180 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 181 pub fn CoTaskMemRealloc(pv: *const ::core::ffi::c_void, cb: usize) -> *mut ::core::ffi::c_void;
04454e1e 182 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 183 pub fn CoTestCancel() -> ::windows_sys::core::HRESULT;
04454e1e 184 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 185 pub fn CoTreatAsClass(clsidold: *const ::windows_sys::core::GUID, clsidnew: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 186 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 187 pub fn CoUninitialize();
04454e1e 188 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
189 #[cfg(feature = "Win32_Foundation")]
190 pub fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 191 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
192 #[cfg(feature = "Win32_Foundation")]
193 pub fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 194 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 195 pub fn CreateAntiMoniker(ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 196 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 197 pub fn CreateBindCtx(reserved: u32, ppbc: *mut IBindCtx) -> ::windows_sys::core::HRESULT;
04454e1e 198 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 199 pub fn CreateClassMoniker(rclsid: *const ::windows_sys::core::GUID, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 200 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 201 pub fn CreateDataAdviseHolder(ppdaholder: *mut IDataAdviseHolder) -> ::windows_sys::core::HRESULT;
04454e1e 202 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 203 pub fn CreateDataCache(punkouter: ::windows_sys::core::IUnknown, rclsid: *const ::windows_sys::core::GUID, iid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e
FG
204 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
205 pub fn CreateFileMoniker(lpszpathname: ::windows_sys::core::PCWSTR, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
206 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 207 pub fn CreateGenericComposite(pmkfirst: IMoniker, pmkrest: IMoniker, ppmkcomposite: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 208 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 209 pub fn CreateIUriBuilder(piuri: IUri, dwflags: u32, dwreserved: usize, ppiuribuilder: *mut IUriBuilder) -> ::windows_sys::core::HRESULT;
04454e1e
FG
210 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
211 pub fn CreateItemMoniker(lpszdelim: ::windows_sys::core::PCWSTR, lpszitem: ::windows_sys::core::PCWSTR, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
212 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 213 pub fn CreateObjrefMoniker(punk: ::windows_sys::core::IUnknown, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 214 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 215 pub fn CreatePointerMoniker(punk: ::windows_sys::core::IUnknown, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 216 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085 217 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
218 pub fn CreateStdProgressIndicator(hwndparent: super::super::Foundation::HWND, psztitle: ::windows_sys::core::PCWSTR, pibsccaller: IBindStatusCallback, ppibsc: *mut IBindStatusCallback) -> ::windows_sys::core::HRESULT;
219 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
220 pub fn CreateUri(pwzuri: ::windows_sys::core::PCWSTR, dwflags: URI_CREATE_FLAGS, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT;
221 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
222 pub fn CreateUriFromMultiByteString(pszansiinputuri: ::windows_sys::core::PCSTR, dwencodingflags: u32, dwcodepage: u32, dwcreateflags: u32, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT;
223 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
224 pub fn CreateUriWithFragment(pwzuri: ::windows_sys::core::PCWSTR, pwzfragment: ::windows_sys::core::PCWSTR, dwflags: u32, dwreserved: usize, ppuri: *mut IUri) -> ::windows_sys::core::HRESULT;
225 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 226 pub fn DcomChannelSetHResult(pvreserved: *const ::core::ffi::c_void, pulreserved: *const u32, appshr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT;
04454e1e
FG
227 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
228 pub fn GetClassFile(szfilename: ::windows_sys::core::PCWSTR, pclsid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
229 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 230 pub fn GetErrorInfo(dwreserved: u32, pperrinfo: *mut IErrorInfo) -> ::windows_sys::core::HRESULT;
04454e1e 231 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 232 pub fn GetRunningObjectTable(reserved: u32, pprot: *mut IRunningObjectTable) -> ::windows_sys::core::HRESULT;
04454e1e
FG
233 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
234 pub fn IIDFromString(lpsz: ::windows_sys::core::PCWSTR, lpiid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
235 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
236 pub fn MkParseDisplayName(pbc: IBindCtx, szusername: ::windows_sys::core::PCWSTR, pcheaten: *mut u32, ppmk: *mut IMoniker) -> ::windows_sys::core::HRESULT;
237 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 238 pub fn MonikerCommonPrefixWith(pmkthis: IMoniker, pmkother: IMoniker, ppmkcommon: *mut IMoniker) -> ::windows_sys::core::HRESULT;
04454e1e 239 #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
240 #[cfg(feature = "Win32_Foundation")]
241 pub fn MonikerRelativePathTo(pmksrc: IMoniker, pmkdest: IMoniker, ppmkrelpath: *mut IMoniker, dwreserved: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
04454e1e
FG
242 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
243 pub fn ProgIDFromCLSID(clsid: *const ::windows_sys::core::GUID, lplpszprogid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
244 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 245 pub fn SetErrorInfo(dwreserved: u32, perrinfo: IErrorInfo) -> ::windows_sys::core::HRESULT;
04454e1e
FG
246 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
247 pub fn StringFromCLSID(rclsid: *const ::windows_sys::core::GUID, lplpsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
248 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
249 pub fn StringFromGUID2(rguid: *const ::windows_sys::core::GUID, lpsz: ::windows_sys::core::PWSTR, cchmax: i32) -> i32;
250 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
251 pub fn StringFromIID(rclsid: *const ::windows_sys::core::GUID, lplpsz: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
252}
253#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 254pub type ADVF = i32;
04454e1e 255#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 256pub const ADVF_NODATA: ADVF = 1i32;
04454e1e 257#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 258pub const ADVF_PRIMEFIRST: ADVF = 2i32;
04454e1e 259#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 260pub const ADVF_ONLYONCE: ADVF = 4i32;
04454e1e 261#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 262pub const ADVF_DATAONSTOP: ADVF = 64i32;
04454e1e 263#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 264pub const ADVFCACHE_NOHANDLER: ADVF = 8i32;
04454e1e 265#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 266pub const ADVFCACHE_FORCEBUILTIN: ADVF = 16i32;
04454e1e 267#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 268pub const ADVFCACHE_ONSAVE: ADVF = 32i32;
04454e1e 269#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 270pub const APPIDREGFLAGS_AAA_NO_IMPLICIT_ACTIVATE_AS_IU: u32 = 2048u32;
04454e1e 271#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 272pub const APPIDREGFLAGS_ACTIVATE_IUSERVER_INDESKTOP: u32 = 1u32;
04454e1e 273#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 274pub const APPIDREGFLAGS_ISSUE_ACTIVATION_RPC_AT_IDENTIFY: u32 = 4u32;
04454e1e 275#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 276pub const APPIDREGFLAGS_IUSERVER_ACTIVATE_IN_CLIENT_SESSION_ONLY: u32 = 32u32;
04454e1e 277#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 278pub const APPIDREGFLAGS_IUSERVER_SELF_SID_IN_LAUNCH_PERMISSION: u32 = 16u32;
04454e1e 279#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 280pub const APPIDREGFLAGS_IUSERVER_UNMODIFIED_LOGON_TOKEN: u32 = 8u32;
04454e1e 281#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 282pub const APPIDREGFLAGS_RESERVED1: u32 = 64u32;
04454e1e 283#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 284pub const APPIDREGFLAGS_RESERVED2: u32 = 128u32;
04454e1e 285#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 286pub const APPIDREGFLAGS_RESERVED3: u32 = 256u32;
04454e1e 287#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 288pub const APPIDREGFLAGS_RESERVED4: u32 = 512u32;
04454e1e 289#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 290pub const APPIDREGFLAGS_RESERVED5: u32 = 1024u32;
04454e1e 291#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 292pub const APPIDREGFLAGS_RESERVED7: u32 = 4096u32;
04454e1e 293#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 294pub const APPIDREGFLAGS_RESERVED8: u32 = 8192u32;
04454e1e 295#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 296pub const APPIDREGFLAGS_RESERVED9: u32 = 16384u32;
04454e1e 297#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 298pub const APPIDREGFLAGS_SECURE_SERVER_PROCESS_SD_AND_BIND: u32 = 2u32;
04454e1e 299#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 300pub type APTTYPE = i32;
04454e1e 301#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 302pub const APTTYPE_CURRENT: APTTYPE = -1i32;
04454e1e 303#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 304pub const APTTYPE_STA: APTTYPE = 0i32;
04454e1e 305#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 306pub const APTTYPE_MTA: APTTYPE = 1i32;
04454e1e 307#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 308pub const APTTYPE_NA: APTTYPE = 2i32;
04454e1e 309#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 310pub const APTTYPE_MAINSTA: APTTYPE = 3i32;
04454e1e 311#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 312pub type APTTYPEQUALIFIER = i32;
04454e1e 313#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 314pub const APTTYPEQUALIFIER_NONE: APTTYPEQUALIFIER = 0i32;
04454e1e 315#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 316pub const APTTYPEQUALIFIER_IMPLICIT_MTA: APTTYPEQUALIFIER = 1i32;
04454e1e 317#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 318pub const APTTYPEQUALIFIER_NA_ON_MTA: APTTYPEQUALIFIER = 2i32;
04454e1e 319#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 320pub const APTTYPEQUALIFIER_NA_ON_STA: APTTYPEQUALIFIER = 3i32;
04454e1e 321#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 322pub const APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA: APTTYPEQUALIFIER = 4i32;
04454e1e 323#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 324pub const APTTYPEQUALIFIER_NA_ON_MAINSTA: APTTYPEQUALIFIER = 5i32;
04454e1e 325#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 326pub const APTTYPEQUALIFIER_APPLICATION_STA: APTTYPEQUALIFIER = 6i32;
04454e1e 327#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 328pub const APTTYPEQUALIFIER_RESERVED_1: APTTYPEQUALIFIER = 7i32;
04454e1e 329#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 330pub const ASYNC_MODE_COMPATIBILITY: i32 = 1i32;
04454e1e 331#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
332pub const ASYNC_MODE_DEFAULT: i32 = 0i32;
333#[repr(C)]
04454e1e 334#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
335pub struct AUTHENTICATEINFO {
336 pub dwFlags: u32,
337 pub dwReserved: u32,
338}
339impl ::core::marker::Copy for AUTHENTICATEINFO {}
340impl ::core::clone::Clone for AUTHENTICATEINFO {
341 fn clone(&self) -> Self {
342 *self
343 }
344}
04454e1e 345#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 346pub type ApplicationType = i32;
04454e1e 347#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 348pub const ServerApplication: ApplicationType = 0i32;
04454e1e 349#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
350pub const LibraryApplication: ApplicationType = 1i32;
351pub type AsyncIAdviseSink = *mut ::core::ffi::c_void;
352pub type AsyncIAdviseSink2 = *mut ::core::ffi::c_void;
353pub type AsyncIMultiQI = *mut ::core::ffi::c_void;
354pub type AsyncIPipeByte = *mut ::core::ffi::c_void;
355pub type AsyncIPipeDouble = *mut ::core::ffi::c_void;
356pub type AsyncIPipeLong = *mut ::core::ffi::c_void;
357pub type AsyncIUnknown = *mut ::core::ffi::c_void;
358#[repr(C)]
04454e1e 359#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"]
5e7ed085
FG
360#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))]
361pub struct BINDINFO {
362 pub cbSize: u32,
04454e1e 363 pub szExtraInfo: ::windows_sys::core::PWSTR,
5e7ed085
FG
364 pub stgmedData: STGMEDIUM,
365 pub grfBindInfoF: u32,
366 pub dwBindVerb: u32,
04454e1e 367 pub szCustomVerb: ::windows_sys::core::PWSTR,
5e7ed085
FG
368 pub cbstgmedData: u32,
369 pub dwOptions: u32,
370 pub dwOptionsFlags: u32,
371 pub dwCodePage: u32,
372 pub securityAttributes: super::super::Security::SECURITY_ATTRIBUTES,
373 pub iid: ::windows_sys::core::GUID,
374 pub pUnk: ::windows_sys::core::IUnknown,
375 pub dwReserved: u32,
376}
377#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))]
378impl ::core::marker::Copy for BINDINFO {}
379#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))]
380impl ::core::clone::Clone for BINDINFO {
381 fn clone(&self) -> Self {
382 *self
383 }
384}
04454e1e 385#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 386pub type BINDINFOF = i32;
04454e1e 387#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 388pub const BINDINFOF_URLENCODESTGMEDDATA: BINDINFOF = 1i32;
04454e1e 389#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
390pub const BINDINFOF_URLENCODEDEXTRAINFO: BINDINFOF = 2i32;
391#[repr(C)]
04454e1e 392#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
393#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
394pub union BINDPTR {
395 pub lpfuncdesc: *mut FUNCDESC,
396 pub lpvardesc: *mut VARDESC,
397 pub lptcomp: ITypeComp,
398}
399#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
400impl ::core::marker::Copy for BINDPTR {}
401#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
402impl ::core::clone::Clone for BINDPTR {
403 fn clone(&self) -> Self {
404 *self
405 }
406}
04454e1e 407#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 408pub type BIND_FLAGS = i32;
04454e1e 409#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 410pub const BIND_MAYBOTHERUSER: BIND_FLAGS = 1i32;
04454e1e 411#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
412pub const BIND_JUSTTESTEXISTENCE: BIND_FLAGS = 2i32;
413#[repr(C)]
04454e1e 414#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
415pub struct BIND_OPTS {
416 pub cbStruct: u32,
417 pub grfFlags: u32,
418 pub grfMode: u32,
419 pub dwTickCountDeadline: u32,
420}
421impl ::core::marker::Copy for BIND_OPTS {}
422impl ::core::clone::Clone for BIND_OPTS {
423 fn clone(&self) -> Self {
424 *self
425 }
426}
427#[repr(C)]
04454e1e 428#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
429pub struct BIND_OPTS2 {
430 pub __AnonymousBase_objidl_L9017_C36: BIND_OPTS,
431 pub dwTrackFlags: u32,
432 pub dwClassContext: u32,
433 pub locale: u32,
434 pub pServerInfo: *mut COSERVERINFO,
435}
5e7ed085 436impl ::core::marker::Copy for BIND_OPTS2 {}
5e7ed085
FG
437impl ::core::clone::Clone for BIND_OPTS2 {
438 fn clone(&self) -> Self {
439 *self
440 }
441}
442#[repr(C)]
04454e1e 443#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
444#[cfg(feature = "Win32_Foundation")]
445pub struct BIND_OPTS3 {
446 pub __AnonymousBase_objidl_L9041_C36: BIND_OPTS2,
447 pub hwnd: super::super::Foundation::HWND,
448}
449#[cfg(feature = "Win32_Foundation")]
450impl ::core::marker::Copy for BIND_OPTS3 {}
451#[cfg(feature = "Win32_Foundation")]
452impl ::core::clone::Clone for BIND_OPTS3 {
453 fn clone(&self) -> Self {
454 *self
455 }
456}
457#[repr(C)]
04454e1e 458#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
459pub struct BLOB {
460 pub cbSize: u32,
461 pub pBlobData: *mut u8,
462}
463impl ::core::marker::Copy for BLOB {}
464impl ::core::clone::Clone for BLOB {
465 fn clone(&self) -> Self {
466 *self
467 }
468}
469#[repr(C)]
04454e1e 470#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
471pub struct BYTE_BLOB {
472 pub clSize: u32,
473 pub abData: [u8; 1],
474}
475impl ::core::marker::Copy for BYTE_BLOB {}
476impl ::core::clone::Clone for BYTE_BLOB {
477 fn clone(&self) -> Self {
478 *self
479 }
480}
481#[repr(C)]
04454e1e 482#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
483pub struct BYTE_SIZEDARR {
484 pub clSize: u32,
485 pub pData: *mut u8,
486}
487impl ::core::marker::Copy for BYTE_SIZEDARR {}
488impl ::core::clone::Clone for BYTE_SIZEDARR {
489 fn clone(&self) -> Self {
490 *self
491 }
492}
04454e1e 493#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 494pub type CALLCONV = i32;
04454e1e 495#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 496pub const CC_FASTCALL: CALLCONV = 0i32;
04454e1e 497#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 498pub const CC_CDECL: CALLCONV = 1i32;
04454e1e 499#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 500pub const CC_MSCPASCAL: CALLCONV = 2i32;
04454e1e 501#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 502pub const CC_PASCAL: CALLCONV = 2i32;
04454e1e 503#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 504pub const CC_MACPASCAL: CALLCONV = 3i32;
04454e1e 505#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 506pub const CC_STDCALL: CALLCONV = 4i32;
04454e1e 507#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 508pub const CC_FPFASTCALL: CALLCONV = 5i32;
04454e1e 509#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 510pub const CC_SYSCALL: CALLCONV = 6i32;
04454e1e 511#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 512pub const CC_MPWCDECL: CALLCONV = 7i32;
04454e1e 513#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 514pub const CC_MPWPASCAL: CALLCONV = 8i32;
04454e1e 515#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 516pub const CC_MAX: CALLCONV = 9i32;
04454e1e 517#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 518pub type CALLTYPE = i32;
04454e1e 519#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 520pub const CALLTYPE_TOPLEVEL: CALLTYPE = 1i32;
04454e1e 521#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 522pub const CALLTYPE_NESTED: CALLTYPE = 2i32;
04454e1e 523#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 524pub const CALLTYPE_ASYNC: CALLTYPE = 3i32;
04454e1e 525#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 526pub const CALLTYPE_TOPLEVEL_CALLPENDING: CALLTYPE = 4i32;
04454e1e 527#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
528pub const CALLTYPE_ASYNC_CALLPENDING: CALLTYPE = 5i32;
529#[repr(C)]
04454e1e 530#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
531pub struct CATEGORYINFO {
532 pub catid: ::windows_sys::core::GUID,
533 pub lcid: u32,
534 pub szDescription: [u16; 128],
535}
536impl ::core::marker::Copy for CATEGORYINFO {}
537impl ::core::clone::Clone for CATEGORYINFO {
538 fn clone(&self) -> Self {
539 *self
540 }
541}
04454e1e 542#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 543pub type CLSCTX = u32;
04454e1e 544#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 545pub const CLSCTX_INPROC_SERVER: CLSCTX = 1u32;
04454e1e 546#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 547pub const CLSCTX_INPROC_HANDLER: CLSCTX = 2u32;
04454e1e 548#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 549pub const CLSCTX_LOCAL_SERVER: CLSCTX = 4u32;
04454e1e 550#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 551pub const CLSCTX_INPROC_SERVER16: CLSCTX = 8u32;
04454e1e 552#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 553pub const CLSCTX_REMOTE_SERVER: CLSCTX = 16u32;
04454e1e 554#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 555pub const CLSCTX_INPROC_HANDLER16: CLSCTX = 32u32;
04454e1e 556#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 557pub const CLSCTX_RESERVED1: CLSCTX = 64u32;
04454e1e 558#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 559pub const CLSCTX_RESERVED2: CLSCTX = 128u32;
04454e1e 560#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 561pub const CLSCTX_RESERVED3: CLSCTX = 256u32;
04454e1e 562#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 563pub const CLSCTX_RESERVED4: CLSCTX = 512u32;
04454e1e 564#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 565pub const CLSCTX_NO_CODE_DOWNLOAD: CLSCTX = 1024u32;
04454e1e 566#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 567pub const CLSCTX_RESERVED5: CLSCTX = 2048u32;
04454e1e 568#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 569pub const CLSCTX_NO_CUSTOM_MARSHAL: CLSCTX = 4096u32;
04454e1e 570#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 571pub const CLSCTX_ENABLE_CODE_DOWNLOAD: CLSCTX = 8192u32;
04454e1e 572#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 573pub const CLSCTX_NO_FAILURE_LOG: CLSCTX = 16384u32;
04454e1e 574#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 575pub const CLSCTX_DISABLE_AAA: CLSCTX = 32768u32;
04454e1e 576#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 577pub const CLSCTX_ENABLE_AAA: CLSCTX = 65536u32;
04454e1e 578#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 579pub const CLSCTX_FROM_DEFAULT_CONTEXT: CLSCTX = 131072u32;
04454e1e 580#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 581pub const CLSCTX_ACTIVATE_X86_SERVER: CLSCTX = 262144u32;
04454e1e 582#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 583pub const CLSCTX_ACTIVATE_32_BIT_SERVER: CLSCTX = 262144u32;
04454e1e 584#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 585pub const CLSCTX_ACTIVATE_64_BIT_SERVER: CLSCTX = 524288u32;
04454e1e 586#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 587pub const CLSCTX_ENABLE_CLOAKING: CLSCTX = 1048576u32;
04454e1e 588#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 589pub const CLSCTX_APPCONTAINER: CLSCTX = 4194304u32;
04454e1e 590#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 591pub const CLSCTX_ACTIVATE_AAA_AS_IU: CLSCTX = 8388608u32;
04454e1e 592#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 593pub const CLSCTX_RESERVED6: CLSCTX = 16777216u32;
04454e1e 594#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 595pub const CLSCTX_ACTIVATE_ARM32_SERVER: CLSCTX = 33554432u32;
04454e1e 596#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 597pub const CLSCTX_PS_DLL: CLSCTX = 2147483648u32;
04454e1e 598#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 599pub const CLSCTX_ALL: CLSCTX = 23u32;
04454e1e 600#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
601pub const CLSCTX_SERVER: CLSCTX = 21u32;
602#[repr(C)]
04454e1e 603#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
604pub struct COAUTHIDENTITY {
605 pub User: *mut u16,
606 pub UserLength: u32,
607 pub Domain: *mut u16,
608 pub DomainLength: u32,
609 pub Password: *mut u16,
610 pub PasswordLength: u32,
611 pub Flags: u32,
612}
613impl ::core::marker::Copy for COAUTHIDENTITY {}
614impl ::core::clone::Clone for COAUTHIDENTITY {
615 fn clone(&self) -> Self {
616 *self
617 }
618}
619#[repr(C)]
04454e1e 620#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
621pub struct COAUTHINFO {
622 pub dwAuthnSvc: u32,
623 pub dwAuthzSvc: u32,
04454e1e 624 pub pwszServerPrincName: ::windows_sys::core::PWSTR,
5e7ed085
FG
625 pub dwAuthnLevel: u32,
626 pub dwImpersonationLevel: u32,
627 pub pAuthIdentityData: *mut COAUTHIDENTITY,
628 pub dwCapabilities: u32,
629}
5e7ed085 630impl ::core::marker::Copy for COAUTHINFO {}
5e7ed085
FG
631impl ::core::clone::Clone for COAUTHINFO {
632 fn clone(&self) -> Self {
633 *self
634 }
635}
04454e1e 636#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 637pub type COINIT = u32;
04454e1e 638#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 639pub const COINIT_APARTMENTTHREADED: COINIT = 2u32;
04454e1e 640#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 641pub const COINIT_MULTITHREADED: COINIT = 0u32;
04454e1e 642#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 643pub const COINIT_DISABLE_OLE1DDE: COINIT = 4u32;
04454e1e 644#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 645pub const COINIT_SPEED_OVER_MEMORY: COINIT = 8u32;
04454e1e 646#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 647pub type COINITBASE = i32;
04454e1e 648#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 649pub const COINITBASE_MULTITHREADED: COINITBASE = 0i32;
04454e1e 650#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 651pub type COMSD = i32;
04454e1e 652#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 653pub const SD_LAUNCHPERMISSIONS: COMSD = 0i32;
04454e1e 654#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 655pub const SD_ACCESSPERMISSIONS: COMSD = 1i32;
04454e1e 656#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 657pub const SD_LAUNCHRESTRICTIONS: COMSD = 2i32;
04454e1e 658#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 659pub const SD_ACCESSRESTRICTIONS: COMSD = 3i32;
04454e1e 660#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 661pub const COM_RIGHTS_ACTIVATE_LOCAL: u32 = 8u32;
04454e1e 662#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 663pub const COM_RIGHTS_ACTIVATE_REMOTE: u32 = 16u32;
04454e1e 664#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 665pub const COM_RIGHTS_EXECUTE: u32 = 1u32;
04454e1e 666#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 667pub const COM_RIGHTS_EXECUTE_LOCAL: u32 = 2u32;
04454e1e 668#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 669pub const COM_RIGHTS_EXECUTE_REMOTE: u32 = 4u32;
04454e1e 670#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 671pub const COM_RIGHTS_RESERVED1: u32 = 32u32;
04454e1e 672#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
673pub const COM_RIGHTS_RESERVED2: u32 = 64u32;
674#[repr(C)]
04454e1e 675#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
676pub struct CONNECTDATA {
677 pub pUnk: ::windows_sys::core::IUnknown,
678 pub dwCookie: u32,
679}
680impl ::core::marker::Copy for CONNECTDATA {}
681impl ::core::clone::Clone for CONNECTDATA {
682 fn clone(&self) -> Self {
683 *self
684 }
685}
686#[repr(C)]
04454e1e 687#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
688pub struct COSERVERINFO {
689 pub dwReserved1: u32,
04454e1e 690 pub pwszName: ::windows_sys::core::PWSTR,
5e7ed085
FG
691 pub pAuthInfo: *mut COAUTHINFO,
692 pub dwReserved2: u32,
693}
5e7ed085 694impl ::core::marker::Copy for COSERVERINFO {}
5e7ed085
FG
695impl ::core::clone::Clone for COSERVERINFO {
696 fn clone(&self) -> Self {
697 *self
698 }
699}
04454e1e 700#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 701pub type COWAIT_FLAGS = i32;
04454e1e 702#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 703pub const COWAIT_DEFAULT: COWAIT_FLAGS = 0i32;
04454e1e 704#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 705pub const COWAIT_WAITALL: COWAIT_FLAGS = 1i32;
04454e1e 706#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 707pub const COWAIT_ALERTABLE: COWAIT_FLAGS = 2i32;
04454e1e 708#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 709pub const COWAIT_INPUTAVAILABLE: COWAIT_FLAGS = 4i32;
04454e1e 710#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 711pub const COWAIT_DISPATCH_CALLS: COWAIT_FLAGS = 8i32;
04454e1e 712#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
713pub const COWAIT_DISPATCH_WINDOW_MESSAGES: COWAIT_FLAGS = 16i32;
714pub type CO_DEVICE_CATALOG_COOKIE = isize;
04454e1e 715#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 716pub type CO_MARSHALING_CONTEXT_ATTRIBUTES = i32;
04454e1e 717#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 718pub const CO_MARSHALING_SOURCE_IS_APP_CONTAINER: CO_MARSHALING_CONTEXT_ATTRIBUTES = 0i32;
04454e1e 719#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 720pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483648i32;
04454e1e 721#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 722pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483647i32;
04454e1e 723#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 724pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483646i32;
04454e1e 725#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 726pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483645i32;
04454e1e 727#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 728pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483644i32;
04454e1e 729#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 730pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483643i32;
04454e1e 731#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 732pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483642i32;
04454e1e 733#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 734pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483641i32;
04454e1e 735#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 736pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483640i32;
04454e1e 737#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 738pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483639i32;
04454e1e 739#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 740pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483638i32;
04454e1e 741#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 742pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483637i32;
04454e1e 743#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 744pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483636i32;
04454e1e 745#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 746pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483635i32;
04454e1e 747#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 748pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_15: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483634i32;
04454e1e 749#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 750pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_16: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483633i32;
04454e1e 751#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 752pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_17: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483632i32;
04454e1e 753#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
754pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_18: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483631i32;
755pub type CO_MTA_USAGE_COOKIE = isize;
756#[repr(C)]
04454e1e 757#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
758pub struct CSPLATFORM {
759 pub dwPlatformId: u32,
760 pub dwVersionHi: u32,
761 pub dwVersionLo: u32,
762 pub dwProcessorArch: u32,
763}
764impl ::core::marker::Copy for CSPLATFORM {}
765impl ::core::clone::Clone for CSPLATFORM {
766 fn clone(&self) -> Self {
767 *self
768 }
769}
770#[repr(C)]
04454e1e 771#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
772#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
773pub struct CUSTDATA {
774 pub cCustData: u32,
775 pub prgCustData: *mut CUSTDATAITEM,
776}
777#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
778impl ::core::marker::Copy for CUSTDATA {}
779#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
780impl ::core::clone::Clone for CUSTDATA {
781 fn clone(&self) -> Self {
782 *self
783 }
784}
785#[repr(C)]
04454e1e 786#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
787#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
788pub struct CUSTDATAITEM {
789 pub guid: ::windows_sys::core::GUID,
790 pub varValue: VARIANT,
791}
792#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
793impl ::core::marker::Copy for CUSTDATAITEM {}
794#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
795impl ::core::clone::Clone for CUSTDATAITEM {
796 fn clone(&self) -> Self {
797 *self
798 }
799}
04454e1e 800#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 801pub type CWMO_FLAGS = i32;
04454e1e 802#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 803pub const CWMO_DEFAULT: CWMO_FLAGS = 0i32;
04454e1e 804#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 805pub const CWMO_DISPATCH_CALLS: CWMO_FLAGS = 1i32;
04454e1e 806#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 807pub const CWMO_DISPATCH_WINDOW_MESSAGES: CWMO_FLAGS = 2i32;
04454e1e 808#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
809pub const CWMO_MAX_HANDLES: u32 = 56u32;
810#[repr(C)]
04454e1e 811#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
812pub union CY {
813 pub Anonymous: CY_0,
814 pub int64: i64,
815}
816impl ::core::marker::Copy for CY {}
817impl ::core::clone::Clone for CY {
818 fn clone(&self) -> Self {
819 *self
820 }
821}
822#[repr(C)]
04454e1e 823#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
824pub struct CY_0 {
825 pub Lo: u32,
826 pub Hi: i32,
827}
828impl ::core::marker::Copy for CY_0 {}
829impl ::core::clone::Clone for CY_0 {
830 fn clone(&self) -> Self {
831 *self
832 }
833}
834#[repr(C)]
04454e1e 835#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
836pub struct ComCallData {
837 pub dwDispid: u32,
838 pub dwReserved: u32,
839 pub pUserDefined: *mut ::core::ffi::c_void,
840}
841impl ::core::marker::Copy for ComCallData {}
842impl ::core::clone::Clone for ComCallData {
843 fn clone(&self) -> Self {
844 *self
845 }
846}
04454e1e 847#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 848pub type DATADIR = i32;
04454e1e 849#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 850pub const DATADIR_GET: DATADIR = 1i32;
04454e1e 851#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 852pub const DATADIR_SET: DATADIR = 2i32;
04454e1e 853#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 854pub const DCOMSCM_ACTIVATION_DISALLOW_UNSECURE_CALL: u32 = 2u32;
04454e1e 855#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 856pub const DCOMSCM_ACTIVATION_USE_ALL_AUTHNSERVICES: u32 = 1u32;
04454e1e 857#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 858pub const DCOMSCM_PING_DISALLOW_UNSECURE_CALL: u32 = 32u32;
04454e1e 859#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 860pub const DCOMSCM_PING_USE_MID_AUTHNSERVICE: u32 = 16u32;
04454e1e 861#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 862pub const DCOMSCM_RESOLVE_DISALLOW_UNSECURE_CALL: u32 = 8u32;
04454e1e 863#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 864pub const DCOMSCM_RESOLVE_USE_ALL_AUTHNSERVICES: u32 = 4u32;
04454e1e 865#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 866pub type DCOM_CALL_STATE = i32;
04454e1e 867#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 868pub const DCOM_NONE: DCOM_CALL_STATE = 0i32;
04454e1e 869#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 870pub const DCOM_CALL_COMPLETE: DCOM_CALL_STATE = 1i32;
04454e1e 871#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 872pub const DCOM_CALL_CANCELED: DCOM_CALL_STATE = 2i32;
04454e1e 873#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 874pub type DESCKIND = i32;
04454e1e 875#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 876pub const DESCKIND_NONE: DESCKIND = 0i32;
04454e1e 877#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 878pub const DESCKIND_FUNCDESC: DESCKIND = 1i32;
04454e1e 879#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 880pub const DESCKIND_VARDESC: DESCKIND = 2i32;
04454e1e 881#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 882pub const DESCKIND_TYPECOMP: DESCKIND = 3i32;
04454e1e 883#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 884pub const DESCKIND_IMPLICITAPPOBJ: DESCKIND = 4i32;
04454e1e 885#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
886pub const DESCKIND_MAX: DESCKIND = 5i32;
887#[repr(C)]
04454e1e 888#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
889#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
890pub struct DISPPARAMS {
891 pub rgvarg: *mut VARIANT,
892 pub rgdispidNamedArgs: *mut i32,
893 pub cArgs: u32,
894 pub cNamedArgs: u32,
895}
896#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
897impl ::core::marker::Copy for DISPPARAMS {}
898#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
899impl ::core::clone::Clone for DISPPARAMS {
900 fn clone(&self) -> Self {
901 *self
902 }
903}
04454e1e 904#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 905pub const DMUS_ERRBASE: u32 = 4096u32;
04454e1e 906#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 907pub type DVASPECT = i32;
04454e1e 908#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 909pub const DVASPECT_CONTENT: DVASPECT = 1i32;
04454e1e 910#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 911pub const DVASPECT_THUMBNAIL: DVASPECT = 2i32;
04454e1e 912#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 913pub const DVASPECT_ICON: DVASPECT = 4i32;
04454e1e 914#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
915pub const DVASPECT_DOCPRINT: DVASPECT = 8i32;
916#[repr(C)]
04454e1e 917#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
918pub struct DVTARGETDEVICE {
919 pub tdSize: u32,
920 pub tdDriverNameOffset: u16,
921 pub tdDeviceNameOffset: u16,
922 pub tdPortNameOffset: u16,
923 pub tdExtDevmodeOffset: u16,
924 pub tdData: [u8; 1],
925}
926impl ::core::marker::Copy for DVTARGETDEVICE {}
927impl ::core::clone::Clone for DVTARGETDEVICE {
928 fn clone(&self) -> Self {
929 *self
930 }
931}
932#[repr(C)]
04454e1e 933#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
934pub struct DWORD_BLOB {
935 pub clSize: u32,
936 pub alData: [u32; 1],
937}
938impl ::core::marker::Copy for DWORD_BLOB {}
939impl ::core::clone::Clone for DWORD_BLOB {
940 fn clone(&self) -> Self {
941 *self
942 }
943}
944#[repr(C)]
04454e1e 945#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
946#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
947pub struct ELEMDESC {
948 pub tdesc: TYPEDESC,
949 pub Anonymous: ELEMDESC_0,
950}
951#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
952impl ::core::marker::Copy for ELEMDESC {}
953#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
954impl ::core::clone::Clone for ELEMDESC {
955 fn clone(&self) -> Self {
956 *self
957 }
958}
959#[repr(C)]
04454e1e 960#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
961#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
962pub union ELEMDESC_0 {
963 pub idldesc: IDLDESC,
964 pub paramdesc: super::Ole::PARAMDESC,
965}
966#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
967impl ::core::marker::Copy for ELEMDESC_0 {}
968#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
969impl ::core::clone::Clone for ELEMDESC_0 {
970 fn clone(&self) -> Self {
971 *self
972 }
973}
04454e1e 974#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 975pub type EOLE_AUTHENTICATION_CAPABILITIES = i32;
04454e1e 976#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 977pub const EOAC_NONE: EOLE_AUTHENTICATION_CAPABILITIES = 0i32;
04454e1e 978#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 979pub const EOAC_MUTUAL_AUTH: EOLE_AUTHENTICATION_CAPABILITIES = 1i32;
04454e1e 980#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 981pub const EOAC_STATIC_CLOAKING: EOLE_AUTHENTICATION_CAPABILITIES = 32i32;
04454e1e 982#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 983pub const EOAC_DYNAMIC_CLOAKING: EOLE_AUTHENTICATION_CAPABILITIES = 64i32;
04454e1e 984#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 985pub const EOAC_ANY_AUTHORITY: EOLE_AUTHENTICATION_CAPABILITIES = 128i32;
04454e1e 986#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 987pub const EOAC_MAKE_FULLSIC: EOLE_AUTHENTICATION_CAPABILITIES = 256i32;
04454e1e 988#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 989pub const EOAC_DEFAULT: EOLE_AUTHENTICATION_CAPABILITIES = 2048i32;
04454e1e 990#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 991pub const EOAC_SECURE_REFS: EOLE_AUTHENTICATION_CAPABILITIES = 2i32;
04454e1e 992#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 993pub const EOAC_ACCESS_CONTROL: EOLE_AUTHENTICATION_CAPABILITIES = 4i32;
04454e1e 994#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 995pub const EOAC_APPID: EOLE_AUTHENTICATION_CAPABILITIES = 8i32;
04454e1e 996#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 997pub const EOAC_DYNAMIC: EOLE_AUTHENTICATION_CAPABILITIES = 16i32;
04454e1e 998#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 999pub const EOAC_REQUIRE_FULLSIC: EOLE_AUTHENTICATION_CAPABILITIES = 512i32;
04454e1e 1000#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1001pub const EOAC_AUTO_IMPERSONATE: EOLE_AUTHENTICATION_CAPABILITIES = 1024i32;
04454e1e 1002#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1003pub const EOAC_DISABLE_AAA: EOLE_AUTHENTICATION_CAPABILITIES = 4096i32;
04454e1e 1004#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1005pub const EOAC_NO_CUSTOM_MARSHAL: EOLE_AUTHENTICATION_CAPABILITIES = 8192i32;
04454e1e 1006#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1007pub const EOAC_RESERVED1: EOLE_AUTHENTICATION_CAPABILITIES = 16384i32;
1008#[repr(C)]
04454e1e 1009#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1010#[cfg(feature = "Win32_Foundation")]
1011pub struct EXCEPINFO {
1012 pub wCode: u16,
1013 pub wReserved: u16,
1014 pub bstrSource: super::super::Foundation::BSTR,
1015 pub bstrDescription: super::super::Foundation::BSTR,
1016 pub bstrHelpFile: super::super::Foundation::BSTR,
1017 pub dwHelpContext: u32,
1018 pub pvReserved: *mut ::core::ffi::c_void,
1019 pub pfnDeferredFillIn: LPEXCEPFINO_DEFERRED_FILLIN,
1020 pub scode: i32,
1021}
1022#[cfg(feature = "Win32_Foundation")]
1023impl ::core::marker::Copy for EXCEPINFO {}
1024#[cfg(feature = "Win32_Foundation")]
1025impl ::core::clone::Clone for EXCEPINFO {
1026 fn clone(&self) -> Self {
1027 *self
1028 }
1029}
04454e1e 1030#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1031pub type EXTCONN = i32;
04454e1e 1032#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1033pub const EXTCONN_STRONG: EXTCONN = 1i32;
04454e1e 1034#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1035pub const EXTCONN_WEAK: EXTCONN = 2i32;
04454e1e 1036#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1037pub const EXTCONN_CALLABLE: EXTCONN = 4i32;
1038#[repr(C)]
04454e1e 1039#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1040pub struct FLAGGED_BYTE_BLOB {
1041 pub fFlags: u32,
1042 pub clSize: u32,
1043 pub abData: [u8; 1],
1044}
1045impl ::core::marker::Copy for FLAGGED_BYTE_BLOB {}
1046impl ::core::clone::Clone for FLAGGED_BYTE_BLOB {
1047 fn clone(&self) -> Self {
1048 *self
1049 }
1050}
1051#[repr(C)]
04454e1e 1052#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1053pub struct FLAGGED_WORD_BLOB {
1054 pub fFlags: u32,
1055 pub clSize: u32,
1056 pub asData: [u16; 1],
1057}
1058impl ::core::marker::Copy for FLAGGED_WORD_BLOB {}
1059impl ::core::clone::Clone for FLAGGED_WORD_BLOB {
1060 fn clone(&self) -> Self {
1061 *self
1062 }
1063}
1064#[repr(C)]
04454e1e
FG
1065#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"]
1066#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1067pub struct FLAG_STGMEDIUM {
1068 pub ContextFlags: i32,
1069 pub fPassOwnership: i32,
1070 pub Stgmed: STGMEDIUM,
1071}
04454e1e 1072#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085 1073impl ::core::marker::Copy for FLAG_STGMEDIUM {}
04454e1e 1074#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1075impl ::core::clone::Clone for FLAG_STGMEDIUM {
1076 fn clone(&self) -> Self {
1077 *self
1078 }
1079}
1080#[repr(C)]
04454e1e 1081#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1082pub struct FORMATETC {
1083 pub cfFormat: u16,
1084 pub ptd: *mut DVTARGETDEVICE,
1085 pub dwAspect: u32,
1086 pub lindex: i32,
1087 pub tymed: u32,
1088}
1089impl ::core::marker::Copy for FORMATETC {}
1090impl ::core::clone::Clone for FORMATETC {
1091 fn clone(&self) -> Self {
1092 *self
1093 }
1094}
1095#[repr(C)]
04454e1e 1096#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
1097#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
1098pub struct FUNCDESC {
1099 pub memid: i32,
1100 pub lprgscode: *mut i32,
1101 pub lprgelemdescParam: *mut ELEMDESC,
1102 pub funckind: FUNCKIND,
1103 pub invkind: INVOKEKIND,
1104 pub callconv: CALLCONV,
1105 pub cParams: i16,
1106 pub cParamsOpt: i16,
1107 pub oVft: i16,
1108 pub cScodes: i16,
1109 pub elemdescFunc: ELEMDESC,
1110 pub wFuncFlags: u16,
1111}
1112#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
1113impl ::core::marker::Copy for FUNCDESC {}
1114#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
1115impl ::core::clone::Clone for FUNCDESC {
1116 fn clone(&self) -> Self {
1117 *self
1118 }
1119}
04454e1e 1120#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1121pub type FUNCKIND = i32;
04454e1e 1122#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1123pub const FUNC_VIRTUAL: FUNCKIND = 0i32;
04454e1e 1124#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1125pub const FUNC_PUREVIRTUAL: FUNCKIND = 1i32;
04454e1e 1126#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1127pub const FUNC_NONVIRTUAL: FUNCKIND = 2i32;
04454e1e 1128#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1129pub const FUNC_STATIC: FUNCKIND = 3i32;
04454e1e 1130#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1131pub const FUNC_DISPATCH: FUNCKIND = 4i32;
1132#[repr(C)]
04454e1e 1133#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_SystemServices\"`*"]
5e7ed085
FG
1134#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1135pub struct GDI_OBJECT {
1136 pub ObjectType: u32,
1137 pub u: GDI_OBJECT_0,
1138}
1139#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1140impl ::core::marker::Copy for GDI_OBJECT {}
1141#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1142impl ::core::clone::Clone for GDI_OBJECT {
1143 fn clone(&self) -> Self {
1144 *self
1145 }
1146}
1147#[repr(C)]
04454e1e 1148#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_SystemServices\"`*"]
5e7ed085
FG
1149#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1150pub union GDI_OBJECT_0 {
1151 pub hBitmap: *mut super::SystemServices::userHBITMAP,
1152 pub hPalette: *mut super::SystemServices::userHPALETTE,
1153 pub hGeneric: *mut super::SystemServices::userHGLOBAL,
1154}
1155#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1156impl ::core::marker::Copy for GDI_OBJECT_0 {}
1157#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
1158impl ::core::clone::Clone for GDI_OBJECT_0 {
1159 fn clone(&self) -> Self {
1160 *self
1161 }
1162}
04454e1e 1163#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1164pub type GLOBALOPT_EH_VALUES = i32;
04454e1e 1165#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1166pub const COMGLB_EXCEPTION_HANDLE: GLOBALOPT_EH_VALUES = 0i32;
04454e1e 1167#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1168pub const COMGLB_EXCEPTION_DONOT_HANDLE_FATAL: GLOBALOPT_EH_VALUES = 1i32;
04454e1e 1169#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1170pub const COMGLB_EXCEPTION_DONOT_HANDLE: GLOBALOPT_EH_VALUES = 1i32;
04454e1e 1171#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1172pub const COMGLB_EXCEPTION_DONOT_HANDLE_ANY: GLOBALOPT_EH_VALUES = 2i32;
04454e1e 1173#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1174pub type GLOBALOPT_PROPERTIES = i32;
04454e1e 1175#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1176pub const COMGLB_EXCEPTION_HANDLING: GLOBALOPT_PROPERTIES = 1i32;
04454e1e 1177#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1178pub const COMGLB_APPID: GLOBALOPT_PROPERTIES = 2i32;
04454e1e 1179#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1180pub const COMGLB_RPC_THREADPOOL_SETTING: GLOBALOPT_PROPERTIES = 3i32;
04454e1e 1181#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1182pub const COMGLB_RO_SETTINGS: GLOBALOPT_PROPERTIES = 4i32;
04454e1e 1183#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1184pub const COMGLB_UNMARSHALING_POLICY: GLOBALOPT_PROPERTIES = 5i32;
04454e1e 1185#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1186pub const COMGLB_PROPERTIES_RESERVED1: GLOBALOPT_PROPERTIES = 6i32;
04454e1e 1187#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1188pub const COMGLB_PROPERTIES_RESERVED2: GLOBALOPT_PROPERTIES = 7i32;
04454e1e 1189#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1190pub const COMGLB_PROPERTIES_RESERVED3: GLOBALOPT_PROPERTIES = 8i32;
04454e1e 1191#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1192pub type GLOBALOPT_RO_FLAGS = i32;
04454e1e 1193#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1194pub const COMGLB_STA_MODALLOOP_REMOVE_TOUCH_MESSAGES: GLOBALOPT_RO_FLAGS = 1i32;
04454e1e 1195#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1196pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REMOVE_INPUT_MESSAGES: GLOBALOPT_RO_FLAGS = 2i32;
04454e1e 1197#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1198pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_DONOT_REMOVE_INPUT_MESSAGES: GLOBALOPT_RO_FLAGS = 4i32;
04454e1e 1199#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1200pub const COMGLB_FAST_RUNDOWN: GLOBALOPT_RO_FLAGS = 8i32;
04454e1e 1201#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1202pub const COMGLB_RESERVED1: GLOBALOPT_RO_FLAGS = 16i32;
04454e1e 1203#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1204pub const COMGLB_RESERVED2: GLOBALOPT_RO_FLAGS = 32i32;
04454e1e 1205#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1206pub const COMGLB_RESERVED3: GLOBALOPT_RO_FLAGS = 64i32;
04454e1e 1207#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1208pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REORDER_POINTER_MESSAGES: GLOBALOPT_RO_FLAGS = 128i32;
04454e1e 1209#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1210pub const COMGLB_RESERVED4: GLOBALOPT_RO_FLAGS = 256i32;
04454e1e 1211#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1212pub const COMGLB_RESERVED5: GLOBALOPT_RO_FLAGS = 512i32;
04454e1e 1213#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1214pub const COMGLB_RESERVED6: GLOBALOPT_RO_FLAGS = 1024i32;
04454e1e 1215#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1216pub type GLOBALOPT_RPCTP_VALUES = i32;
04454e1e 1217#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1218pub const COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL: GLOBALOPT_RPCTP_VALUES = 0i32;
04454e1e 1219#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1220pub const COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL: GLOBALOPT_RPCTP_VALUES = 1i32;
04454e1e 1221#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1222pub type GLOBALOPT_UNMARSHALING_POLICY_VALUES = i32;
04454e1e 1223#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1224pub const COMGLB_UNMARSHALING_POLICY_NORMAL: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 0i32;
04454e1e 1225#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1226pub const COMGLB_UNMARSHALING_POLICY_STRONG: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 1i32;
04454e1e 1227#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1228pub const COMGLB_UNMARSHALING_POLICY_HYBRID: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 2i32;
1229#[repr(C)]
04454e1e 1230#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1231pub struct HYPER_SIZEDARR {
1232 pub clSize: u32,
1233 pub pData: *mut i64,
1234}
1235impl ::core::marker::Copy for HYPER_SIZEDARR {}
1236impl ::core::clone::Clone for HYPER_SIZEDARR {
1237 fn clone(&self) -> Self {
1238 *self
1239 }
1240}
1241pub type IActivationFilter = *mut ::core::ffi::c_void;
1242pub type IAddrExclusionControl = *mut ::core::ffi::c_void;
1243pub type IAddrTrackingControl = *mut ::core::ffi::c_void;
1244pub type IAdviseSink = *mut ::core::ffi::c_void;
1245pub type IAdviseSink2 = *mut ::core::ffi::c_void;
1246pub type IAgileObject = *mut ::core::ffi::c_void;
1247pub type IAsyncManager = *mut ::core::ffi::c_void;
1248pub type IAsyncRpcChannelBuffer = *mut ::core::ffi::c_void;
1249pub type IAuthenticate = *mut ::core::ffi::c_void;
1250pub type IAuthenticateEx = *mut ::core::ffi::c_void;
1251pub type IBindCtx = *mut ::core::ffi::c_void;
1252pub type IBindHost = *mut ::core::ffi::c_void;
1253pub type IBindStatusCallback = *mut ::core::ffi::c_void;
1254pub type IBindStatusCallbackEx = *mut ::core::ffi::c_void;
1255pub type IBinding = *mut ::core::ffi::c_void;
1256pub type IBlockingLock = *mut ::core::ffi::c_void;
1257pub type ICallFactory = *mut ::core::ffi::c_void;
1258pub type ICancelMethodCalls = *mut ::core::ffi::c_void;
1259pub type ICatInformation = *mut ::core::ffi::c_void;
1260pub type ICatRegister = *mut ::core::ffi::c_void;
1261pub type IChannelHook = *mut ::core::ffi::c_void;
1262pub type IClassActivator = *mut ::core::ffi::c_void;
1263pub type IClassFactory = *mut ::core::ffi::c_void;
1264pub type IClientSecurity = *mut ::core::ffi::c_void;
1265pub type IComThreadingInfo = *mut ::core::ffi::c_void;
1266pub type IConnectionPoint = *mut ::core::ffi::c_void;
1267pub type IConnectionPointContainer = *mut ::core::ffi::c_void;
1268#[repr(C)]
1269pub struct IContext(pub u8);
1270pub type IContextCallback = *mut ::core::ffi::c_void;
1271#[repr(C)]
04454e1e 1272#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1273pub struct IDLDESC {
1274 pub dwReserved: usize,
1275 pub wIDLFlags: u16,
1276}
1277impl ::core::marker::Copy for IDLDESC {}
1278impl ::core::clone::Clone for IDLDESC {
1279 fn clone(&self) -> Self {
1280 *self
1281 }
1282}
1283pub type IDataAdviseHolder = *mut ::core::ffi::c_void;
1284pub type IDataObject = *mut ::core::ffi::c_void;
1285pub type IDispatch = *mut ::core::ffi::c_void;
1286pub type IEnumCATEGORYINFO = *mut ::core::ffi::c_void;
1287pub type IEnumConnectionPoints = *mut ::core::ffi::c_void;
1288pub type IEnumConnections = *mut ::core::ffi::c_void;
1289#[repr(C)]
1290pub struct IEnumContextProps(pub u8);
1291pub type IEnumFORMATETC = *mut ::core::ffi::c_void;
1292pub type IEnumGUID = *mut ::core::ffi::c_void;
1293pub type IEnumMoniker = *mut ::core::ffi::c_void;
1294pub type IEnumSTATDATA = *mut ::core::ffi::c_void;
1295pub type IEnumString = *mut ::core::ffi::c_void;
1296pub type IEnumUnknown = *mut ::core::ffi::c_void;
1297pub type IErrorInfo = *mut ::core::ffi::c_void;
1298pub type IErrorLog = *mut ::core::ffi::c_void;
1299pub type IExternalConnection = *mut ::core::ffi::c_void;
1300pub type IFastRundown = *mut ::core::ffi::c_void;
1301pub type IForegroundTransfer = *mut ::core::ffi::c_void;
1302pub type IGlobalInterfaceTable = *mut ::core::ffi::c_void;
1303pub type IGlobalOptions = *mut ::core::ffi::c_void;
1304pub type IInitializeSpy = *mut ::core::ffi::c_void;
1305pub type IInternalUnknown = *mut ::core::ffi::c_void;
1306pub type IMachineGlobalObjectTable = *mut ::core::ffi::c_void;
1307pub type IMalloc = *mut ::core::ffi::c_void;
1308pub type IMallocSpy = *mut ::core::ffi::c_void;
1309pub type IMoniker = *mut ::core::ffi::c_void;
1310pub type IMultiQI = *mut ::core::ffi::c_void;
1311#[repr(C)]
04454e1e 1312#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1313pub struct INTERFACEINFO {
1314 pub pUnk: ::windows_sys::core::IUnknown,
1315 pub iid: ::windows_sys::core::GUID,
1316 pub wMethod: u16,
1317}
1318impl ::core::marker::Copy for INTERFACEINFO {}
1319impl ::core::clone::Clone for INTERFACEINFO {
1320 fn clone(&self) -> Self {
1321 *self
1322 }
1323}
04454e1e 1324#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1325pub type INVOKEKIND = i32;
04454e1e 1326#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1327pub const INVOKE_FUNC: INVOKEKIND = 1i32;
04454e1e 1328#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1329pub const INVOKE_PROPERTYGET: INVOKEKIND = 2i32;
04454e1e 1330#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1331pub const INVOKE_PROPERTYPUT: INVOKEKIND = 4i32;
04454e1e 1332#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1333pub const INVOKE_PROPERTYPUTREF: INVOKEKIND = 8i32;
1334pub type INoMarshal = *mut ::core::ffi::c_void;
1335pub type IOplockStorage = *mut ::core::ffi::c_void;
1336pub type IPSFactoryBuffer = *mut ::core::ffi::c_void;
1337pub type IPersist = *mut ::core::ffi::c_void;
1338pub type IPersistFile = *mut ::core::ffi::c_void;
1339pub type IPersistMemory = *mut ::core::ffi::c_void;
1340pub type IPersistStream = *mut ::core::ffi::c_void;
1341pub type IPersistStreamInit = *mut ::core::ffi::c_void;
1342pub type IPipeByte = *mut ::core::ffi::c_void;
1343pub type IPipeDouble = *mut ::core::ffi::c_void;
1344pub type IPipeLong = *mut ::core::ffi::c_void;
1345pub type IProcessInitControl = *mut ::core::ffi::c_void;
1346pub type IProcessLock = *mut ::core::ffi::c_void;
1347pub type IProgressNotify = *mut ::core::ffi::c_void;
1348pub type IROTData = *mut ::core::ffi::c_void;
1349pub type IReleaseMarshalBuffers = *mut ::core::ffi::c_void;
1350pub type IRpcChannelBuffer = *mut ::core::ffi::c_void;
1351pub type IRpcChannelBuffer2 = *mut ::core::ffi::c_void;
1352pub type IRpcChannelBuffer3 = *mut ::core::ffi::c_void;
1353pub type IRpcHelper = *mut ::core::ffi::c_void;
1354pub type IRpcOptions = *mut ::core::ffi::c_void;
1355pub type IRpcProxyBuffer = *mut ::core::ffi::c_void;
1356pub type IRpcStubBuffer = *mut ::core::ffi::c_void;
1357pub type IRpcSyntaxNegotiate = *mut ::core::ffi::c_void;
1358pub type IRunnableObject = *mut ::core::ffi::c_void;
1359pub type IRunningObjectTable = *mut ::core::ffi::c_void;
1360pub type ISequentialStream = *mut ::core::ffi::c_void;
1361pub type IServerSecurity = *mut ::core::ffi::c_void;
1362pub type IServiceProvider = *mut ::core::ffi::c_void;
1363pub type IStdMarshalInfo = *mut ::core::ffi::c_void;
1364pub type IStream = *mut ::core::ffi::c_void;
1365pub type ISupportErrorInfo = *mut ::core::ffi::c_void;
1366pub type ISurrogate = *mut ::core::ffi::c_void;
1367pub type ISurrogateService = *mut ::core::ffi::c_void;
1368pub type ISynchronize = *mut ::core::ffi::c_void;
1369pub type ISynchronizeContainer = *mut ::core::ffi::c_void;
1370pub type ISynchronizeEvent = *mut ::core::ffi::c_void;
1371pub type ISynchronizeHandle = *mut ::core::ffi::c_void;
1372pub type ISynchronizeMutex = *mut ::core::ffi::c_void;
1373pub type ITimeAndNoticeControl = *mut ::core::ffi::c_void;
1374pub type ITypeComp = *mut ::core::ffi::c_void;
1375pub type ITypeInfo = *mut ::core::ffi::c_void;
1376pub type ITypeInfo2 = *mut ::core::ffi::c_void;
1377pub type ITypeLib = *mut ::core::ffi::c_void;
1378pub type ITypeLib2 = *mut ::core::ffi::c_void;
1379pub type ITypeLibRegistration = *mut ::core::ffi::c_void;
1380pub type ITypeLibRegistrationReader = *mut ::core::ffi::c_void;
1381pub type IUri = *mut ::core::ffi::c_void;
1382pub type IUriBuilder = *mut ::core::ffi::c_void;
1383pub type IUrlMon = *mut ::core::ffi::c_void;
1384pub type IWaitMultiple = *mut ::core::ffi::c_void;
1385#[repr(C)]
04454e1e 1386#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1387pub struct LONG_SIZEDARR {
1388 pub clSize: u32,
1389 pub pData: *mut u32,
1390}
1391impl ::core::marker::Copy for LONG_SIZEDARR {}
1392impl ::core::clone::Clone for LONG_SIZEDARR {
1393 fn clone(&self) -> Self {
1394 *self
1395 }
1396}
04454e1e 1397#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1398#[cfg(feature = "Win32_Foundation")]
1399pub type LPEXCEPFINO_DEFERRED_FILLIN = ::core::option::Option<unsafe extern "system" fn(pexcepinfo: *mut EXCEPINFO) -> ::windows_sys::core::HRESULT>;
04454e1e 1400#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1401pub type LPFNCANUNLOADNOW = ::core::option::Option<unsafe extern "system" fn() -> ::windows_sys::core::HRESULT>;
04454e1e 1402#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1403pub type LPFNGETCLASSOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const ::windows_sys::core::GUID, param1: *const ::windows_sys::core::GUID, param2: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 1404#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1405pub const MARSHALINTERFACE_MIN: u32 = 500u32;
04454e1e 1406#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1407pub const MAXLSN: u64 = 9223372036854775807u64;
04454e1e 1408#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1409pub type MEMCTX = i32;
04454e1e 1410#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1411pub const MEMCTX_TASK: MEMCTX = 1i32;
04454e1e 1412#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1413pub const MEMCTX_SHARED: MEMCTX = 2i32;
04454e1e 1414#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1415pub const MEMCTX_MACSYSTEM: MEMCTX = 3i32;
04454e1e 1416#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1417pub const MEMCTX_UNKNOWN: MEMCTX = -1i32;
04454e1e 1418#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1419pub const MEMCTX_SAME: MEMCTX = -2i32;
04454e1e 1420#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1421pub type MKREDUCE = i32;
04454e1e 1422#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1423pub const MKRREDUCE_ONE: MKREDUCE = 196608i32;
04454e1e 1424#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1425pub const MKRREDUCE_TOUSER: MKREDUCE = 131072i32;
04454e1e 1426#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1427pub const MKRREDUCE_THROUGHUSER: MKREDUCE = 65536i32;
04454e1e 1428#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1429pub const MKRREDUCE_ALL: MKREDUCE = 0i32;
04454e1e 1430#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1431pub type MKSYS = i32;
04454e1e 1432#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1433pub const MKSYS_NONE: MKSYS = 0i32;
04454e1e 1434#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1435pub const MKSYS_GENERICCOMPOSITE: MKSYS = 1i32;
04454e1e 1436#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1437pub const MKSYS_FILEMONIKER: MKSYS = 2i32;
04454e1e 1438#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1439pub const MKSYS_ANTIMONIKER: MKSYS = 3i32;
04454e1e 1440#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1441pub const MKSYS_ITEMMONIKER: MKSYS = 4i32;
04454e1e 1442#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1443pub const MKSYS_POINTERMONIKER: MKSYS = 5i32;
04454e1e 1444#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1445pub const MKSYS_CLASSMONIKER: MKSYS = 7i32;
04454e1e 1446#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1447pub const MKSYS_OBJREFMONIKER: MKSYS = 8i32;
04454e1e 1448#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1449pub const MKSYS_SESSIONMONIKER: MKSYS = 9i32;
04454e1e 1450#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1451pub const MKSYS_LUAMONIKER: MKSYS = 10i32;
04454e1e 1452#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1453pub type MSHCTX = i32;
04454e1e 1454#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1455pub const MSHCTX_LOCAL: MSHCTX = 0i32;
04454e1e 1456#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1457pub const MSHCTX_NOSHAREDMEM: MSHCTX = 1i32;
04454e1e 1458#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1459pub const MSHCTX_DIFFERENTMACHINE: MSHCTX = 2i32;
04454e1e 1460#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1461pub const MSHCTX_INPROC: MSHCTX = 3i32;
04454e1e 1462#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1463pub const MSHCTX_CROSSCTX: MSHCTX = 4i32;
04454e1e 1464#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1465pub const MSHCTX_CONTAINER: MSHCTX = 5i32;
04454e1e 1466#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1467pub type MSHLFLAGS = i32;
04454e1e 1468#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1469pub const MSHLFLAGS_NORMAL: MSHLFLAGS = 0i32;
04454e1e 1470#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1471pub const MSHLFLAGS_TABLESTRONG: MSHLFLAGS = 1i32;
04454e1e 1472#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1473pub const MSHLFLAGS_TABLEWEAK: MSHLFLAGS = 2i32;
04454e1e 1474#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1475pub const MSHLFLAGS_NOPING: MSHLFLAGS = 4i32;
04454e1e 1476#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1477pub const MSHLFLAGS_RESERVED1: MSHLFLAGS = 8i32;
04454e1e 1478#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1479pub const MSHLFLAGS_RESERVED2: MSHLFLAGS = 16i32;
04454e1e 1480#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1481pub const MSHLFLAGS_RESERVED3: MSHLFLAGS = 32i32;
04454e1e 1482#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1483pub const MSHLFLAGS_RESERVED4: MSHLFLAGS = 64i32;
1484#[repr(C)]
04454e1e 1485#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1486pub struct MULTI_QI {
1487 pub pIID: *const ::windows_sys::core::GUID,
1488 pub pItf: ::windows_sys::core::IUnknown,
1489 pub hr: ::windows_sys::core::HRESULT,
1490}
1491impl ::core::marker::Copy for MULTI_QI {}
1492impl ::core::clone::Clone for MULTI_QI {
1493 fn clone(&self) -> Self {
1494 *self
1495 }
1496}
1497#[repr(C)]
04454e1e 1498#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1499pub struct MachineGlobalObjectTableRegistrationToken__ {
1500 pub unused: i32,
1501}
1502impl ::core::marker::Copy for MachineGlobalObjectTableRegistrationToken__ {}
1503impl ::core::clone::Clone for MachineGlobalObjectTableRegistrationToken__ {
1504 fn clone(&self) -> Self {
1505 *self
1506 }
1507}
04454e1e 1508#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1509pub type PENDINGMSG = i32;
04454e1e 1510#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1511pub const PENDINGMSG_CANCELCALL: PENDINGMSG = 0i32;
04454e1e 1512#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1513pub const PENDINGMSG_WAITNOPROCESS: PENDINGMSG = 1i32;
04454e1e 1514#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1515pub const PENDINGMSG_WAITDEFPROCESS: PENDINGMSG = 2i32;
04454e1e 1516#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1517pub type PENDINGTYPE = i32;
04454e1e 1518#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1519pub const PENDINGTYPE_TOPLEVEL: PENDINGTYPE = 1i32;
04454e1e 1520#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1521pub const PENDINGTYPE_NESTED: PENDINGTYPE = 2i32;
04454e1e 1522#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1523pub type PFNCONTEXTCALL = ::core::option::Option<unsafe extern "system" fn(pparam: *mut ComCallData) -> ::windows_sys::core::HRESULT>;
1524#[repr(C)]
04454e1e 1525#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1526pub struct QUERYCONTEXT {
1527 pub dwContext: u32,
1528 pub Platform: CSPLATFORM,
1529 pub Locale: u32,
1530 pub dwVersionHi: u32,
1531 pub dwVersionLo: u32,
1532}
1533impl ::core::marker::Copy for QUERYCONTEXT {}
1534impl ::core::clone::Clone for QUERYCONTEXT {
1535 fn clone(&self) -> Self {
1536 *self
1537 }
1538}
04454e1e 1539#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1540pub type REGCLS = i32;
04454e1e 1541#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1542pub const REGCLS_SINGLEUSE: REGCLS = 0i32;
04454e1e 1543#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1544pub const REGCLS_MULTIPLEUSE: REGCLS = 1i32;
04454e1e 1545#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1546pub const REGCLS_MULTI_SEPARATE: REGCLS = 2i32;
04454e1e 1547#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1548pub const REGCLS_SUSPENDED: REGCLS = 4i32;
04454e1e 1549#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1550pub const REGCLS_SURROGATE: REGCLS = 8i32;
04454e1e 1551#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1552pub const REGCLS_AGILE: REGCLS = 16i32;
04454e1e 1553#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1554pub const ROTREGFLAGS_ALLOWANYCLIENT: u32 = 1u32;
1555#[repr(C)]
04454e1e 1556#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1557pub struct RPCOLEMESSAGE {
1558 pub reserved1: *mut ::core::ffi::c_void,
1559 pub dataRepresentation: u32,
1560 pub Buffer: *mut ::core::ffi::c_void,
1561 pub cbBuffer: u32,
1562 pub iMethod: u32,
1563 pub reserved2: [*mut ::core::ffi::c_void; 5],
1564 pub rpcFlags: u32,
1565}
1566impl ::core::marker::Copy for RPCOLEMESSAGE {}
1567impl ::core::clone::Clone for RPCOLEMESSAGE {
1568 fn clone(&self) -> Self {
1569 *self
1570 }
1571}
04454e1e 1572#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1573pub type RPCOPT_PROPERTIES = i32;
04454e1e 1574#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1575pub const COMBND_RPCTIMEOUT: RPCOPT_PROPERTIES = 1i32;
04454e1e 1576#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1577pub const COMBND_SERVER_LOCALITY: RPCOPT_PROPERTIES = 2i32;
04454e1e 1578#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1579pub const COMBND_RESERVED1: RPCOPT_PROPERTIES = 4i32;
04454e1e 1580#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1581pub const COMBND_RESERVED2: RPCOPT_PROPERTIES = 5i32;
04454e1e 1582#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1583pub const COMBND_RESERVED3: RPCOPT_PROPERTIES = 8i32;
04454e1e 1584#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1585pub const COMBND_RESERVED4: RPCOPT_PROPERTIES = 16i32;
04454e1e 1586#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1587pub type RPCOPT_SERVER_LOCALITY_VALUES = i32;
04454e1e 1588#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1589pub const SERVER_LOCALITY_PROCESS_LOCAL: RPCOPT_SERVER_LOCALITY_VALUES = 0i32;
04454e1e 1590#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1591pub const SERVER_LOCALITY_MACHINE_LOCAL: RPCOPT_SERVER_LOCALITY_VALUES = 1i32;
04454e1e 1592#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1593pub const SERVER_LOCALITY_REMOTE: RPCOPT_SERVER_LOCALITY_VALUES = 2i32;
04454e1e 1594#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1595pub type RPC_C_AUTHN_LEVEL = u32;
04454e1e 1596#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1597pub const RPC_C_AUTHN_LEVEL_DEFAULT: RPC_C_AUTHN_LEVEL = 0u32;
04454e1e 1598#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1599pub const RPC_C_AUTHN_LEVEL_NONE: RPC_C_AUTHN_LEVEL = 1u32;
04454e1e 1600#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1601pub const RPC_C_AUTHN_LEVEL_CONNECT: RPC_C_AUTHN_LEVEL = 2u32;
04454e1e 1602#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1603pub const RPC_C_AUTHN_LEVEL_CALL: RPC_C_AUTHN_LEVEL = 3u32;
04454e1e 1604#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1605pub const RPC_C_AUTHN_LEVEL_PKT: RPC_C_AUTHN_LEVEL = 4u32;
04454e1e 1606#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1607pub const RPC_C_AUTHN_LEVEL_PKT_INTEGRITY: RPC_C_AUTHN_LEVEL = 5u32;
04454e1e 1608#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1609pub const RPC_C_AUTHN_LEVEL_PKT_PRIVACY: RPC_C_AUTHN_LEVEL = 6u32;
04454e1e 1610#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1611pub type RPC_C_IMP_LEVEL = u32;
04454e1e 1612#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1613pub const RPC_C_IMP_LEVEL_DEFAULT: RPC_C_IMP_LEVEL = 0u32;
04454e1e 1614#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1615pub const RPC_C_IMP_LEVEL_ANONYMOUS: RPC_C_IMP_LEVEL = 1u32;
04454e1e 1616#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1617pub const RPC_C_IMP_LEVEL_IDENTIFY: RPC_C_IMP_LEVEL = 2u32;
04454e1e 1618#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1619pub const RPC_C_IMP_LEVEL_IMPERSONATE: RPC_C_IMP_LEVEL = 3u32;
04454e1e 1620#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1621pub const RPC_C_IMP_LEVEL_DELEGATE: RPC_C_IMP_LEVEL = 4u32;
1622#[repr(C)]
04454e1e 1623#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1624pub struct RemSTGMEDIUM {
1625 pub tymed: u32,
1626 pub dwHandleType: u32,
1627 pub pData: u32,
1628 pub pUnkForRelease: u32,
1629 pub cbData: u32,
1630 pub data: [u8; 1],
1631}
1632impl ::core::marker::Copy for RemSTGMEDIUM {}
1633impl ::core::clone::Clone for RemSTGMEDIUM {
1634 fn clone(&self) -> Self {
1635 *self
1636 }
1637}
1638#[repr(C)]
04454e1e 1639#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1640pub struct SAFEARRAY {
1641 pub cDims: u16,
1642 pub fFeatures: u16,
1643 pub cbElements: u32,
1644 pub cLocks: u32,
1645 pub pvData: *mut ::core::ffi::c_void,
1646 pub rgsabound: [SAFEARRAYBOUND; 1],
1647}
1648impl ::core::marker::Copy for SAFEARRAY {}
1649impl ::core::clone::Clone for SAFEARRAY {
1650 fn clone(&self) -> Self {
1651 *self
1652 }
1653}
1654#[repr(C)]
04454e1e 1655#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1656pub struct SAFEARRAYBOUND {
1657 pub cElements: u32,
1658 pub lLbound: i32,
1659}
1660impl ::core::marker::Copy for SAFEARRAYBOUND {}
1661impl ::core::clone::Clone for SAFEARRAYBOUND {
1662 fn clone(&self) -> Self {
1663 *self
1664 }
1665}
1666#[repr(C)]
04454e1e 1667#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1668pub struct SChannelHookCallInfo {
1669 pub iid: ::windows_sys::core::GUID,
1670 pub cbSize: u32,
1671 pub uCausality: ::windows_sys::core::GUID,
1672 pub dwServerPid: u32,
1673 pub iMethod: u32,
1674 pub pObject: *mut ::core::ffi::c_void,
1675}
1676impl ::core::marker::Copy for SChannelHookCallInfo {}
1677impl ::core::clone::Clone for SChannelHookCallInfo {
1678 fn clone(&self) -> Self {
1679 *self
1680 }
1681}
04454e1e 1682#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1683pub type SERVERCALL = i32;
04454e1e 1684#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1685pub const SERVERCALL_ISHANDLED: SERVERCALL = 0i32;
04454e1e 1686#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1687pub const SERVERCALL_REJECTED: SERVERCALL = 1i32;
04454e1e 1688#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1689pub const SERVERCALL_RETRYLATER: SERVERCALL = 2i32;
1690#[repr(C)]
04454e1e 1691#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1692pub struct SHORT_SIZEDARR {
1693 pub clSize: u32,
1694 pub pData: *mut u16,
1695}
1696impl ::core::marker::Copy for SHORT_SIZEDARR {}
1697impl ::core::clone::Clone for SHORT_SIZEDARR {
1698 fn clone(&self) -> Self {
1699 *self
1700 }
1701}
1702#[repr(C)]
04454e1e 1703#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1704pub struct SOLE_AUTHENTICATION_INFO {
1705 pub dwAuthnSvc: u32,
1706 pub dwAuthzSvc: u32,
1707 pub pAuthInfo: *mut ::core::ffi::c_void,
1708}
1709impl ::core::marker::Copy for SOLE_AUTHENTICATION_INFO {}
1710impl ::core::clone::Clone for SOLE_AUTHENTICATION_INFO {
1711 fn clone(&self) -> Self {
1712 *self
1713 }
1714}
1715#[repr(C)]
04454e1e 1716#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1717pub struct SOLE_AUTHENTICATION_LIST {
1718 pub cAuthInfo: u32,
1719 pub aAuthInfo: *mut SOLE_AUTHENTICATION_INFO,
1720}
1721impl ::core::marker::Copy for SOLE_AUTHENTICATION_LIST {}
1722impl ::core::clone::Clone for SOLE_AUTHENTICATION_LIST {
1723 fn clone(&self) -> Self {
1724 *self
1725 }
1726}
1727#[repr(C)]
04454e1e 1728#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1729pub struct SOLE_AUTHENTICATION_SERVICE {
1730 pub dwAuthnSvc: u32,
1731 pub dwAuthzSvc: u32,
04454e1e 1732 pub pPrincipalName: ::windows_sys::core::PWSTR,
5e7ed085
FG
1733 pub hr: ::windows_sys::core::HRESULT,
1734}
5e7ed085 1735impl ::core::marker::Copy for SOLE_AUTHENTICATION_SERVICE {}
5e7ed085
FG
1736impl ::core::clone::Clone for SOLE_AUTHENTICATION_SERVICE {
1737 fn clone(&self) -> Self {
1738 *self
1739 }
1740}
1741#[repr(C)]
04454e1e 1742#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1743pub struct STATDATA {
1744 pub formatetc: FORMATETC,
1745 pub advf: u32,
1746 pub pAdvSink: IAdviseSink,
1747 pub dwConnection: u32,
1748}
1749impl ::core::marker::Copy for STATDATA {}
1750impl ::core::clone::Clone for STATDATA {
1751 fn clone(&self) -> Self {
1752 *self
1753 }
1754}
1755#[repr(C)]
04454e1e 1756#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1757#[cfg(feature = "Win32_Foundation")]
1758pub struct STATSTG {
04454e1e 1759 pub pwcsName: ::windows_sys::core::PWSTR,
5e7ed085
FG
1760 pub r#type: u32,
1761 pub cbSize: u64,
1762 pub mtime: super::super::Foundation::FILETIME,
1763 pub ctime: super::super::Foundation::FILETIME,
1764 pub atime: super::super::Foundation::FILETIME,
1765 pub grfMode: u32,
1766 pub grfLocksSupported: u32,
1767 pub clsid: ::windows_sys::core::GUID,
1768 pub grfStateBits: u32,
1769 pub reserved: u32,
1770}
1771#[cfg(feature = "Win32_Foundation")]
1772impl ::core::marker::Copy for STATSTG {}
1773#[cfg(feature = "Win32_Foundation")]
1774impl ::core::clone::Clone for STATSTG {
1775 fn clone(&self) -> Self {
1776 *self
1777 }
1778}
1779#[repr(C)]
04454e1e
FG
1780#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"]
1781#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1782pub struct STGMEDIUM {
1783 pub tymed: u32,
1784 pub Anonymous: STGMEDIUM_0,
1785 pub pUnkForRelease: ::windows_sys::core::IUnknown,
1786}
04454e1e 1787#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085 1788impl ::core::marker::Copy for STGMEDIUM {}
04454e1e 1789#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1790impl ::core::clone::Clone for STGMEDIUM {
1791 fn clone(&self) -> Self {
1792 *self
1793 }
1794}
1795#[repr(C)]
04454e1e
FG
1796#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"]
1797#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1798pub union STGMEDIUM_0 {
1799 pub hBitmap: super::super::Graphics::Gdi::HBITMAP,
1800 pub hMetaFilePict: *mut ::core::ffi::c_void,
1801 pub hEnhMetaFile: super::super::Graphics::Gdi::HENHMETAFILE,
1802 pub hGlobal: isize,
04454e1e 1803 pub lpszFileName: ::windows_sys::core::PWSTR,
5e7ed085
FG
1804 pub pstm: IStream,
1805 pub pstg: StructuredStorage::IStorage,
1806}
04454e1e 1807#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085 1808impl ::core::marker::Copy for STGMEDIUM_0 {}
04454e1e 1809#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))]
5e7ed085
FG
1810impl ::core::clone::Clone for STGMEDIUM_0 {
1811 fn clone(&self) -> Self {
1812 *self
1813 }
1814}
04454e1e 1815#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1816pub type STGTY = i32;
04454e1e 1817#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1818pub const STGTY_STORAGE: STGTY = 1i32;
04454e1e 1819#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1820pub const STGTY_STREAM: STGTY = 2i32;
04454e1e 1821#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1822pub const STGTY_LOCKBYTES: STGTY = 3i32;
04454e1e 1823#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1824pub const STGTY_PROPERTY: STGTY = 4i32;
04454e1e 1825#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1826pub const STGTY_REPEAT: i32 = 256i32;
04454e1e 1827#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1828pub const STG_LAYOUT_INTERLEAVED: i32 = 1i32;
04454e1e 1829#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1830pub const STG_LAYOUT_SEQUENTIAL: i32 = 0i32;
04454e1e 1831#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1832pub const STG_TOEND: i32 = -1i32;
04454e1e 1833#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1834pub type STREAM_SEEK = u32;
04454e1e 1835#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1836pub const STREAM_SEEK_SET: STREAM_SEEK = 0u32;
04454e1e 1837#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1838pub const STREAM_SEEK_CUR: STREAM_SEEK = 1u32;
04454e1e 1839#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1840pub const STREAM_SEEK_END: STREAM_SEEK = 2u32;
04454e1e 1841#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1842pub type SYSKIND = i32;
04454e1e 1843#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1844pub const SYS_WIN16: SYSKIND = 0i32;
04454e1e 1845#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1846pub const SYS_WIN32: SYSKIND = 1i32;
04454e1e 1847#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1848pub const SYS_MAC: SYSKIND = 2i32;
04454e1e 1849#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1850pub const SYS_WIN64: SYSKIND = 3i32;
04454e1e 1851#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1852pub type ShutdownType = i32;
04454e1e 1853#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1854pub const IdleShutdown: ShutdownType = 0i32;
04454e1e 1855#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1856pub const ForcedShutdown: ShutdownType = 1i32;
1857#[repr(C)]
04454e1e 1858#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1859pub struct StorageLayout {
1860 pub LayoutType: u32,
04454e1e 1861 pub pwcsElementName: ::windows_sys::core::PWSTR,
5e7ed085
FG
1862 pub cOffset: i64,
1863 pub cBytes: i64,
1864}
5e7ed085 1865impl ::core::marker::Copy for StorageLayout {}
5e7ed085
FG
1866impl ::core::clone::Clone for StorageLayout {
1867 fn clone(&self) -> Self {
1868 *self
1869 }
1870}
04454e1e 1871#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1872pub type THDTYPE = i32;
04454e1e 1873#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1874pub const THDTYPE_BLOCKMESSAGES: THDTYPE = 0i32;
04454e1e 1875#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1876pub const THDTYPE_PROCESSMESSAGES: THDTYPE = 1i32;
1877#[repr(C)]
04454e1e 1878#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1879pub struct TLIBATTR {
1880 pub guid: ::windows_sys::core::GUID,
1881 pub lcid: u32,
1882 pub syskind: SYSKIND,
1883 pub wMajorVerNum: u16,
1884 pub wMinorVerNum: u16,
1885 pub wLibFlags: u16,
1886}
1887impl ::core::marker::Copy for TLIBATTR {}
1888impl ::core::clone::Clone for TLIBATTR {
1889 fn clone(&self) -> Self {
1890 *self
1891 }
1892}
04454e1e 1893#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1894pub type TYMED = i32;
04454e1e 1895#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1896pub const TYMED_HGLOBAL: TYMED = 1i32;
04454e1e 1897#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1898pub const TYMED_FILE: TYMED = 2i32;
04454e1e 1899#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1900pub const TYMED_ISTREAM: TYMED = 4i32;
04454e1e 1901#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1902pub const TYMED_ISTORAGE: TYMED = 8i32;
04454e1e 1903#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1904pub const TYMED_GDI: TYMED = 16i32;
04454e1e 1905#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1906pub const TYMED_MFPICT: TYMED = 32i32;
04454e1e 1907#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1908pub const TYMED_ENHMF: TYMED = 64i32;
04454e1e 1909#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
1910pub const TYMED_NULL: TYMED = 0i32;
1911#[repr(C)]
04454e1e
FG
1912#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
1913#[cfg(feature = "Win32_System_Ole")]
5e7ed085
FG
1914pub struct TYPEATTR {
1915 pub guid: ::windows_sys::core::GUID,
1916 pub lcid: u32,
1917 pub dwReserved: u32,
1918 pub memidConstructor: i32,
1919 pub memidDestructor: i32,
04454e1e 1920 pub lpstrSchema: ::windows_sys::core::PWSTR,
5e7ed085
FG
1921 pub cbSizeInstance: u32,
1922 pub typekind: TYPEKIND,
1923 pub cFuncs: u16,
1924 pub cVars: u16,
1925 pub cImplTypes: u16,
1926 pub cbSizeVft: u16,
1927 pub cbAlignment: u16,
1928 pub wTypeFlags: u16,
1929 pub wMajorVerNum: u16,
1930 pub wMinorVerNum: u16,
1931 pub tdescAlias: TYPEDESC,
1932 pub idldescType: IDLDESC,
1933}
04454e1e 1934#[cfg(feature = "Win32_System_Ole")]
5e7ed085 1935impl ::core::marker::Copy for TYPEATTR {}
04454e1e 1936#[cfg(feature = "Win32_System_Ole")]
5e7ed085
FG
1937impl ::core::clone::Clone for TYPEATTR {
1938 fn clone(&self) -> Self {
1939 *self
1940 }
1941}
1942#[repr(C)]
04454e1e 1943#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
1944#[cfg(feature = "Win32_System_Ole")]
1945pub struct TYPEDESC {
1946 pub Anonymous: TYPEDESC_0,
1947 pub vt: u16,
1948}
1949#[cfg(feature = "Win32_System_Ole")]
1950impl ::core::marker::Copy for TYPEDESC {}
1951#[cfg(feature = "Win32_System_Ole")]
1952impl ::core::clone::Clone for TYPEDESC {
1953 fn clone(&self) -> Self {
1954 *self
1955 }
1956}
1957#[repr(C)]
04454e1e 1958#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
1959#[cfg(feature = "Win32_System_Ole")]
1960pub union TYPEDESC_0 {
1961 pub lptdesc: *mut TYPEDESC,
1962 pub lpadesc: *mut super::Ole::ARRAYDESC,
1963 pub hreftype: u32,
1964}
1965#[cfg(feature = "Win32_System_Ole")]
1966impl ::core::marker::Copy for TYPEDESC_0 {}
1967#[cfg(feature = "Win32_System_Ole")]
1968impl ::core::clone::Clone for TYPEDESC_0 {
1969 fn clone(&self) -> Self {
1970 *self
1971 }
1972}
04454e1e 1973#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1974pub type TYPEKIND = i32;
04454e1e 1975#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1976pub const TKIND_ENUM: TYPEKIND = 0i32;
04454e1e 1977#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1978pub const TKIND_RECORD: TYPEKIND = 1i32;
04454e1e 1979#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1980pub const TKIND_MODULE: TYPEKIND = 2i32;
04454e1e 1981#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1982pub const TKIND_INTERFACE: TYPEKIND = 3i32;
04454e1e 1983#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1984pub const TKIND_DISPATCH: TYPEKIND = 4i32;
04454e1e 1985#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1986pub const TKIND_COCLASS: TYPEKIND = 5i32;
04454e1e 1987#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1988pub const TKIND_ALIAS: TYPEKIND = 6i32;
04454e1e 1989#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1990pub const TKIND_UNION: TYPEKIND = 7i32;
04454e1e 1991#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1992pub const TKIND_MAX: TYPEKIND = 8i32;
04454e1e 1993#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1994pub type TYSPEC = i32;
04454e1e 1995#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1996pub const TYSPEC_CLSID: TYSPEC = 0i32;
04454e1e 1997#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 1998pub const TYSPEC_FILEEXT: TYSPEC = 1i32;
04454e1e 1999#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2000pub const TYSPEC_MIMETYPE: TYSPEC = 2i32;
04454e1e 2001#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2002pub const TYSPEC_FILENAME: TYSPEC = 3i32;
04454e1e 2003#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2004pub const TYSPEC_PROGID: TYSPEC = 4i32;
04454e1e 2005#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2006pub const TYSPEC_PACKAGENAME: TYSPEC = 5i32;
04454e1e 2007#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2008pub const TYSPEC_OBJECTID: TYSPEC = 6i32;
04454e1e 2009#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2010pub type URI_CREATE_FLAGS = u32;
04454e1e 2011#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2012pub const Uri_CREATE_ALLOW_RELATIVE: URI_CREATE_FLAGS = 1u32;
04454e1e 2013#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2014pub const Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME: URI_CREATE_FLAGS = 2u32;
04454e1e 2015#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2016pub const Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME: URI_CREATE_FLAGS = 4u32;
04454e1e 2017#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2018pub const Uri_CREATE_NOFRAG: URI_CREATE_FLAGS = 8u32;
04454e1e 2019#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2020pub const Uri_CREATE_NO_CANONICALIZE: URI_CREATE_FLAGS = 16u32;
04454e1e 2021#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2022pub const Uri_CREATE_CANONICALIZE: URI_CREATE_FLAGS = 256u32;
04454e1e 2023#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2024pub const Uri_CREATE_FILE_USE_DOS_PATH: URI_CREATE_FLAGS = 32u32;
04454e1e 2025#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2026pub const Uri_CREATE_DECODE_EXTRA_INFO: URI_CREATE_FLAGS = 64u32;
04454e1e 2027#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2028pub const Uri_CREATE_NO_DECODE_EXTRA_INFO: URI_CREATE_FLAGS = 128u32;
04454e1e 2029#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2030pub const Uri_CREATE_CRACK_UNKNOWN_SCHEMES: URI_CREATE_FLAGS = 512u32;
04454e1e 2031#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2032pub const Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES: URI_CREATE_FLAGS = 1024u32;
04454e1e 2033#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2034pub const Uri_CREATE_PRE_PROCESS_HTML_URI: URI_CREATE_FLAGS = 2048u32;
04454e1e 2035#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2036pub const Uri_CREATE_NO_PRE_PROCESS_HTML_URI: URI_CREATE_FLAGS = 4096u32;
04454e1e 2037#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2038pub const Uri_CREATE_IE_SETTINGS: URI_CREATE_FLAGS = 8192u32;
04454e1e 2039#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2040pub const Uri_CREATE_NO_IE_SETTINGS: URI_CREATE_FLAGS = 16384u32;
04454e1e 2041#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2042pub const Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS: URI_CREATE_FLAGS = 32768u32;
04454e1e 2043#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2044pub const Uri_CREATE_NORMALIZE_INTL_CHARACTERS: URI_CREATE_FLAGS = 65536u32;
04454e1e 2045#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2046pub const Uri_CREATE_CANONICALIZE_ABSOLUTE: URI_CREATE_FLAGS = 131072u32;
04454e1e 2047#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2048pub type Uri_PROPERTY = i32;
04454e1e 2049#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2050pub const Uri_PROPERTY_ABSOLUTE_URI: Uri_PROPERTY = 0i32;
04454e1e 2051#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2052pub const Uri_PROPERTY_STRING_START: Uri_PROPERTY = 0i32;
04454e1e 2053#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2054pub const Uri_PROPERTY_AUTHORITY: Uri_PROPERTY = 1i32;
04454e1e 2055#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2056pub const Uri_PROPERTY_DISPLAY_URI: Uri_PROPERTY = 2i32;
04454e1e 2057#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2058pub const Uri_PROPERTY_DOMAIN: Uri_PROPERTY = 3i32;
04454e1e 2059#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2060pub const Uri_PROPERTY_EXTENSION: Uri_PROPERTY = 4i32;
04454e1e 2061#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2062pub const Uri_PROPERTY_FRAGMENT: Uri_PROPERTY = 5i32;
04454e1e 2063#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2064pub const Uri_PROPERTY_HOST: Uri_PROPERTY = 6i32;
04454e1e 2065#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2066pub const Uri_PROPERTY_PASSWORD: Uri_PROPERTY = 7i32;
04454e1e 2067#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2068pub const Uri_PROPERTY_PATH: Uri_PROPERTY = 8i32;
04454e1e 2069#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2070pub const Uri_PROPERTY_PATH_AND_QUERY: Uri_PROPERTY = 9i32;
04454e1e 2071#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2072pub const Uri_PROPERTY_QUERY: Uri_PROPERTY = 10i32;
04454e1e 2073#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2074pub const Uri_PROPERTY_RAW_URI: Uri_PROPERTY = 11i32;
04454e1e 2075#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2076pub const Uri_PROPERTY_SCHEME_NAME: Uri_PROPERTY = 12i32;
04454e1e 2077#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2078pub const Uri_PROPERTY_USER_INFO: Uri_PROPERTY = 13i32;
04454e1e 2079#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2080pub const Uri_PROPERTY_USER_NAME: Uri_PROPERTY = 14i32;
04454e1e 2081#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2082pub const Uri_PROPERTY_STRING_LAST: Uri_PROPERTY = 14i32;
04454e1e 2083#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2084pub const Uri_PROPERTY_HOST_TYPE: Uri_PROPERTY = 15i32;
04454e1e 2085#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2086pub const Uri_PROPERTY_DWORD_START: Uri_PROPERTY = 15i32;
04454e1e 2087#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2088pub const Uri_PROPERTY_PORT: Uri_PROPERTY = 16i32;
04454e1e 2089#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2090pub const Uri_PROPERTY_SCHEME: Uri_PROPERTY = 17i32;
04454e1e 2091#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2092pub const Uri_PROPERTY_ZONE: Uri_PROPERTY = 18i32;
04454e1e 2093#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2094pub const Uri_PROPERTY_DWORD_LAST: Uri_PROPERTY = 18i32;
2095#[repr(C)]
04454e1e 2096#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2097#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2098pub struct VARDESC {
2099 pub memid: i32,
04454e1e 2100 pub lpstrSchema: ::windows_sys::core::PWSTR,
5e7ed085
FG
2101 pub Anonymous: VARDESC_0,
2102 pub elemdescVar: ELEMDESC,
2103 pub wVarFlags: u16,
2104 pub varkind: VARKIND,
2105}
2106#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2107impl ::core::marker::Copy for VARDESC {}
2108#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2109impl ::core::clone::Clone for VARDESC {
2110 fn clone(&self) -> Self {
2111 *self
2112 }
2113}
2114#[repr(C)]
04454e1e 2115#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2116#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2117pub union VARDESC_0 {
2118 pub oInst: u32,
2119 pub lpvarValue: *mut VARIANT,
2120}
2121#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2122impl ::core::marker::Copy for VARDESC_0 {}
2123#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2124impl ::core::clone::Clone for VARDESC_0 {
2125 fn clone(&self) -> Self {
2126 *self
2127 }
2128}
2129#[repr(C)]
04454e1e 2130#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2131#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2132pub struct VARIANT {
2133 pub Anonymous: VARIANT_0,
2134}
2135#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2136impl ::core::marker::Copy for VARIANT {}
2137#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2138impl ::core::clone::Clone for VARIANT {
2139 fn clone(&self) -> Self {
2140 *self
2141 }
2142}
2143#[repr(C)]
04454e1e 2144#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2145#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2146pub union VARIANT_0 {
2147 pub Anonymous: VARIANT_0_0,
2148 pub decVal: super::super::Foundation::DECIMAL,
2149}
2150#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2151impl ::core::marker::Copy for VARIANT_0 {}
2152#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2153impl ::core::clone::Clone for VARIANT_0 {
2154 fn clone(&self) -> Self {
2155 *self
2156 }
2157}
2158#[repr(C)]
04454e1e 2159#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2160#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2161pub struct VARIANT_0_0 {
2162 pub vt: u16,
2163 pub wReserved1: u16,
2164 pub wReserved2: u16,
2165 pub wReserved3: u16,
2166 pub Anonymous: VARIANT_0_0_0,
2167}
2168#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2169impl ::core::marker::Copy for VARIANT_0_0 {}
2170#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2171impl ::core::clone::Clone for VARIANT_0_0 {
2172 fn clone(&self) -> Self {
2173 *self
2174 }
2175}
2176#[repr(C)]
04454e1e 2177#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2178#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2179pub union VARIANT_0_0_0 {
2180 pub llVal: i64,
2181 pub lVal: i32,
2182 pub bVal: u8,
2183 pub iVal: i16,
2184 pub fltVal: f32,
2185 pub dblVal: f64,
2186 pub boolVal: i16,
2187 pub __OBSOLETE__VARIANT_BOOL: i16,
2188 pub scode: i32,
2189 pub cyVal: CY,
2190 pub date: f64,
2191 pub bstrVal: super::super::Foundation::BSTR,
2192 pub punkVal: ::windows_sys::core::IUnknown,
2193 pub pdispVal: IDispatch,
2194 pub parray: *mut SAFEARRAY,
2195 pub pbVal: *mut u8,
2196 pub piVal: *mut i16,
2197 pub plVal: *mut i32,
2198 pub pllVal: *mut i64,
2199 pub pfltVal: *mut f32,
2200 pub pdblVal: *mut f64,
2201 pub pboolVal: *mut i16,
2202 pub __OBSOLETE__VARIANT_PBOOL: *mut i16,
2203 pub pscode: *mut i32,
2204 pub pcyVal: *mut CY,
2205 pub pdate: *mut f64,
2206 pub pbstrVal: *mut super::super::Foundation::BSTR,
2207 pub ppunkVal: *mut ::windows_sys::core::IUnknown,
2208 pub ppdispVal: *mut IDispatch,
2209 pub pparray: *mut *mut SAFEARRAY,
2210 pub pvarVal: *mut VARIANT,
2211 pub byref: *mut ::core::ffi::c_void,
2212 pub cVal: super::super::Foundation::CHAR,
2213 pub uiVal: u16,
2214 pub ulVal: u32,
2215 pub ullVal: u64,
2216 pub intVal: i32,
2217 pub uintVal: u32,
2218 pub pdecVal: *mut super::super::Foundation::DECIMAL,
04454e1e 2219 pub pcVal: ::windows_sys::core::PSTR,
5e7ed085
FG
2220 pub puiVal: *mut u16,
2221 pub pulVal: *mut u32,
2222 pub pullVal: *mut u64,
2223 pub pintVal: *mut i32,
2224 pub puintVal: *mut u32,
2225 pub Anonymous: VARIANT_0_0_0_0,
2226}
2227#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2228impl ::core::marker::Copy for VARIANT_0_0_0 {}
2229#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2230impl ::core::clone::Clone for VARIANT_0_0_0 {
2231 fn clone(&self) -> Self {
2232 *self
2233 }
2234}
2235#[repr(C)]
04454e1e 2236#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"]
5e7ed085
FG
2237#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2238pub struct VARIANT_0_0_0_0 {
2239 pub pvRecord: *mut ::core::ffi::c_void,
2240 pub pRecInfo: super::Ole::IRecordInfo,
2241}
2242#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2243impl ::core::marker::Copy for VARIANT_0_0_0_0 {}
2244#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))]
2245impl ::core::clone::Clone for VARIANT_0_0_0_0 {
2246 fn clone(&self) -> Self {
2247 *self
2248 }
2249}
04454e1e 2250#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2251pub type VARKIND = i32;
04454e1e 2252#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2253pub const VAR_PERINSTANCE: VARKIND = 0i32;
04454e1e 2254#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2255pub const VAR_STATIC: VARKIND = 1i32;
04454e1e 2256#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2257pub const VAR_CONST: VARKIND = 2i32;
04454e1e 2258#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2259pub const VAR_DISPATCH: VARKIND = 3i32;
2260#[repr(C)]
04454e1e 2261#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2262pub struct WORD_BLOB {
2263 pub clSize: u32,
2264 pub asData: [u16; 1],
2265}
2266impl ::core::marker::Copy for WORD_BLOB {}
2267impl ::core::clone::Clone for WORD_BLOB {
2268 fn clone(&self) -> Self {
2269 *self
2270 }
2271}
04454e1e 2272#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2273pub const _CRT_INTERNAL_COMBASE_SYMBOL_PREFIX: &'static str = "_";
2274#[repr(C)]
04454e1e 2275#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2276pub struct uCLSSPEC {
2277 pub tyspec: u32,
2278 pub tagged_union: uCLSSPEC_0,
2279}
5e7ed085 2280impl ::core::marker::Copy for uCLSSPEC {}
5e7ed085
FG
2281impl ::core::clone::Clone for uCLSSPEC {
2282 fn clone(&self) -> Self {
2283 *self
2284 }
2285}
2286#[repr(C)]
04454e1e 2287#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2288pub union uCLSSPEC_0 {
2289 pub clsid: ::windows_sys::core::GUID,
04454e1e
FG
2290 pub pFileExt: ::windows_sys::core::PWSTR,
2291 pub pMimeType: ::windows_sys::core::PWSTR,
2292 pub pProgId: ::windows_sys::core::PWSTR,
2293 pub pFileName: ::windows_sys::core::PWSTR,
5e7ed085
FG
2294 pub ByName: uCLSSPEC_0_0,
2295 pub ByObjectId: uCLSSPEC_0_1,
2296}
5e7ed085 2297impl ::core::marker::Copy for uCLSSPEC_0 {}
5e7ed085
FG
2298impl ::core::clone::Clone for uCLSSPEC_0 {
2299 fn clone(&self) -> Self {
2300 *self
2301 }
2302}
2303#[repr(C)]
04454e1e 2304#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085 2305pub struct uCLSSPEC_0_0 {
04454e1e 2306 pub pPackageName: ::windows_sys::core::PWSTR,
5e7ed085
FG
2307 pub PolicyId: ::windows_sys::core::GUID,
2308}
5e7ed085 2309impl ::core::marker::Copy for uCLSSPEC_0_0 {}
5e7ed085
FG
2310impl ::core::clone::Clone for uCLSSPEC_0_0 {
2311 fn clone(&self) -> Self {
2312 *self
2313 }
2314}
2315#[repr(C)]
04454e1e 2316#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2317pub struct uCLSSPEC_0_1 {
2318 pub ObjectId: ::windows_sys::core::GUID,
2319 pub PolicyId: ::windows_sys::core::GUID,
2320}
5e7ed085 2321impl ::core::marker::Copy for uCLSSPEC_0_1 {}
5e7ed085
FG
2322impl ::core::clone::Clone for uCLSSPEC_0_1 {
2323 fn clone(&self) -> Self {
2324 *self
2325 }
2326}
2327#[repr(C)]
04454e1e 2328#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2329pub struct userFLAG_STGMEDIUM {
2330 pub ContextFlags: i32,
2331 pub fPassOwnership: i32,
2332 pub Stgmed: userSTGMEDIUM,
2333}
2334impl ::core::marker::Copy for userFLAG_STGMEDIUM {}
2335impl ::core::clone::Clone for userFLAG_STGMEDIUM {
2336 fn clone(&self) -> Self {
2337 *self
2338 }
2339}
2340#[repr(C)]
04454e1e 2341#[doc = "*Required features: `\"Win32_System_Com\"`*"]
5e7ed085
FG
2342pub struct userSTGMEDIUM {
2343 pub pUnkForRelease: ::windows_sys::core::IUnknown,
2344}
2345impl ::core::marker::Copy for userSTGMEDIUM {}
2346impl ::core::clone::Clone for userSTGMEDIUM {
2347 fn clone(&self) -> Self {
2348 *self
2349 }
2350}
2351#[repr(C)]
04454e1e
FG
2352#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_SystemServices\"`*"]
2353#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085
FG
2354pub struct userSTGMEDIUM_0 {
2355 pub tymed: u32,
2356 pub u: userSTGMEDIUM_0_0,
2357}
04454e1e 2358#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085 2359impl ::core::marker::Copy for userSTGMEDIUM_0 {}
04454e1e 2360#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085
FG
2361impl ::core::clone::Clone for userSTGMEDIUM_0 {
2362 fn clone(&self) -> Self {
2363 *self
2364 }
2365}
2366#[repr(C)]
04454e1e
FG
2367#[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_SystemServices\"`*"]
2368#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085
FG
2369pub union userSTGMEDIUM_0_0 {
2370 pub hMetaFilePict: *mut super::SystemServices::userHMETAFILEPICT,
2371 pub hHEnhMetaFile: *mut super::SystemServices::userHENHMETAFILE,
2372 pub hGdiHandle: *mut GDI_OBJECT,
2373 pub hGlobal: *mut super::SystemServices::userHGLOBAL,
04454e1e 2374 pub lpszFileName: ::windows_sys::core::PWSTR,
5e7ed085
FG
2375 pub pstm: *mut BYTE_BLOB,
2376 pub pstg: *mut BYTE_BLOB,
2377}
04454e1e 2378#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085 2379impl ::core::marker::Copy for userSTGMEDIUM_0_0 {}
04454e1e 2380#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))]
5e7ed085
FG
2381impl ::core::clone::Clone for userSTGMEDIUM_0_0 {
2382 fn clone(&self) -> Self {
2383 *self
2384 }
2385}