summaryrefslogtreecommitdiffstats
path: root/vendor/winapi/src/um/bitscfg.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/winapi/src/um/bitscfg.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/winapi/src/um/bitscfg.rs')
-rw-r--r--vendor/winapi/src/um/bitscfg.rs70
1 files changed, 70 insertions, 0 deletions
diff --git a/vendor/winapi/src/um/bitscfg.rs b/vendor/winapi/src/um/bitscfg.rs
new file mode 100644
index 000000000..3d9f46a2d
--- /dev/null
+++ b/vendor/winapi/src/um/bitscfg.rs
@@ -0,0 +1,70 @@
+// Licensed under the Apache License, Version 2.0
+// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// All files in the project carrying such notice may not be copied, modified, or distributed
+// except according to those terms.
+use ctypes::{c_uchar, c_ulong};
+use shared::guiddef::REFIID;
+use shared::wtypes::BSTR;
+use um::oaidl::{IDispatch, IDispatchVtbl};
+use um::unknwnbase::IUnknown;
+use um::winnt::HRESULT;
+RIDL!{#[uuid(0x29cfbbf7, 0x09e4, 0x4b97, 0xb0, 0xbc, 0xf2, 0x28, 0x7e, 0x3d, 0x8e, 0xb3)]
+interface IBITSExtensionSetup(IBITSExtensionSetupVtbl): IDispatch(IDispatchVtbl) {
+ fn EnableBITSUploads() -> HRESULT,
+ fn DisableBITSUploads() -> HRESULT,
+ fn GetCleanupTaskName(
+ pTaskName: *mut BSTR,
+ ) -> HRESULT,
+ fn GetCleanupTask(
+ riid: REFIID,
+ ppUnk: *mut *mut IUnknown,
+ ) -> HRESULT,
+}}
+RIDL!{#[uuid(0xd5d2d542, 0x5503, 0x4e64, 0x8b, 0x48, 0x72, 0xef, 0x91, 0xa3, 0x2e, 0xe1)]
+interface IBITSExtensionSetupFactory(IBITSExtensionSetupFactoryVtbl): IDispatch(IDispatchVtbl) {
+ fn GetObject(
+ Path: BSTR,
+ ppExtensionSetup: *mut *mut IBITSExtensionSetup,
+ ) -> HRESULT,
+}}
+extern "system" {
+ pub fn BSTR_UserSize(
+ pFlags: *mut c_ulong,
+ Offset: c_ulong,
+ pBstr: *mut BSTR,
+ ) -> c_ulong;
+ pub fn BSTR_UserMarshal(
+ pFlags: *mut c_ulong,
+ pBuffer: *mut c_uchar,
+ pBstr: *mut BSTR,
+ ) -> *mut c_uchar;
+ pub fn BSTR_UserUnmarshal(
+ pFlags: *mut c_ulong,
+ pBuffer: *mut c_uchar,
+ pBstr: *mut BSTR,
+ ) -> *mut c_uchar;
+ pub fn BSTR_UserFree(
+ pFlags: *mut c_ulong,
+ pBstr: *mut BSTR,
+ );
+ pub fn BSTR_UserSize64(
+ pFlags: *mut c_ulong,
+ Offset: c_ulong,
+ pBstr: *mut BSTR,
+ ) -> c_ulong;
+ pub fn BSTR_UserMarshal64(
+ pFlags: *mut c_ulong,
+ pBuffer: *mut c_uchar,
+ pBstr: *mut BSTR,
+ ) -> *mut c_uchar;
+ pub fn BSTR_UserUnmarshal64(
+ pFlags: *mut c_ulong,
+ pBuffer: *mut c_uchar,
+ pBstr: *mut BSTR,
+ ) -> *mut c_uchar;
+ pub fn BSTR_UserFree64(
+ pFlags: *mut c_ulong,
+ pBstr: *mut BSTR,
+ );
+}