]>
Commit | Line | Data |
---|---|---|
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")] | |
3 | pub mod CallObj; | |
4 | #[cfg(feature = "Win32_System_Com_ChannelCredentials")] | |
5 | pub mod ChannelCredentials; | |
6 | #[cfg(feature = "Win32_System_Com_Events")] | |
7 | pub mod Events; | |
8 | #[cfg(feature = "Win32_System_Com_Marshal")] | |
9 | pub mod Marshal; | |
10 | #[cfg(feature = "Win32_System_Com_StructuredStorage")] | |
11 | pub mod StructuredStorage; | |
12 | #[cfg(feature = "Win32_System_Com_UI")] | |
13 | pub mod UI; | |
14 | #[cfg(feature = "Win32_System_Com_Urlmon")] | |
15 | pub mod Urlmon; | |
16 | #[link(name = "windows")] | |
17 | extern "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 | 254 | pub type ADVF = i32; |
04454e1e | 255 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 256 | pub const ADVF_NODATA: ADVF = 1i32; |
04454e1e | 257 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 258 | pub const ADVF_PRIMEFIRST: ADVF = 2i32; |
04454e1e | 259 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 260 | pub const ADVF_ONLYONCE: ADVF = 4i32; |
04454e1e | 261 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 262 | pub const ADVF_DATAONSTOP: ADVF = 64i32; |
04454e1e | 263 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 264 | pub const ADVFCACHE_NOHANDLER: ADVF = 8i32; |
04454e1e | 265 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 266 | pub const ADVFCACHE_FORCEBUILTIN: ADVF = 16i32; |
04454e1e | 267 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 268 | pub const ADVFCACHE_ONSAVE: ADVF = 32i32; |
04454e1e | 269 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 270 | pub const APPIDREGFLAGS_AAA_NO_IMPLICIT_ACTIVATE_AS_IU: u32 = 2048u32; |
04454e1e | 271 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 272 | pub const APPIDREGFLAGS_ACTIVATE_IUSERVER_INDESKTOP: u32 = 1u32; |
04454e1e | 273 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 274 | pub const APPIDREGFLAGS_ISSUE_ACTIVATION_RPC_AT_IDENTIFY: u32 = 4u32; |
04454e1e | 275 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 276 | pub const APPIDREGFLAGS_IUSERVER_ACTIVATE_IN_CLIENT_SESSION_ONLY: u32 = 32u32; |
04454e1e | 277 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 278 | pub const APPIDREGFLAGS_IUSERVER_SELF_SID_IN_LAUNCH_PERMISSION: u32 = 16u32; |
04454e1e | 279 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 280 | pub const APPIDREGFLAGS_IUSERVER_UNMODIFIED_LOGON_TOKEN: u32 = 8u32; |
04454e1e | 281 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 282 | pub const APPIDREGFLAGS_RESERVED1: u32 = 64u32; |
04454e1e | 283 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 284 | pub const APPIDREGFLAGS_RESERVED2: u32 = 128u32; |
04454e1e | 285 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 286 | pub const APPIDREGFLAGS_RESERVED3: u32 = 256u32; |
04454e1e | 287 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 288 | pub const APPIDREGFLAGS_RESERVED4: u32 = 512u32; |
04454e1e | 289 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 290 | pub const APPIDREGFLAGS_RESERVED5: u32 = 1024u32; |
04454e1e | 291 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 292 | pub const APPIDREGFLAGS_RESERVED7: u32 = 4096u32; |
04454e1e | 293 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 294 | pub const APPIDREGFLAGS_RESERVED8: u32 = 8192u32; |
04454e1e | 295 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 296 | pub const APPIDREGFLAGS_RESERVED9: u32 = 16384u32; |
04454e1e | 297 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 298 | pub const APPIDREGFLAGS_SECURE_SERVER_PROCESS_SD_AND_BIND: u32 = 2u32; |
04454e1e | 299 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 300 | pub type APTTYPE = i32; |
04454e1e | 301 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 302 | pub const APTTYPE_CURRENT: APTTYPE = -1i32; |
04454e1e | 303 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 304 | pub const APTTYPE_STA: APTTYPE = 0i32; |
04454e1e | 305 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 306 | pub const APTTYPE_MTA: APTTYPE = 1i32; |
04454e1e | 307 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 308 | pub const APTTYPE_NA: APTTYPE = 2i32; |
04454e1e | 309 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 310 | pub const APTTYPE_MAINSTA: APTTYPE = 3i32; |
04454e1e | 311 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 312 | pub type APTTYPEQUALIFIER = i32; |
04454e1e | 313 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 314 | pub const APTTYPEQUALIFIER_NONE: APTTYPEQUALIFIER = 0i32; |
04454e1e | 315 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 316 | pub const APTTYPEQUALIFIER_IMPLICIT_MTA: APTTYPEQUALIFIER = 1i32; |
04454e1e | 317 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 318 | pub const APTTYPEQUALIFIER_NA_ON_MTA: APTTYPEQUALIFIER = 2i32; |
04454e1e | 319 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 320 | pub const APTTYPEQUALIFIER_NA_ON_STA: APTTYPEQUALIFIER = 3i32; |
04454e1e | 321 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 322 | pub const APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA: APTTYPEQUALIFIER = 4i32; |
04454e1e | 323 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 324 | pub const APTTYPEQUALIFIER_NA_ON_MAINSTA: APTTYPEQUALIFIER = 5i32; |
04454e1e | 325 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 326 | pub const APTTYPEQUALIFIER_APPLICATION_STA: APTTYPEQUALIFIER = 6i32; |
04454e1e | 327 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 328 | pub const APTTYPEQUALIFIER_RESERVED_1: APTTYPEQUALIFIER = 7i32; |
04454e1e | 329 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 330 | pub const ASYNC_MODE_COMPATIBILITY: i32 = 1i32; |
04454e1e | 331 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
332 | pub const ASYNC_MODE_DEFAULT: i32 = 0i32; |
333 | #[repr(C)] | |
04454e1e | 334 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
335 | pub struct AUTHENTICATEINFO { |
336 | pub dwFlags: u32, | |
337 | pub dwReserved: u32, | |
338 | } | |
339 | impl ::core::marker::Copy for AUTHENTICATEINFO {} | |
340 | impl ::core::clone::Clone for AUTHENTICATEINFO { | |
341 | fn clone(&self) -> Self { | |
342 | *self | |
343 | } | |
344 | } | |
04454e1e | 345 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 346 | pub type ApplicationType = i32; |
04454e1e | 347 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 348 | pub const ServerApplication: ApplicationType = 0i32; |
04454e1e | 349 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
350 | pub const LibraryApplication: ApplicationType = 1i32; |
351 | pub type AsyncIAdviseSink = *mut ::core::ffi::c_void; | |
352 | pub type AsyncIAdviseSink2 = *mut ::core::ffi::c_void; | |
353 | pub type AsyncIMultiQI = *mut ::core::ffi::c_void; | |
354 | pub type AsyncIPipeByte = *mut ::core::ffi::c_void; | |
355 | pub type AsyncIPipeDouble = *mut ::core::ffi::c_void; | |
356 | pub type AsyncIPipeLong = *mut ::core::ffi::c_void; | |
357 | pub 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"))] |
361 | pub 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"))] | |
378 | impl ::core::marker::Copy for BINDINFO {} | |
379 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] | |
380 | impl ::core::clone::Clone for BINDINFO { | |
381 | fn clone(&self) -> Self { | |
382 | *self | |
383 | } | |
384 | } | |
04454e1e | 385 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 386 | pub type BINDINFOF = i32; |
04454e1e | 387 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 388 | pub const BINDINFOF_URLENCODESTGMEDDATA: BINDINFOF = 1i32; |
04454e1e | 389 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
390 | pub 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"))] |
394 | pub 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"))] | |
400 | impl ::core::marker::Copy for BINDPTR {} | |
401 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
402 | impl ::core::clone::Clone for BINDPTR { | |
403 | fn clone(&self) -> Self { | |
404 | *self | |
405 | } | |
406 | } | |
04454e1e | 407 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 408 | pub type BIND_FLAGS = i32; |
04454e1e | 409 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 410 | pub const BIND_MAYBOTHERUSER: BIND_FLAGS = 1i32; |
04454e1e | 411 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
412 | pub const BIND_JUSTTESTEXISTENCE: BIND_FLAGS = 2i32; |
413 | #[repr(C)] | |
04454e1e | 414 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
415 | pub struct BIND_OPTS { |
416 | pub cbStruct: u32, | |
417 | pub grfFlags: u32, | |
418 | pub grfMode: u32, | |
419 | pub dwTickCountDeadline: u32, | |
420 | } | |
421 | impl ::core::marker::Copy for BIND_OPTS {} | |
422 | impl ::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 |
429 | pub 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 | 436 | impl ::core::marker::Copy for BIND_OPTS2 {} |
5e7ed085 FG |
437 | impl ::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")] |
445 | pub struct BIND_OPTS3 { | |
446 | pub __AnonymousBase_objidl_L9041_C36: BIND_OPTS2, | |
447 | pub hwnd: super::super::Foundation::HWND, | |
448 | } | |
449 | #[cfg(feature = "Win32_Foundation")] | |
450 | impl ::core::marker::Copy for BIND_OPTS3 {} | |
451 | #[cfg(feature = "Win32_Foundation")] | |
452 | impl ::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 |
459 | pub struct BLOB { |
460 | pub cbSize: u32, | |
461 | pub pBlobData: *mut u8, | |
462 | } | |
463 | impl ::core::marker::Copy for BLOB {} | |
464 | impl ::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 |
471 | pub struct BYTE_BLOB { |
472 | pub clSize: u32, | |
473 | pub abData: [u8; 1], | |
474 | } | |
475 | impl ::core::marker::Copy for BYTE_BLOB {} | |
476 | impl ::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 |
483 | pub struct BYTE_SIZEDARR { |
484 | pub clSize: u32, | |
485 | pub pData: *mut u8, | |
486 | } | |
487 | impl ::core::marker::Copy for BYTE_SIZEDARR {} | |
488 | impl ::core::clone::Clone for BYTE_SIZEDARR { | |
489 | fn clone(&self) -> Self { | |
490 | *self | |
491 | } | |
492 | } | |
04454e1e | 493 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 494 | pub type CALLCONV = i32; |
04454e1e | 495 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 496 | pub const CC_FASTCALL: CALLCONV = 0i32; |
04454e1e | 497 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 498 | pub const CC_CDECL: CALLCONV = 1i32; |
04454e1e | 499 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 500 | pub const CC_MSCPASCAL: CALLCONV = 2i32; |
04454e1e | 501 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 502 | pub const CC_PASCAL: CALLCONV = 2i32; |
04454e1e | 503 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 504 | pub const CC_MACPASCAL: CALLCONV = 3i32; |
04454e1e | 505 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 506 | pub const CC_STDCALL: CALLCONV = 4i32; |
04454e1e | 507 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 508 | pub const CC_FPFASTCALL: CALLCONV = 5i32; |
04454e1e | 509 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 510 | pub const CC_SYSCALL: CALLCONV = 6i32; |
04454e1e | 511 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 512 | pub const CC_MPWCDECL: CALLCONV = 7i32; |
04454e1e | 513 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 514 | pub const CC_MPWPASCAL: CALLCONV = 8i32; |
04454e1e | 515 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 516 | pub const CC_MAX: CALLCONV = 9i32; |
04454e1e | 517 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 518 | pub type CALLTYPE = i32; |
04454e1e | 519 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 520 | pub const CALLTYPE_TOPLEVEL: CALLTYPE = 1i32; |
04454e1e | 521 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 522 | pub const CALLTYPE_NESTED: CALLTYPE = 2i32; |
04454e1e | 523 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 524 | pub const CALLTYPE_ASYNC: CALLTYPE = 3i32; |
04454e1e | 525 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 526 | pub const CALLTYPE_TOPLEVEL_CALLPENDING: CALLTYPE = 4i32; |
04454e1e | 527 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
528 | pub const CALLTYPE_ASYNC_CALLPENDING: CALLTYPE = 5i32; |
529 | #[repr(C)] | |
04454e1e | 530 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
531 | pub struct CATEGORYINFO { |
532 | pub catid: ::windows_sys::core::GUID, | |
533 | pub lcid: u32, | |
534 | pub szDescription: [u16; 128], | |
535 | } | |
536 | impl ::core::marker::Copy for CATEGORYINFO {} | |
537 | impl ::core::clone::Clone for CATEGORYINFO { | |
538 | fn clone(&self) -> Self { | |
539 | *self | |
540 | } | |
541 | } | |
04454e1e | 542 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 543 | pub type CLSCTX = u32; |
04454e1e | 544 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 545 | pub const CLSCTX_INPROC_SERVER: CLSCTX = 1u32; |
04454e1e | 546 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 547 | pub const CLSCTX_INPROC_HANDLER: CLSCTX = 2u32; |
04454e1e | 548 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 549 | pub const CLSCTX_LOCAL_SERVER: CLSCTX = 4u32; |
04454e1e | 550 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 551 | pub const CLSCTX_INPROC_SERVER16: CLSCTX = 8u32; |
04454e1e | 552 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 553 | pub const CLSCTX_REMOTE_SERVER: CLSCTX = 16u32; |
04454e1e | 554 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 555 | pub const CLSCTX_INPROC_HANDLER16: CLSCTX = 32u32; |
04454e1e | 556 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 557 | pub const CLSCTX_RESERVED1: CLSCTX = 64u32; |
04454e1e | 558 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 559 | pub const CLSCTX_RESERVED2: CLSCTX = 128u32; |
04454e1e | 560 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 561 | pub const CLSCTX_RESERVED3: CLSCTX = 256u32; |
04454e1e | 562 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 563 | pub const CLSCTX_RESERVED4: CLSCTX = 512u32; |
04454e1e | 564 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 565 | pub const CLSCTX_NO_CODE_DOWNLOAD: CLSCTX = 1024u32; |
04454e1e | 566 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 567 | pub const CLSCTX_RESERVED5: CLSCTX = 2048u32; |
04454e1e | 568 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 569 | pub const CLSCTX_NO_CUSTOM_MARSHAL: CLSCTX = 4096u32; |
04454e1e | 570 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 571 | pub const CLSCTX_ENABLE_CODE_DOWNLOAD: CLSCTX = 8192u32; |
04454e1e | 572 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 573 | pub const CLSCTX_NO_FAILURE_LOG: CLSCTX = 16384u32; |
04454e1e | 574 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 575 | pub const CLSCTX_DISABLE_AAA: CLSCTX = 32768u32; |
04454e1e | 576 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 577 | pub const CLSCTX_ENABLE_AAA: CLSCTX = 65536u32; |
04454e1e | 578 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 579 | pub const CLSCTX_FROM_DEFAULT_CONTEXT: CLSCTX = 131072u32; |
04454e1e | 580 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 581 | pub const CLSCTX_ACTIVATE_X86_SERVER: CLSCTX = 262144u32; |
04454e1e | 582 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 583 | pub const CLSCTX_ACTIVATE_32_BIT_SERVER: CLSCTX = 262144u32; |
04454e1e | 584 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 585 | pub const CLSCTX_ACTIVATE_64_BIT_SERVER: CLSCTX = 524288u32; |
04454e1e | 586 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 587 | pub const CLSCTX_ENABLE_CLOAKING: CLSCTX = 1048576u32; |
04454e1e | 588 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 589 | pub const CLSCTX_APPCONTAINER: CLSCTX = 4194304u32; |
04454e1e | 590 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 591 | pub const CLSCTX_ACTIVATE_AAA_AS_IU: CLSCTX = 8388608u32; |
04454e1e | 592 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 593 | pub const CLSCTX_RESERVED6: CLSCTX = 16777216u32; |
04454e1e | 594 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 595 | pub const CLSCTX_ACTIVATE_ARM32_SERVER: CLSCTX = 33554432u32; |
04454e1e | 596 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 597 | pub const CLSCTX_PS_DLL: CLSCTX = 2147483648u32; |
04454e1e | 598 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 599 | pub const CLSCTX_ALL: CLSCTX = 23u32; |
04454e1e | 600 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
601 | pub const CLSCTX_SERVER: CLSCTX = 21u32; |
602 | #[repr(C)] | |
04454e1e | 603 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
604 | pub 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 | } | |
613 | impl ::core::marker::Copy for COAUTHIDENTITY {} | |
614 | impl ::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 |
621 | pub 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 | 630 | impl ::core::marker::Copy for COAUTHINFO {} |
5e7ed085 FG |
631 | impl ::core::clone::Clone for COAUTHINFO { |
632 | fn clone(&self) -> Self { | |
633 | *self | |
634 | } | |
635 | } | |
04454e1e | 636 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 637 | pub type COINIT = u32; |
04454e1e | 638 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 639 | pub const COINIT_APARTMENTTHREADED: COINIT = 2u32; |
04454e1e | 640 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 641 | pub const COINIT_MULTITHREADED: COINIT = 0u32; |
04454e1e | 642 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 643 | pub const COINIT_DISABLE_OLE1DDE: COINIT = 4u32; |
04454e1e | 644 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 645 | pub const COINIT_SPEED_OVER_MEMORY: COINIT = 8u32; |
04454e1e | 646 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 647 | pub type COINITBASE = i32; |
04454e1e | 648 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 649 | pub const COINITBASE_MULTITHREADED: COINITBASE = 0i32; |
04454e1e | 650 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 651 | pub type COMSD = i32; |
04454e1e | 652 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 653 | pub const SD_LAUNCHPERMISSIONS: COMSD = 0i32; |
04454e1e | 654 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 655 | pub const SD_ACCESSPERMISSIONS: COMSD = 1i32; |
04454e1e | 656 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 657 | pub const SD_LAUNCHRESTRICTIONS: COMSD = 2i32; |
04454e1e | 658 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 659 | pub const SD_ACCESSRESTRICTIONS: COMSD = 3i32; |
04454e1e | 660 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 661 | pub const COM_RIGHTS_ACTIVATE_LOCAL: u32 = 8u32; |
04454e1e | 662 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 663 | pub const COM_RIGHTS_ACTIVATE_REMOTE: u32 = 16u32; |
04454e1e | 664 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 665 | pub const COM_RIGHTS_EXECUTE: u32 = 1u32; |
04454e1e | 666 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 667 | pub const COM_RIGHTS_EXECUTE_LOCAL: u32 = 2u32; |
04454e1e | 668 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 669 | pub const COM_RIGHTS_EXECUTE_REMOTE: u32 = 4u32; |
04454e1e | 670 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 671 | pub const COM_RIGHTS_RESERVED1: u32 = 32u32; |
04454e1e | 672 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
673 | pub const COM_RIGHTS_RESERVED2: u32 = 64u32; |
674 | #[repr(C)] | |
04454e1e | 675 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
676 | pub struct CONNECTDATA { |
677 | pub pUnk: ::windows_sys::core::IUnknown, | |
678 | pub dwCookie: u32, | |
679 | } | |
680 | impl ::core::marker::Copy for CONNECTDATA {} | |
681 | impl ::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 |
688 | pub 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 | 694 | impl ::core::marker::Copy for COSERVERINFO {} |
5e7ed085 FG |
695 | impl ::core::clone::Clone for COSERVERINFO { |
696 | fn clone(&self) -> Self { | |
697 | *self | |
698 | } | |
699 | } | |
04454e1e | 700 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 701 | pub type COWAIT_FLAGS = i32; |
04454e1e | 702 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 703 | pub const COWAIT_DEFAULT: COWAIT_FLAGS = 0i32; |
04454e1e | 704 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 705 | pub const COWAIT_WAITALL: COWAIT_FLAGS = 1i32; |
04454e1e | 706 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 707 | pub const COWAIT_ALERTABLE: COWAIT_FLAGS = 2i32; |
04454e1e | 708 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 709 | pub const COWAIT_INPUTAVAILABLE: COWAIT_FLAGS = 4i32; |
04454e1e | 710 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 711 | pub const COWAIT_DISPATCH_CALLS: COWAIT_FLAGS = 8i32; |
04454e1e | 712 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
713 | pub const COWAIT_DISPATCH_WINDOW_MESSAGES: COWAIT_FLAGS = 16i32; |
714 | pub type CO_DEVICE_CATALOG_COOKIE = isize; | |
04454e1e | 715 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 716 | pub type CO_MARSHALING_CONTEXT_ATTRIBUTES = i32; |
04454e1e | 717 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 718 | pub const CO_MARSHALING_SOURCE_IS_APP_CONTAINER: CO_MARSHALING_CONTEXT_ATTRIBUTES = 0i32; |
04454e1e | 719 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 720 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483648i32; |
04454e1e | 721 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 722 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483647i32; |
04454e1e | 723 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 724 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483646i32; |
04454e1e | 725 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 726 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483645i32; |
04454e1e | 727 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 728 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483644i32; |
04454e1e | 729 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 730 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483643i32; |
04454e1e | 731 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 732 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483642i32; |
04454e1e | 733 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 734 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483641i32; |
04454e1e | 735 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 736 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483640i32; |
04454e1e | 737 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 738 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483639i32; |
04454e1e | 739 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 740 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483638i32; |
04454e1e | 741 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 742 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483637i32; |
04454e1e | 743 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 744 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483636i32; |
04454e1e | 745 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 746 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483635i32; |
04454e1e | 747 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 748 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_15: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483634i32; |
04454e1e | 749 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 750 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_16: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483633i32; |
04454e1e | 751 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 752 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_17: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483632i32; |
04454e1e | 753 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
754 | pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_18: CO_MARSHALING_CONTEXT_ATTRIBUTES = -2147483631i32; |
755 | pub type CO_MTA_USAGE_COOKIE = isize; | |
756 | #[repr(C)] | |
04454e1e | 757 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
758 | pub struct CSPLATFORM { |
759 | pub dwPlatformId: u32, | |
760 | pub dwVersionHi: u32, | |
761 | pub dwVersionLo: u32, | |
762 | pub dwProcessorArch: u32, | |
763 | } | |
764 | impl ::core::marker::Copy for CSPLATFORM {} | |
765 | impl ::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"))] |
773 | pub struct CUSTDATA { | |
774 | pub cCustData: u32, | |
775 | pub prgCustData: *mut CUSTDATAITEM, | |
776 | } | |
777 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
778 | impl ::core::marker::Copy for CUSTDATA {} | |
779 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
780 | impl ::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"))] |
788 | pub struct CUSTDATAITEM { | |
789 | pub guid: ::windows_sys::core::GUID, | |
790 | pub varValue: VARIANT, | |
791 | } | |
792 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
793 | impl ::core::marker::Copy for CUSTDATAITEM {} | |
794 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
795 | impl ::core::clone::Clone for CUSTDATAITEM { | |
796 | fn clone(&self) -> Self { | |
797 | *self | |
798 | } | |
799 | } | |
04454e1e | 800 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 801 | pub type CWMO_FLAGS = i32; |
04454e1e | 802 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 803 | pub const CWMO_DEFAULT: CWMO_FLAGS = 0i32; |
04454e1e | 804 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 805 | pub const CWMO_DISPATCH_CALLS: CWMO_FLAGS = 1i32; |
04454e1e | 806 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 807 | pub const CWMO_DISPATCH_WINDOW_MESSAGES: CWMO_FLAGS = 2i32; |
04454e1e | 808 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
809 | pub const CWMO_MAX_HANDLES: u32 = 56u32; |
810 | #[repr(C)] | |
04454e1e | 811 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
812 | pub union CY { |
813 | pub Anonymous: CY_0, | |
814 | pub int64: i64, | |
815 | } | |
816 | impl ::core::marker::Copy for CY {} | |
817 | impl ::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 |
824 | pub struct CY_0 { |
825 | pub Lo: u32, | |
826 | pub Hi: i32, | |
827 | } | |
828 | impl ::core::marker::Copy for CY_0 {} | |
829 | impl ::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 |
836 | pub struct ComCallData { |
837 | pub dwDispid: u32, | |
838 | pub dwReserved: u32, | |
839 | pub pUserDefined: *mut ::core::ffi::c_void, | |
840 | } | |
841 | impl ::core::marker::Copy for ComCallData {} | |
842 | impl ::core::clone::Clone for ComCallData { | |
843 | fn clone(&self) -> Self { | |
844 | *self | |
845 | } | |
846 | } | |
04454e1e | 847 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 848 | pub type DATADIR = i32; |
04454e1e | 849 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 850 | pub const DATADIR_GET: DATADIR = 1i32; |
04454e1e | 851 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 852 | pub const DATADIR_SET: DATADIR = 2i32; |
04454e1e | 853 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 854 | pub const DCOMSCM_ACTIVATION_DISALLOW_UNSECURE_CALL: u32 = 2u32; |
04454e1e | 855 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 856 | pub const DCOMSCM_ACTIVATION_USE_ALL_AUTHNSERVICES: u32 = 1u32; |
04454e1e | 857 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 858 | pub const DCOMSCM_PING_DISALLOW_UNSECURE_CALL: u32 = 32u32; |
04454e1e | 859 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 860 | pub const DCOMSCM_PING_USE_MID_AUTHNSERVICE: u32 = 16u32; |
04454e1e | 861 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 862 | pub const DCOMSCM_RESOLVE_DISALLOW_UNSECURE_CALL: u32 = 8u32; |
04454e1e | 863 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 864 | pub const DCOMSCM_RESOLVE_USE_ALL_AUTHNSERVICES: u32 = 4u32; |
04454e1e | 865 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 866 | pub type DCOM_CALL_STATE = i32; |
04454e1e | 867 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 868 | pub const DCOM_NONE: DCOM_CALL_STATE = 0i32; |
04454e1e | 869 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 870 | pub const DCOM_CALL_COMPLETE: DCOM_CALL_STATE = 1i32; |
04454e1e | 871 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 872 | pub const DCOM_CALL_CANCELED: DCOM_CALL_STATE = 2i32; |
04454e1e | 873 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 874 | pub type DESCKIND = i32; |
04454e1e | 875 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 876 | pub const DESCKIND_NONE: DESCKIND = 0i32; |
04454e1e | 877 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 878 | pub const DESCKIND_FUNCDESC: DESCKIND = 1i32; |
04454e1e | 879 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 880 | pub const DESCKIND_VARDESC: DESCKIND = 2i32; |
04454e1e | 881 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 882 | pub const DESCKIND_TYPECOMP: DESCKIND = 3i32; |
04454e1e | 883 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 884 | pub const DESCKIND_IMPLICITAPPOBJ: DESCKIND = 4i32; |
04454e1e | 885 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
886 | pub 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"))] |
890 | pub 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"))] | |
897 | impl ::core::marker::Copy for DISPPARAMS {} | |
898 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
899 | impl ::core::clone::Clone for DISPPARAMS { | |
900 | fn clone(&self) -> Self { | |
901 | *self | |
902 | } | |
903 | } | |
04454e1e | 904 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 905 | pub const DMUS_ERRBASE: u32 = 4096u32; |
04454e1e | 906 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 907 | pub type DVASPECT = i32; |
04454e1e | 908 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 909 | pub const DVASPECT_CONTENT: DVASPECT = 1i32; |
04454e1e | 910 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 911 | pub const DVASPECT_THUMBNAIL: DVASPECT = 2i32; |
04454e1e | 912 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 913 | pub const DVASPECT_ICON: DVASPECT = 4i32; |
04454e1e | 914 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
915 | pub const DVASPECT_DOCPRINT: DVASPECT = 8i32; |
916 | #[repr(C)] | |
04454e1e | 917 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
918 | pub 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 | } | |
926 | impl ::core::marker::Copy for DVTARGETDEVICE {} | |
927 | impl ::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 |
934 | pub struct DWORD_BLOB { |
935 | pub clSize: u32, | |
936 | pub alData: [u32; 1], | |
937 | } | |
938 | impl ::core::marker::Copy for DWORD_BLOB {} | |
939 | impl ::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"))] |
947 | pub struct ELEMDESC { | |
948 | pub tdesc: TYPEDESC, | |
949 | pub Anonymous: ELEMDESC_0, | |
950 | } | |
951 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
952 | impl ::core::marker::Copy for ELEMDESC {} | |
953 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
954 | impl ::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"))] |
962 | pub union ELEMDESC_0 { | |
963 | pub idldesc: IDLDESC, | |
964 | pub paramdesc: super::Ole::PARAMDESC, | |
965 | } | |
966 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
967 | impl ::core::marker::Copy for ELEMDESC_0 {} | |
968 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
969 | impl ::core::clone::Clone for ELEMDESC_0 { | |
970 | fn clone(&self) -> Self { | |
971 | *self | |
972 | } | |
973 | } | |
04454e1e | 974 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 975 | pub type EOLE_AUTHENTICATION_CAPABILITIES = i32; |
04454e1e | 976 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 977 | pub const EOAC_NONE: EOLE_AUTHENTICATION_CAPABILITIES = 0i32; |
04454e1e | 978 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 979 | pub const EOAC_MUTUAL_AUTH: EOLE_AUTHENTICATION_CAPABILITIES = 1i32; |
04454e1e | 980 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 981 | pub const EOAC_STATIC_CLOAKING: EOLE_AUTHENTICATION_CAPABILITIES = 32i32; |
04454e1e | 982 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 983 | pub const EOAC_DYNAMIC_CLOAKING: EOLE_AUTHENTICATION_CAPABILITIES = 64i32; |
04454e1e | 984 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 985 | pub const EOAC_ANY_AUTHORITY: EOLE_AUTHENTICATION_CAPABILITIES = 128i32; |
04454e1e | 986 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 987 | pub const EOAC_MAKE_FULLSIC: EOLE_AUTHENTICATION_CAPABILITIES = 256i32; |
04454e1e | 988 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 989 | pub const EOAC_DEFAULT: EOLE_AUTHENTICATION_CAPABILITIES = 2048i32; |
04454e1e | 990 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 991 | pub const EOAC_SECURE_REFS: EOLE_AUTHENTICATION_CAPABILITIES = 2i32; |
04454e1e | 992 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 993 | pub const EOAC_ACCESS_CONTROL: EOLE_AUTHENTICATION_CAPABILITIES = 4i32; |
04454e1e | 994 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 995 | pub const EOAC_APPID: EOLE_AUTHENTICATION_CAPABILITIES = 8i32; |
04454e1e | 996 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 997 | pub const EOAC_DYNAMIC: EOLE_AUTHENTICATION_CAPABILITIES = 16i32; |
04454e1e | 998 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 999 | pub const EOAC_REQUIRE_FULLSIC: EOLE_AUTHENTICATION_CAPABILITIES = 512i32; |
04454e1e | 1000 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1001 | pub const EOAC_AUTO_IMPERSONATE: EOLE_AUTHENTICATION_CAPABILITIES = 1024i32; |
04454e1e | 1002 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1003 | pub const EOAC_DISABLE_AAA: EOLE_AUTHENTICATION_CAPABILITIES = 4096i32; |
04454e1e | 1004 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1005 | pub const EOAC_NO_CUSTOM_MARSHAL: EOLE_AUTHENTICATION_CAPABILITIES = 8192i32; |
04454e1e | 1006 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1007 | pub 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")] |
1011 | pub 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")] | |
1023 | impl ::core::marker::Copy for EXCEPINFO {} | |
1024 | #[cfg(feature = "Win32_Foundation")] | |
1025 | impl ::core::clone::Clone for EXCEPINFO { | |
1026 | fn clone(&self) -> Self { | |
1027 | *self | |
1028 | } | |
1029 | } | |
04454e1e | 1030 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1031 | pub type EXTCONN = i32; |
04454e1e | 1032 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1033 | pub const EXTCONN_STRONG: EXTCONN = 1i32; |
04454e1e | 1034 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1035 | pub const EXTCONN_WEAK: EXTCONN = 2i32; |
04454e1e | 1036 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1037 | pub const EXTCONN_CALLABLE: EXTCONN = 4i32; |
1038 | #[repr(C)] | |
04454e1e | 1039 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1040 | pub struct FLAGGED_BYTE_BLOB { |
1041 | pub fFlags: u32, | |
1042 | pub clSize: u32, | |
1043 | pub abData: [u8; 1], | |
1044 | } | |
1045 | impl ::core::marker::Copy for FLAGGED_BYTE_BLOB {} | |
1046 | impl ::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 |
1053 | pub struct FLAGGED_WORD_BLOB { |
1054 | pub fFlags: u32, | |
1055 | pub clSize: u32, | |
1056 | pub asData: [u16; 1], | |
1057 | } | |
1058 | impl ::core::marker::Copy for FLAGGED_WORD_BLOB {} | |
1059 | impl ::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 |
1067 | pub 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 | 1073 | impl ::core::marker::Copy for FLAG_STGMEDIUM {} |
04454e1e | 1074 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] |
5e7ed085 FG |
1075 | impl ::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 |
1082 | pub struct FORMATETC { |
1083 | pub cfFormat: u16, | |
1084 | pub ptd: *mut DVTARGETDEVICE, | |
1085 | pub dwAspect: u32, | |
1086 | pub lindex: i32, | |
1087 | pub tymed: u32, | |
1088 | } | |
1089 | impl ::core::marker::Copy for FORMATETC {} | |
1090 | impl ::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"))] |
1098 | pub 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"))] | |
1113 | impl ::core::marker::Copy for FUNCDESC {} | |
1114 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
1115 | impl ::core::clone::Clone for FUNCDESC { | |
1116 | fn clone(&self) -> Self { | |
1117 | *self | |
1118 | } | |
1119 | } | |
04454e1e | 1120 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1121 | pub type FUNCKIND = i32; |
04454e1e | 1122 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1123 | pub const FUNC_VIRTUAL: FUNCKIND = 0i32; |
04454e1e | 1124 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1125 | pub const FUNC_PUREVIRTUAL: FUNCKIND = 1i32; |
04454e1e | 1126 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1127 | pub const FUNC_NONVIRTUAL: FUNCKIND = 2i32; |
04454e1e | 1128 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1129 | pub const FUNC_STATIC: FUNCKIND = 3i32; |
04454e1e | 1130 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1131 | pub 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"))] |
1135 | pub 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"))] | |
1140 | impl ::core::marker::Copy for GDI_OBJECT {} | |
1141 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] | |
1142 | impl ::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"))] |
1150 | pub 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"))] | |
1156 | impl ::core::marker::Copy for GDI_OBJECT_0 {} | |
1157 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] | |
1158 | impl ::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 | 1164 | pub type GLOBALOPT_EH_VALUES = i32; |
04454e1e | 1165 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1166 | pub const COMGLB_EXCEPTION_HANDLE: GLOBALOPT_EH_VALUES = 0i32; |
04454e1e | 1167 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1168 | pub const COMGLB_EXCEPTION_DONOT_HANDLE_FATAL: GLOBALOPT_EH_VALUES = 1i32; |
04454e1e | 1169 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1170 | pub const COMGLB_EXCEPTION_DONOT_HANDLE: GLOBALOPT_EH_VALUES = 1i32; |
04454e1e | 1171 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1172 | pub const COMGLB_EXCEPTION_DONOT_HANDLE_ANY: GLOBALOPT_EH_VALUES = 2i32; |
04454e1e | 1173 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1174 | pub type GLOBALOPT_PROPERTIES = i32; |
04454e1e | 1175 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1176 | pub const COMGLB_EXCEPTION_HANDLING: GLOBALOPT_PROPERTIES = 1i32; |
04454e1e | 1177 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1178 | pub const COMGLB_APPID: GLOBALOPT_PROPERTIES = 2i32; |
04454e1e | 1179 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1180 | pub const COMGLB_RPC_THREADPOOL_SETTING: GLOBALOPT_PROPERTIES = 3i32; |
04454e1e | 1181 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1182 | pub const COMGLB_RO_SETTINGS: GLOBALOPT_PROPERTIES = 4i32; |
04454e1e | 1183 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1184 | pub const COMGLB_UNMARSHALING_POLICY: GLOBALOPT_PROPERTIES = 5i32; |
04454e1e | 1185 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1186 | pub const COMGLB_PROPERTIES_RESERVED1: GLOBALOPT_PROPERTIES = 6i32; |
04454e1e | 1187 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1188 | pub const COMGLB_PROPERTIES_RESERVED2: GLOBALOPT_PROPERTIES = 7i32; |
04454e1e | 1189 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1190 | pub const COMGLB_PROPERTIES_RESERVED3: GLOBALOPT_PROPERTIES = 8i32; |
04454e1e | 1191 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1192 | pub type GLOBALOPT_RO_FLAGS = i32; |
04454e1e | 1193 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1194 | pub const COMGLB_STA_MODALLOOP_REMOVE_TOUCH_MESSAGES: GLOBALOPT_RO_FLAGS = 1i32; |
04454e1e | 1195 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1196 | pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REMOVE_INPUT_MESSAGES: GLOBALOPT_RO_FLAGS = 2i32; |
04454e1e | 1197 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1198 | pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_DONOT_REMOVE_INPUT_MESSAGES: GLOBALOPT_RO_FLAGS = 4i32; |
04454e1e | 1199 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1200 | pub const COMGLB_FAST_RUNDOWN: GLOBALOPT_RO_FLAGS = 8i32; |
04454e1e | 1201 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1202 | pub const COMGLB_RESERVED1: GLOBALOPT_RO_FLAGS = 16i32; |
04454e1e | 1203 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1204 | pub const COMGLB_RESERVED2: GLOBALOPT_RO_FLAGS = 32i32; |
04454e1e | 1205 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1206 | pub const COMGLB_RESERVED3: GLOBALOPT_RO_FLAGS = 64i32; |
04454e1e | 1207 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1208 | pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REORDER_POINTER_MESSAGES: GLOBALOPT_RO_FLAGS = 128i32; |
04454e1e | 1209 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1210 | pub const COMGLB_RESERVED4: GLOBALOPT_RO_FLAGS = 256i32; |
04454e1e | 1211 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1212 | pub const COMGLB_RESERVED5: GLOBALOPT_RO_FLAGS = 512i32; |
04454e1e | 1213 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1214 | pub const COMGLB_RESERVED6: GLOBALOPT_RO_FLAGS = 1024i32; |
04454e1e | 1215 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1216 | pub type GLOBALOPT_RPCTP_VALUES = i32; |
04454e1e | 1217 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1218 | pub const COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL: GLOBALOPT_RPCTP_VALUES = 0i32; |
04454e1e | 1219 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1220 | pub const COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL: GLOBALOPT_RPCTP_VALUES = 1i32; |
04454e1e | 1221 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1222 | pub type GLOBALOPT_UNMARSHALING_POLICY_VALUES = i32; |
04454e1e | 1223 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1224 | pub const COMGLB_UNMARSHALING_POLICY_NORMAL: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 0i32; |
04454e1e | 1225 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1226 | pub const COMGLB_UNMARSHALING_POLICY_STRONG: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 1i32; |
04454e1e | 1227 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1228 | pub const COMGLB_UNMARSHALING_POLICY_HYBRID: GLOBALOPT_UNMARSHALING_POLICY_VALUES = 2i32; |
1229 | #[repr(C)] | |
04454e1e | 1230 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1231 | pub struct HYPER_SIZEDARR { |
1232 | pub clSize: u32, | |
1233 | pub pData: *mut i64, | |
1234 | } | |
1235 | impl ::core::marker::Copy for HYPER_SIZEDARR {} | |
1236 | impl ::core::clone::Clone for HYPER_SIZEDARR { | |
1237 | fn clone(&self) -> Self { | |
1238 | *self | |
1239 | } | |
1240 | } | |
1241 | pub type IActivationFilter = *mut ::core::ffi::c_void; | |
1242 | pub type IAddrExclusionControl = *mut ::core::ffi::c_void; | |
1243 | pub type IAddrTrackingControl = *mut ::core::ffi::c_void; | |
1244 | pub type IAdviseSink = *mut ::core::ffi::c_void; | |
1245 | pub type IAdviseSink2 = *mut ::core::ffi::c_void; | |
1246 | pub type IAgileObject = *mut ::core::ffi::c_void; | |
1247 | pub type IAsyncManager = *mut ::core::ffi::c_void; | |
1248 | pub type IAsyncRpcChannelBuffer = *mut ::core::ffi::c_void; | |
1249 | pub type IAuthenticate = *mut ::core::ffi::c_void; | |
1250 | pub type IAuthenticateEx = *mut ::core::ffi::c_void; | |
1251 | pub type IBindCtx = *mut ::core::ffi::c_void; | |
1252 | pub type IBindHost = *mut ::core::ffi::c_void; | |
1253 | pub type IBindStatusCallback = *mut ::core::ffi::c_void; | |
1254 | pub type IBindStatusCallbackEx = *mut ::core::ffi::c_void; | |
1255 | pub type IBinding = *mut ::core::ffi::c_void; | |
1256 | pub type IBlockingLock = *mut ::core::ffi::c_void; | |
1257 | pub type ICallFactory = *mut ::core::ffi::c_void; | |
1258 | pub type ICancelMethodCalls = *mut ::core::ffi::c_void; | |
1259 | pub type ICatInformation = *mut ::core::ffi::c_void; | |
1260 | pub type ICatRegister = *mut ::core::ffi::c_void; | |
1261 | pub type IChannelHook = *mut ::core::ffi::c_void; | |
1262 | pub type IClassActivator = *mut ::core::ffi::c_void; | |
1263 | pub type IClassFactory = *mut ::core::ffi::c_void; | |
1264 | pub type IClientSecurity = *mut ::core::ffi::c_void; | |
1265 | pub type IComThreadingInfo = *mut ::core::ffi::c_void; | |
1266 | pub type IConnectionPoint = *mut ::core::ffi::c_void; | |
1267 | pub type IConnectionPointContainer = *mut ::core::ffi::c_void; | |
1268 | #[repr(C)] | |
1269 | pub struct IContext(pub u8); | |
1270 | pub type IContextCallback = *mut ::core::ffi::c_void; | |
1271 | #[repr(C)] | |
04454e1e | 1272 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1273 | pub struct IDLDESC { |
1274 | pub dwReserved: usize, | |
1275 | pub wIDLFlags: u16, | |
1276 | } | |
1277 | impl ::core::marker::Copy for IDLDESC {} | |
1278 | impl ::core::clone::Clone for IDLDESC { | |
1279 | fn clone(&self) -> Self { | |
1280 | *self | |
1281 | } | |
1282 | } | |
1283 | pub type IDataAdviseHolder = *mut ::core::ffi::c_void; | |
1284 | pub type IDataObject = *mut ::core::ffi::c_void; | |
1285 | pub type IDispatch = *mut ::core::ffi::c_void; | |
1286 | pub type IEnumCATEGORYINFO = *mut ::core::ffi::c_void; | |
1287 | pub type IEnumConnectionPoints = *mut ::core::ffi::c_void; | |
1288 | pub type IEnumConnections = *mut ::core::ffi::c_void; | |
1289 | #[repr(C)] | |
1290 | pub struct IEnumContextProps(pub u8); | |
1291 | pub type IEnumFORMATETC = *mut ::core::ffi::c_void; | |
1292 | pub type IEnumGUID = *mut ::core::ffi::c_void; | |
1293 | pub type IEnumMoniker = *mut ::core::ffi::c_void; | |
1294 | pub type IEnumSTATDATA = *mut ::core::ffi::c_void; | |
1295 | pub type IEnumString = *mut ::core::ffi::c_void; | |
1296 | pub type IEnumUnknown = *mut ::core::ffi::c_void; | |
1297 | pub type IErrorInfo = *mut ::core::ffi::c_void; | |
1298 | pub type IErrorLog = *mut ::core::ffi::c_void; | |
1299 | pub type IExternalConnection = *mut ::core::ffi::c_void; | |
1300 | pub type IFastRundown = *mut ::core::ffi::c_void; | |
1301 | pub type IForegroundTransfer = *mut ::core::ffi::c_void; | |
1302 | pub type IGlobalInterfaceTable = *mut ::core::ffi::c_void; | |
1303 | pub type IGlobalOptions = *mut ::core::ffi::c_void; | |
1304 | pub type IInitializeSpy = *mut ::core::ffi::c_void; | |
1305 | pub type IInternalUnknown = *mut ::core::ffi::c_void; | |
1306 | pub type IMachineGlobalObjectTable = *mut ::core::ffi::c_void; | |
1307 | pub type IMalloc = *mut ::core::ffi::c_void; | |
1308 | pub type IMallocSpy = *mut ::core::ffi::c_void; | |
1309 | pub type IMoniker = *mut ::core::ffi::c_void; | |
1310 | pub type IMultiQI = *mut ::core::ffi::c_void; | |
1311 | #[repr(C)] | |
04454e1e | 1312 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1313 | pub struct INTERFACEINFO { |
1314 | pub pUnk: ::windows_sys::core::IUnknown, | |
1315 | pub iid: ::windows_sys::core::GUID, | |
1316 | pub wMethod: u16, | |
1317 | } | |
1318 | impl ::core::marker::Copy for INTERFACEINFO {} | |
1319 | impl ::core::clone::Clone for INTERFACEINFO { | |
1320 | fn clone(&self) -> Self { | |
1321 | *self | |
1322 | } | |
1323 | } | |
04454e1e | 1324 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1325 | pub type INVOKEKIND = i32; |
04454e1e | 1326 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1327 | pub const INVOKE_FUNC: INVOKEKIND = 1i32; |
04454e1e | 1328 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1329 | pub const INVOKE_PROPERTYGET: INVOKEKIND = 2i32; |
04454e1e | 1330 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1331 | pub const INVOKE_PROPERTYPUT: INVOKEKIND = 4i32; |
04454e1e | 1332 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1333 | pub const INVOKE_PROPERTYPUTREF: INVOKEKIND = 8i32; |
1334 | pub type INoMarshal = *mut ::core::ffi::c_void; | |
1335 | pub type IOplockStorage = *mut ::core::ffi::c_void; | |
1336 | pub type IPSFactoryBuffer = *mut ::core::ffi::c_void; | |
1337 | pub type IPersist = *mut ::core::ffi::c_void; | |
1338 | pub type IPersistFile = *mut ::core::ffi::c_void; | |
1339 | pub type IPersistMemory = *mut ::core::ffi::c_void; | |
1340 | pub type IPersistStream = *mut ::core::ffi::c_void; | |
1341 | pub type IPersistStreamInit = *mut ::core::ffi::c_void; | |
1342 | pub type IPipeByte = *mut ::core::ffi::c_void; | |
1343 | pub type IPipeDouble = *mut ::core::ffi::c_void; | |
1344 | pub type IPipeLong = *mut ::core::ffi::c_void; | |
1345 | pub type IProcessInitControl = *mut ::core::ffi::c_void; | |
1346 | pub type IProcessLock = *mut ::core::ffi::c_void; | |
1347 | pub type IProgressNotify = *mut ::core::ffi::c_void; | |
1348 | pub type IROTData = *mut ::core::ffi::c_void; | |
1349 | pub type IReleaseMarshalBuffers = *mut ::core::ffi::c_void; | |
1350 | pub type IRpcChannelBuffer = *mut ::core::ffi::c_void; | |
1351 | pub type IRpcChannelBuffer2 = *mut ::core::ffi::c_void; | |
1352 | pub type IRpcChannelBuffer3 = *mut ::core::ffi::c_void; | |
1353 | pub type IRpcHelper = *mut ::core::ffi::c_void; | |
1354 | pub type IRpcOptions = *mut ::core::ffi::c_void; | |
1355 | pub type IRpcProxyBuffer = *mut ::core::ffi::c_void; | |
1356 | pub type IRpcStubBuffer = *mut ::core::ffi::c_void; | |
1357 | pub type IRpcSyntaxNegotiate = *mut ::core::ffi::c_void; | |
1358 | pub type IRunnableObject = *mut ::core::ffi::c_void; | |
1359 | pub type IRunningObjectTable = *mut ::core::ffi::c_void; | |
1360 | pub type ISequentialStream = *mut ::core::ffi::c_void; | |
1361 | pub type IServerSecurity = *mut ::core::ffi::c_void; | |
1362 | pub type IServiceProvider = *mut ::core::ffi::c_void; | |
1363 | pub type IStdMarshalInfo = *mut ::core::ffi::c_void; | |
1364 | pub type IStream = *mut ::core::ffi::c_void; | |
1365 | pub type ISupportErrorInfo = *mut ::core::ffi::c_void; | |
1366 | pub type ISurrogate = *mut ::core::ffi::c_void; | |
1367 | pub type ISurrogateService = *mut ::core::ffi::c_void; | |
1368 | pub type ISynchronize = *mut ::core::ffi::c_void; | |
1369 | pub type ISynchronizeContainer = *mut ::core::ffi::c_void; | |
1370 | pub type ISynchronizeEvent = *mut ::core::ffi::c_void; | |
1371 | pub type ISynchronizeHandle = *mut ::core::ffi::c_void; | |
1372 | pub type ISynchronizeMutex = *mut ::core::ffi::c_void; | |
1373 | pub type ITimeAndNoticeControl = *mut ::core::ffi::c_void; | |
1374 | pub type ITypeComp = *mut ::core::ffi::c_void; | |
1375 | pub type ITypeInfo = *mut ::core::ffi::c_void; | |
1376 | pub type ITypeInfo2 = *mut ::core::ffi::c_void; | |
1377 | pub type ITypeLib = *mut ::core::ffi::c_void; | |
1378 | pub type ITypeLib2 = *mut ::core::ffi::c_void; | |
1379 | pub type ITypeLibRegistration = *mut ::core::ffi::c_void; | |
1380 | pub type ITypeLibRegistrationReader = *mut ::core::ffi::c_void; | |
1381 | pub type IUri = *mut ::core::ffi::c_void; | |
1382 | pub type IUriBuilder = *mut ::core::ffi::c_void; | |
1383 | pub type IUrlMon = *mut ::core::ffi::c_void; | |
1384 | pub type IWaitMultiple = *mut ::core::ffi::c_void; | |
1385 | #[repr(C)] | |
04454e1e | 1386 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1387 | pub struct LONG_SIZEDARR { |
1388 | pub clSize: u32, | |
1389 | pub pData: *mut u32, | |
1390 | } | |
1391 | impl ::core::marker::Copy for LONG_SIZEDARR {} | |
1392 | impl ::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")] |
1399 | pub 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 | 1401 | pub type LPFNCANUNLOADNOW = ::core::option::Option<unsafe extern "system" fn() -> ::windows_sys::core::HRESULT>; |
04454e1e | 1402 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1403 | pub 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 | 1405 | pub const MARSHALINTERFACE_MIN: u32 = 500u32; |
04454e1e | 1406 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1407 | pub const MAXLSN: u64 = 9223372036854775807u64; |
04454e1e | 1408 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1409 | pub type MEMCTX = i32; |
04454e1e | 1410 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1411 | pub const MEMCTX_TASK: MEMCTX = 1i32; |
04454e1e | 1412 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1413 | pub const MEMCTX_SHARED: MEMCTX = 2i32; |
04454e1e | 1414 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1415 | pub const MEMCTX_MACSYSTEM: MEMCTX = 3i32; |
04454e1e | 1416 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1417 | pub const MEMCTX_UNKNOWN: MEMCTX = -1i32; |
04454e1e | 1418 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1419 | pub const MEMCTX_SAME: MEMCTX = -2i32; |
04454e1e | 1420 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1421 | pub type MKREDUCE = i32; |
04454e1e | 1422 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1423 | pub const MKRREDUCE_ONE: MKREDUCE = 196608i32; |
04454e1e | 1424 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1425 | pub const MKRREDUCE_TOUSER: MKREDUCE = 131072i32; |
04454e1e | 1426 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1427 | pub const MKRREDUCE_THROUGHUSER: MKREDUCE = 65536i32; |
04454e1e | 1428 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1429 | pub const MKRREDUCE_ALL: MKREDUCE = 0i32; |
04454e1e | 1430 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1431 | pub type MKSYS = i32; |
04454e1e | 1432 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1433 | pub const MKSYS_NONE: MKSYS = 0i32; |
04454e1e | 1434 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1435 | pub const MKSYS_GENERICCOMPOSITE: MKSYS = 1i32; |
04454e1e | 1436 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1437 | pub const MKSYS_FILEMONIKER: MKSYS = 2i32; |
04454e1e | 1438 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1439 | pub const MKSYS_ANTIMONIKER: MKSYS = 3i32; |
04454e1e | 1440 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1441 | pub const MKSYS_ITEMMONIKER: MKSYS = 4i32; |
04454e1e | 1442 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1443 | pub const MKSYS_POINTERMONIKER: MKSYS = 5i32; |
04454e1e | 1444 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1445 | pub const MKSYS_CLASSMONIKER: MKSYS = 7i32; |
04454e1e | 1446 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1447 | pub const MKSYS_OBJREFMONIKER: MKSYS = 8i32; |
04454e1e | 1448 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1449 | pub const MKSYS_SESSIONMONIKER: MKSYS = 9i32; |
04454e1e | 1450 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1451 | pub const MKSYS_LUAMONIKER: MKSYS = 10i32; |
04454e1e | 1452 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1453 | pub type MSHCTX = i32; |
04454e1e | 1454 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1455 | pub const MSHCTX_LOCAL: MSHCTX = 0i32; |
04454e1e | 1456 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1457 | pub const MSHCTX_NOSHAREDMEM: MSHCTX = 1i32; |
04454e1e | 1458 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1459 | pub const MSHCTX_DIFFERENTMACHINE: MSHCTX = 2i32; |
04454e1e | 1460 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1461 | pub const MSHCTX_INPROC: MSHCTX = 3i32; |
04454e1e | 1462 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1463 | pub const MSHCTX_CROSSCTX: MSHCTX = 4i32; |
04454e1e | 1464 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1465 | pub const MSHCTX_CONTAINER: MSHCTX = 5i32; |
04454e1e | 1466 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1467 | pub type MSHLFLAGS = i32; |
04454e1e | 1468 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1469 | pub const MSHLFLAGS_NORMAL: MSHLFLAGS = 0i32; |
04454e1e | 1470 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1471 | pub const MSHLFLAGS_TABLESTRONG: MSHLFLAGS = 1i32; |
04454e1e | 1472 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1473 | pub const MSHLFLAGS_TABLEWEAK: MSHLFLAGS = 2i32; |
04454e1e | 1474 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1475 | pub const MSHLFLAGS_NOPING: MSHLFLAGS = 4i32; |
04454e1e | 1476 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1477 | pub const MSHLFLAGS_RESERVED1: MSHLFLAGS = 8i32; |
04454e1e | 1478 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1479 | pub const MSHLFLAGS_RESERVED2: MSHLFLAGS = 16i32; |
04454e1e | 1480 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1481 | pub const MSHLFLAGS_RESERVED3: MSHLFLAGS = 32i32; |
04454e1e | 1482 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1483 | pub const MSHLFLAGS_RESERVED4: MSHLFLAGS = 64i32; |
1484 | #[repr(C)] | |
04454e1e | 1485 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1486 | pub 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 | } | |
1491 | impl ::core::marker::Copy for MULTI_QI {} | |
1492 | impl ::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 |
1499 | pub struct MachineGlobalObjectTableRegistrationToken__ { |
1500 | pub unused: i32, | |
1501 | } | |
1502 | impl ::core::marker::Copy for MachineGlobalObjectTableRegistrationToken__ {} | |
1503 | impl ::core::clone::Clone for MachineGlobalObjectTableRegistrationToken__ { | |
1504 | fn clone(&self) -> Self { | |
1505 | *self | |
1506 | } | |
1507 | } | |
04454e1e | 1508 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1509 | pub type PENDINGMSG = i32; |
04454e1e | 1510 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1511 | pub const PENDINGMSG_CANCELCALL: PENDINGMSG = 0i32; |
04454e1e | 1512 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1513 | pub const PENDINGMSG_WAITNOPROCESS: PENDINGMSG = 1i32; |
04454e1e | 1514 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1515 | pub const PENDINGMSG_WAITDEFPROCESS: PENDINGMSG = 2i32; |
04454e1e | 1516 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1517 | pub type PENDINGTYPE = i32; |
04454e1e | 1518 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1519 | pub const PENDINGTYPE_TOPLEVEL: PENDINGTYPE = 1i32; |
04454e1e | 1520 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1521 | pub const PENDINGTYPE_NESTED: PENDINGTYPE = 2i32; |
04454e1e | 1522 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1523 | pub 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 |
1526 | pub struct QUERYCONTEXT { |
1527 | pub dwContext: u32, | |
1528 | pub Platform: CSPLATFORM, | |
1529 | pub Locale: u32, | |
1530 | pub dwVersionHi: u32, | |
1531 | pub dwVersionLo: u32, | |
1532 | } | |
1533 | impl ::core::marker::Copy for QUERYCONTEXT {} | |
1534 | impl ::core::clone::Clone for QUERYCONTEXT { | |
1535 | fn clone(&self) -> Self { | |
1536 | *self | |
1537 | } | |
1538 | } | |
04454e1e | 1539 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1540 | pub type REGCLS = i32; |
04454e1e | 1541 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1542 | pub const REGCLS_SINGLEUSE: REGCLS = 0i32; |
04454e1e | 1543 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1544 | pub const REGCLS_MULTIPLEUSE: REGCLS = 1i32; |
04454e1e | 1545 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1546 | pub const REGCLS_MULTI_SEPARATE: REGCLS = 2i32; |
04454e1e | 1547 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1548 | pub const REGCLS_SUSPENDED: REGCLS = 4i32; |
04454e1e | 1549 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1550 | pub const REGCLS_SURROGATE: REGCLS = 8i32; |
04454e1e | 1551 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1552 | pub const REGCLS_AGILE: REGCLS = 16i32; |
04454e1e | 1553 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1554 | pub const ROTREGFLAGS_ALLOWANYCLIENT: u32 = 1u32; |
1555 | #[repr(C)] | |
04454e1e | 1556 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1557 | pub 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 | } | |
1566 | impl ::core::marker::Copy for RPCOLEMESSAGE {} | |
1567 | impl ::core::clone::Clone for RPCOLEMESSAGE { | |
1568 | fn clone(&self) -> Self { | |
1569 | *self | |
1570 | } | |
1571 | } | |
04454e1e | 1572 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1573 | pub type RPCOPT_PROPERTIES = i32; |
04454e1e | 1574 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1575 | pub const COMBND_RPCTIMEOUT: RPCOPT_PROPERTIES = 1i32; |
04454e1e | 1576 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1577 | pub const COMBND_SERVER_LOCALITY: RPCOPT_PROPERTIES = 2i32; |
04454e1e | 1578 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1579 | pub const COMBND_RESERVED1: RPCOPT_PROPERTIES = 4i32; |
04454e1e | 1580 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1581 | pub const COMBND_RESERVED2: RPCOPT_PROPERTIES = 5i32; |
04454e1e | 1582 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1583 | pub const COMBND_RESERVED3: RPCOPT_PROPERTIES = 8i32; |
04454e1e | 1584 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1585 | pub const COMBND_RESERVED4: RPCOPT_PROPERTIES = 16i32; |
04454e1e | 1586 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1587 | pub type RPCOPT_SERVER_LOCALITY_VALUES = i32; |
04454e1e | 1588 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1589 | pub const SERVER_LOCALITY_PROCESS_LOCAL: RPCOPT_SERVER_LOCALITY_VALUES = 0i32; |
04454e1e | 1590 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1591 | pub const SERVER_LOCALITY_MACHINE_LOCAL: RPCOPT_SERVER_LOCALITY_VALUES = 1i32; |
04454e1e | 1592 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1593 | pub const SERVER_LOCALITY_REMOTE: RPCOPT_SERVER_LOCALITY_VALUES = 2i32; |
04454e1e | 1594 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1595 | pub type RPC_C_AUTHN_LEVEL = u32; |
04454e1e | 1596 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1597 | pub const RPC_C_AUTHN_LEVEL_DEFAULT: RPC_C_AUTHN_LEVEL = 0u32; |
04454e1e | 1598 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1599 | pub const RPC_C_AUTHN_LEVEL_NONE: RPC_C_AUTHN_LEVEL = 1u32; |
04454e1e | 1600 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1601 | pub const RPC_C_AUTHN_LEVEL_CONNECT: RPC_C_AUTHN_LEVEL = 2u32; |
04454e1e | 1602 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1603 | pub const RPC_C_AUTHN_LEVEL_CALL: RPC_C_AUTHN_LEVEL = 3u32; |
04454e1e | 1604 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1605 | pub const RPC_C_AUTHN_LEVEL_PKT: RPC_C_AUTHN_LEVEL = 4u32; |
04454e1e | 1606 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1607 | pub const RPC_C_AUTHN_LEVEL_PKT_INTEGRITY: RPC_C_AUTHN_LEVEL = 5u32; |
04454e1e | 1608 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1609 | pub const RPC_C_AUTHN_LEVEL_PKT_PRIVACY: RPC_C_AUTHN_LEVEL = 6u32; |
04454e1e | 1610 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1611 | pub type RPC_C_IMP_LEVEL = u32; |
04454e1e | 1612 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1613 | pub const RPC_C_IMP_LEVEL_DEFAULT: RPC_C_IMP_LEVEL = 0u32; |
04454e1e | 1614 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1615 | pub const RPC_C_IMP_LEVEL_ANONYMOUS: RPC_C_IMP_LEVEL = 1u32; |
04454e1e | 1616 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1617 | pub const RPC_C_IMP_LEVEL_IDENTIFY: RPC_C_IMP_LEVEL = 2u32; |
04454e1e | 1618 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1619 | pub const RPC_C_IMP_LEVEL_IMPERSONATE: RPC_C_IMP_LEVEL = 3u32; |
04454e1e | 1620 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1621 | pub const RPC_C_IMP_LEVEL_DELEGATE: RPC_C_IMP_LEVEL = 4u32; |
1622 | #[repr(C)] | |
04454e1e | 1623 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1624 | pub 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 | } | |
1632 | impl ::core::marker::Copy for RemSTGMEDIUM {} | |
1633 | impl ::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 |
1640 | pub 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 | } | |
1648 | impl ::core::marker::Copy for SAFEARRAY {} | |
1649 | impl ::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 |
1656 | pub struct SAFEARRAYBOUND { |
1657 | pub cElements: u32, | |
1658 | pub lLbound: i32, | |
1659 | } | |
1660 | impl ::core::marker::Copy for SAFEARRAYBOUND {} | |
1661 | impl ::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 |
1668 | pub 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 | } | |
1676 | impl ::core::marker::Copy for SChannelHookCallInfo {} | |
1677 | impl ::core::clone::Clone for SChannelHookCallInfo { | |
1678 | fn clone(&self) -> Self { | |
1679 | *self | |
1680 | } | |
1681 | } | |
04454e1e | 1682 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1683 | pub type SERVERCALL = i32; |
04454e1e | 1684 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1685 | pub const SERVERCALL_ISHANDLED: SERVERCALL = 0i32; |
04454e1e | 1686 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1687 | pub const SERVERCALL_REJECTED: SERVERCALL = 1i32; |
04454e1e | 1688 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1689 | pub const SERVERCALL_RETRYLATER: SERVERCALL = 2i32; |
1690 | #[repr(C)] | |
04454e1e | 1691 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1692 | pub struct SHORT_SIZEDARR { |
1693 | pub clSize: u32, | |
1694 | pub pData: *mut u16, | |
1695 | } | |
1696 | impl ::core::marker::Copy for SHORT_SIZEDARR {} | |
1697 | impl ::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 |
1704 | pub struct SOLE_AUTHENTICATION_INFO { |
1705 | pub dwAuthnSvc: u32, | |
1706 | pub dwAuthzSvc: u32, | |
1707 | pub pAuthInfo: *mut ::core::ffi::c_void, | |
1708 | } | |
1709 | impl ::core::marker::Copy for SOLE_AUTHENTICATION_INFO {} | |
1710 | impl ::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 |
1717 | pub struct SOLE_AUTHENTICATION_LIST { |
1718 | pub cAuthInfo: u32, | |
1719 | pub aAuthInfo: *mut SOLE_AUTHENTICATION_INFO, | |
1720 | } | |
1721 | impl ::core::marker::Copy for SOLE_AUTHENTICATION_LIST {} | |
1722 | impl ::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 |
1729 | pub 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 | 1735 | impl ::core::marker::Copy for SOLE_AUTHENTICATION_SERVICE {} |
5e7ed085 FG |
1736 | impl ::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 |
1743 | pub struct STATDATA { |
1744 | pub formatetc: FORMATETC, | |
1745 | pub advf: u32, | |
1746 | pub pAdvSink: IAdviseSink, | |
1747 | pub dwConnection: u32, | |
1748 | } | |
1749 | impl ::core::marker::Copy for STATDATA {} | |
1750 | impl ::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")] |
1758 | pub 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")] | |
1772 | impl ::core::marker::Copy for STATSTG {} | |
1773 | #[cfg(feature = "Win32_Foundation")] | |
1774 | impl ::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 |
1782 | pub 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 | 1788 | impl ::core::marker::Copy for STGMEDIUM {} |
04454e1e | 1789 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] |
5e7ed085 FG |
1790 | impl ::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 |
1798 | pub 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 | 1808 | impl ::core::marker::Copy for STGMEDIUM_0 {} |
04454e1e | 1809 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] |
5e7ed085 FG |
1810 | impl ::core::clone::Clone for STGMEDIUM_0 { |
1811 | fn clone(&self) -> Self { | |
1812 | *self | |
1813 | } | |
1814 | } | |
04454e1e | 1815 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1816 | pub type STGTY = i32; |
04454e1e | 1817 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1818 | pub const STGTY_STORAGE: STGTY = 1i32; |
04454e1e | 1819 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1820 | pub const STGTY_STREAM: STGTY = 2i32; |
04454e1e | 1821 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1822 | pub const STGTY_LOCKBYTES: STGTY = 3i32; |
04454e1e | 1823 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1824 | pub const STGTY_PROPERTY: STGTY = 4i32; |
04454e1e | 1825 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1826 | pub const STGTY_REPEAT: i32 = 256i32; |
04454e1e | 1827 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1828 | pub const STG_LAYOUT_INTERLEAVED: i32 = 1i32; |
04454e1e | 1829 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1830 | pub const STG_LAYOUT_SEQUENTIAL: i32 = 0i32; |
04454e1e | 1831 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1832 | pub const STG_TOEND: i32 = -1i32; |
04454e1e | 1833 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1834 | pub type STREAM_SEEK = u32; |
04454e1e | 1835 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1836 | pub const STREAM_SEEK_SET: STREAM_SEEK = 0u32; |
04454e1e | 1837 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1838 | pub const STREAM_SEEK_CUR: STREAM_SEEK = 1u32; |
04454e1e | 1839 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1840 | pub const STREAM_SEEK_END: STREAM_SEEK = 2u32; |
04454e1e | 1841 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1842 | pub type SYSKIND = i32; |
04454e1e | 1843 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1844 | pub const SYS_WIN16: SYSKIND = 0i32; |
04454e1e | 1845 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1846 | pub const SYS_WIN32: SYSKIND = 1i32; |
04454e1e | 1847 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1848 | pub const SYS_MAC: SYSKIND = 2i32; |
04454e1e | 1849 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1850 | pub const SYS_WIN64: SYSKIND = 3i32; |
04454e1e | 1851 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1852 | pub type ShutdownType = i32; |
04454e1e | 1853 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1854 | pub const IdleShutdown: ShutdownType = 0i32; |
04454e1e | 1855 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1856 | pub const ForcedShutdown: ShutdownType = 1i32; |
1857 | #[repr(C)] | |
04454e1e | 1858 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1859 | pub 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 | 1865 | impl ::core::marker::Copy for StorageLayout {} |
5e7ed085 FG |
1866 | impl ::core::clone::Clone for StorageLayout { |
1867 | fn clone(&self) -> Self { | |
1868 | *self | |
1869 | } | |
1870 | } | |
04454e1e | 1871 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1872 | pub type THDTYPE = i32; |
04454e1e | 1873 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1874 | pub const THDTYPE_BLOCKMESSAGES: THDTYPE = 0i32; |
04454e1e | 1875 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1876 | pub const THDTYPE_PROCESSMESSAGES: THDTYPE = 1i32; |
1877 | #[repr(C)] | |
04454e1e | 1878 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1879 | pub 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 | } | |
1887 | impl ::core::marker::Copy for TLIBATTR {} | |
1888 | impl ::core::clone::Clone for TLIBATTR { | |
1889 | fn clone(&self) -> Self { | |
1890 | *self | |
1891 | } | |
1892 | } | |
04454e1e | 1893 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1894 | pub type TYMED = i32; |
04454e1e | 1895 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1896 | pub const TYMED_HGLOBAL: TYMED = 1i32; |
04454e1e | 1897 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1898 | pub const TYMED_FILE: TYMED = 2i32; |
04454e1e | 1899 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1900 | pub const TYMED_ISTREAM: TYMED = 4i32; |
04454e1e | 1901 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1902 | pub const TYMED_ISTORAGE: TYMED = 8i32; |
04454e1e | 1903 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1904 | pub const TYMED_GDI: TYMED = 16i32; |
04454e1e | 1905 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1906 | pub const TYMED_MFPICT: TYMED = 32i32; |
04454e1e | 1907 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1908 | pub const TYMED_ENHMF: TYMED = 64i32; |
04454e1e | 1909 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
1910 | pub 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 |
1914 | pub 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 | 1935 | impl ::core::marker::Copy for TYPEATTR {} |
04454e1e | 1936 | #[cfg(feature = "Win32_System_Ole")] |
5e7ed085 FG |
1937 | impl ::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")] |
1945 | pub struct TYPEDESC { | |
1946 | pub Anonymous: TYPEDESC_0, | |
1947 | pub vt: u16, | |
1948 | } | |
1949 | #[cfg(feature = "Win32_System_Ole")] | |
1950 | impl ::core::marker::Copy for TYPEDESC {} | |
1951 | #[cfg(feature = "Win32_System_Ole")] | |
1952 | impl ::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")] |
1960 | pub 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")] | |
1966 | impl ::core::marker::Copy for TYPEDESC_0 {} | |
1967 | #[cfg(feature = "Win32_System_Ole")] | |
1968 | impl ::core::clone::Clone for TYPEDESC_0 { | |
1969 | fn clone(&self) -> Self { | |
1970 | *self | |
1971 | } | |
1972 | } | |
04454e1e | 1973 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1974 | pub type TYPEKIND = i32; |
04454e1e | 1975 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1976 | pub const TKIND_ENUM: TYPEKIND = 0i32; |
04454e1e | 1977 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1978 | pub const TKIND_RECORD: TYPEKIND = 1i32; |
04454e1e | 1979 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1980 | pub const TKIND_MODULE: TYPEKIND = 2i32; |
04454e1e | 1981 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1982 | pub const TKIND_INTERFACE: TYPEKIND = 3i32; |
04454e1e | 1983 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1984 | pub const TKIND_DISPATCH: TYPEKIND = 4i32; |
04454e1e | 1985 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1986 | pub const TKIND_COCLASS: TYPEKIND = 5i32; |
04454e1e | 1987 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1988 | pub const TKIND_ALIAS: TYPEKIND = 6i32; |
04454e1e | 1989 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1990 | pub const TKIND_UNION: TYPEKIND = 7i32; |
04454e1e | 1991 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1992 | pub const TKIND_MAX: TYPEKIND = 8i32; |
04454e1e | 1993 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1994 | pub type TYSPEC = i32; |
04454e1e | 1995 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1996 | pub const TYSPEC_CLSID: TYSPEC = 0i32; |
04454e1e | 1997 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 1998 | pub const TYSPEC_FILEEXT: TYSPEC = 1i32; |
04454e1e | 1999 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2000 | pub const TYSPEC_MIMETYPE: TYSPEC = 2i32; |
04454e1e | 2001 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2002 | pub const TYSPEC_FILENAME: TYSPEC = 3i32; |
04454e1e | 2003 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2004 | pub const TYSPEC_PROGID: TYSPEC = 4i32; |
04454e1e | 2005 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2006 | pub const TYSPEC_PACKAGENAME: TYSPEC = 5i32; |
04454e1e | 2007 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2008 | pub const TYSPEC_OBJECTID: TYSPEC = 6i32; |
04454e1e | 2009 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2010 | pub type URI_CREATE_FLAGS = u32; |
04454e1e | 2011 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2012 | pub const Uri_CREATE_ALLOW_RELATIVE: URI_CREATE_FLAGS = 1u32; |
04454e1e | 2013 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2014 | pub const Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME: URI_CREATE_FLAGS = 2u32; |
04454e1e | 2015 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2016 | pub const Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME: URI_CREATE_FLAGS = 4u32; |
04454e1e | 2017 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2018 | pub const Uri_CREATE_NOFRAG: URI_CREATE_FLAGS = 8u32; |
04454e1e | 2019 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2020 | pub const Uri_CREATE_NO_CANONICALIZE: URI_CREATE_FLAGS = 16u32; |
04454e1e | 2021 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2022 | pub const Uri_CREATE_CANONICALIZE: URI_CREATE_FLAGS = 256u32; |
04454e1e | 2023 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2024 | pub const Uri_CREATE_FILE_USE_DOS_PATH: URI_CREATE_FLAGS = 32u32; |
04454e1e | 2025 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2026 | pub const Uri_CREATE_DECODE_EXTRA_INFO: URI_CREATE_FLAGS = 64u32; |
04454e1e | 2027 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2028 | pub const Uri_CREATE_NO_DECODE_EXTRA_INFO: URI_CREATE_FLAGS = 128u32; |
04454e1e | 2029 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2030 | pub const Uri_CREATE_CRACK_UNKNOWN_SCHEMES: URI_CREATE_FLAGS = 512u32; |
04454e1e | 2031 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2032 | pub const Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES: URI_CREATE_FLAGS = 1024u32; |
04454e1e | 2033 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2034 | pub const Uri_CREATE_PRE_PROCESS_HTML_URI: URI_CREATE_FLAGS = 2048u32; |
04454e1e | 2035 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2036 | pub const Uri_CREATE_NO_PRE_PROCESS_HTML_URI: URI_CREATE_FLAGS = 4096u32; |
04454e1e | 2037 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2038 | pub const Uri_CREATE_IE_SETTINGS: URI_CREATE_FLAGS = 8192u32; |
04454e1e | 2039 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2040 | pub const Uri_CREATE_NO_IE_SETTINGS: URI_CREATE_FLAGS = 16384u32; |
04454e1e | 2041 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2042 | pub const Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS: URI_CREATE_FLAGS = 32768u32; |
04454e1e | 2043 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2044 | pub const Uri_CREATE_NORMALIZE_INTL_CHARACTERS: URI_CREATE_FLAGS = 65536u32; |
04454e1e | 2045 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2046 | pub const Uri_CREATE_CANONICALIZE_ABSOLUTE: URI_CREATE_FLAGS = 131072u32; |
04454e1e | 2047 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2048 | pub type Uri_PROPERTY = i32; |
04454e1e | 2049 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2050 | pub const Uri_PROPERTY_ABSOLUTE_URI: Uri_PROPERTY = 0i32; |
04454e1e | 2051 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2052 | pub const Uri_PROPERTY_STRING_START: Uri_PROPERTY = 0i32; |
04454e1e | 2053 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2054 | pub const Uri_PROPERTY_AUTHORITY: Uri_PROPERTY = 1i32; |
04454e1e | 2055 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2056 | pub const Uri_PROPERTY_DISPLAY_URI: Uri_PROPERTY = 2i32; |
04454e1e | 2057 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2058 | pub const Uri_PROPERTY_DOMAIN: Uri_PROPERTY = 3i32; |
04454e1e | 2059 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2060 | pub const Uri_PROPERTY_EXTENSION: Uri_PROPERTY = 4i32; |
04454e1e | 2061 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2062 | pub const Uri_PROPERTY_FRAGMENT: Uri_PROPERTY = 5i32; |
04454e1e | 2063 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2064 | pub const Uri_PROPERTY_HOST: Uri_PROPERTY = 6i32; |
04454e1e | 2065 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2066 | pub const Uri_PROPERTY_PASSWORD: Uri_PROPERTY = 7i32; |
04454e1e | 2067 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2068 | pub const Uri_PROPERTY_PATH: Uri_PROPERTY = 8i32; |
04454e1e | 2069 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2070 | pub const Uri_PROPERTY_PATH_AND_QUERY: Uri_PROPERTY = 9i32; |
04454e1e | 2071 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2072 | pub const Uri_PROPERTY_QUERY: Uri_PROPERTY = 10i32; |
04454e1e | 2073 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2074 | pub const Uri_PROPERTY_RAW_URI: Uri_PROPERTY = 11i32; |
04454e1e | 2075 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2076 | pub const Uri_PROPERTY_SCHEME_NAME: Uri_PROPERTY = 12i32; |
04454e1e | 2077 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2078 | pub const Uri_PROPERTY_USER_INFO: Uri_PROPERTY = 13i32; |
04454e1e | 2079 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2080 | pub const Uri_PROPERTY_USER_NAME: Uri_PROPERTY = 14i32; |
04454e1e | 2081 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2082 | pub const Uri_PROPERTY_STRING_LAST: Uri_PROPERTY = 14i32; |
04454e1e | 2083 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2084 | pub const Uri_PROPERTY_HOST_TYPE: Uri_PROPERTY = 15i32; |
04454e1e | 2085 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2086 | pub const Uri_PROPERTY_DWORD_START: Uri_PROPERTY = 15i32; |
04454e1e | 2087 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2088 | pub const Uri_PROPERTY_PORT: Uri_PROPERTY = 16i32; |
04454e1e | 2089 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2090 | pub const Uri_PROPERTY_SCHEME: Uri_PROPERTY = 17i32; |
04454e1e | 2091 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2092 | pub const Uri_PROPERTY_ZONE: Uri_PROPERTY = 18i32; |
04454e1e | 2093 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2094 | pub 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"))] |
2098 | pub 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"))] | |
2107 | impl ::core::marker::Copy for VARDESC {} | |
2108 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2109 | impl ::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"))] |
2117 | pub union VARDESC_0 { | |
2118 | pub oInst: u32, | |
2119 | pub lpvarValue: *mut VARIANT, | |
2120 | } | |
2121 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2122 | impl ::core::marker::Copy for VARDESC_0 {} | |
2123 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2124 | impl ::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"))] |
2132 | pub struct VARIANT { | |
2133 | pub Anonymous: VARIANT_0, | |
2134 | } | |
2135 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2136 | impl ::core::marker::Copy for VARIANT {} | |
2137 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2138 | impl ::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"))] |
2146 | pub 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"))] | |
2151 | impl ::core::marker::Copy for VARIANT_0 {} | |
2152 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2153 | impl ::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"))] |
2161 | pub 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"))] | |
2169 | impl ::core::marker::Copy for VARIANT_0_0 {} | |
2170 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2171 | impl ::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"))] |
2179 | pub 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"))] | |
2228 | impl ::core::marker::Copy for VARIANT_0_0_0 {} | |
2229 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2230 | impl ::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"))] |
2238 | pub 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"))] | |
2243 | impl ::core::marker::Copy for VARIANT_0_0_0_0 {} | |
2244 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] | |
2245 | impl ::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 | 2251 | pub type VARKIND = i32; |
04454e1e | 2252 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2253 | pub const VAR_PERINSTANCE: VARKIND = 0i32; |
04454e1e | 2254 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2255 | pub const VAR_STATIC: VARKIND = 1i32; |
04454e1e | 2256 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 | 2257 | pub const VAR_CONST: VARKIND = 2i32; |
04454e1e | 2258 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2259 | pub const VAR_DISPATCH: VARKIND = 3i32; |
2260 | #[repr(C)] | |
04454e1e | 2261 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2262 | pub struct WORD_BLOB { |
2263 | pub clSize: u32, | |
2264 | pub asData: [u16; 1], | |
2265 | } | |
2266 | impl ::core::marker::Copy for WORD_BLOB {} | |
2267 | impl ::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 |
2273 | pub const _CRT_INTERNAL_COMBASE_SYMBOL_PREFIX: &'static str = "_"; |
2274 | #[repr(C)] | |
04454e1e | 2275 | #[doc = "*Required features: `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2276 | pub struct uCLSSPEC { |
2277 | pub tyspec: u32, | |
2278 | pub tagged_union: uCLSSPEC_0, | |
2279 | } | |
5e7ed085 | 2280 | impl ::core::marker::Copy for uCLSSPEC {} |
5e7ed085 FG |
2281 | impl ::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 |
2288 | pub 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 | 2297 | impl ::core::marker::Copy for uCLSSPEC_0 {} |
5e7ed085 FG |
2298 | impl ::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 | 2305 | pub struct uCLSSPEC_0_0 { |
04454e1e | 2306 | pub pPackageName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
2307 | pub PolicyId: ::windows_sys::core::GUID, |
2308 | } | |
5e7ed085 | 2309 | impl ::core::marker::Copy for uCLSSPEC_0_0 {} |
5e7ed085 FG |
2310 | impl ::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 |
2317 | pub struct uCLSSPEC_0_1 { |
2318 | pub ObjectId: ::windows_sys::core::GUID, | |
2319 | pub PolicyId: ::windows_sys::core::GUID, | |
2320 | } | |
5e7ed085 | 2321 | impl ::core::marker::Copy for uCLSSPEC_0_1 {} |
5e7ed085 FG |
2322 | impl ::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 |
2329 | pub struct userFLAG_STGMEDIUM { |
2330 | pub ContextFlags: i32, | |
2331 | pub fPassOwnership: i32, | |
2332 | pub Stgmed: userSTGMEDIUM, | |
2333 | } | |
2334 | impl ::core::marker::Copy for userFLAG_STGMEDIUM {} | |
2335 | impl ::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 |
2342 | pub struct userSTGMEDIUM { |
2343 | pub pUnkForRelease: ::windows_sys::core::IUnknown, | |
2344 | } | |
2345 | impl ::core::marker::Copy for userSTGMEDIUM {} | |
2346 | impl ::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 |
2354 | pub 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 | 2359 | impl ::core::marker::Copy for userSTGMEDIUM_0 {} |
04454e1e | 2360 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] |
5e7ed085 FG |
2361 | impl ::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 |
2369 | pub 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 | 2379 | impl ::core::marker::Copy for userSTGMEDIUM_0_0 {} |
04454e1e | 2380 | #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] |
5e7ed085 FG |
2381 | impl ::core::clone::Clone for userSTGMEDIUM_0_0 { |
2382 | fn clone(&self) -> Self { | |
2383 | *self | |
2384 | } | |
2385 | } |