summaryrefslogtreecommitdiff
path: root/vendor/winapi/src/um/bitscfg.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/winapi/src/um/bitscfg.rs
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
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 0000000..3d9f46a
--- /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,
+ );
+}