summaryrefslogtreecommitdiff
path: root/vendor/winapi/src/um/bits10_1.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/bits10_1.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/bits10_1.rs')
-rw-r--r--vendor/winapi/src/um/bits10_1.rs37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/winapi/src/um/bits10_1.rs b/vendor/winapi/src/um/bits10_1.rs
new file mode 100644
index 0000000..327161a
--- /dev/null
+++ b/vendor/winapi/src/um/bits10_1.rs
@@ -0,0 +1,37 @@
+// 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 shared::basetsd::UINT64;
+use shared::minwindef::DWORD;
+use um::bits::{IBackgroundCopyFile, IBackgroundCopyJob};
+use um::bits2_0::BG_FILE_RANGE;
+use um::bits3_0::{IBackgroundCopyCallback2, IBackgroundCopyCallback2Vtbl};
+use um::bits5_0::{IBackgroundCopyFile5, IBackgroundCopyFile5Vtbl};
+use um::winnt::HRESULT;
+RIDL!{#[uuid(0x98c97bd2, 0xe32b, 0x4ad8, 0xa5, 0x28, 0x95, 0xfd, 0x8b, 0x16, 0xbd, 0x42)]
+interface IBackgroundCopyCallback3(IBackgroundCopyCallback3Vtbl):
+ IBackgroundCopyCallback2(IBackgroundCopyCallback2Vtbl) {
+ fn FileRangesTransferred(
+ job: *mut IBackgroundCopyJob,
+ file: *mut IBackgroundCopyFile,
+ rangeCount: DWORD,
+ ranges: *const BG_FILE_RANGE,
+ ) -> HRESULT,
+}}
+RIDL!{#[uuid(0xcf6784f7, 0xd677, 0x49fd, 0x93, 0x68, 0xcb, 0x47, 0xae, 0xe9, 0xd1, 0xad)]
+interface IBackgroundCopyFile6(IBackgroundCopyFile6Vtbl):
+ IBackgroundCopyFile5(IBackgroundCopyFile5Vtbl) {
+ fn UpdateDownloadPosition(
+ offset: UINT64,
+ ) -> HRESULT,
+ fn RequestFileRanges(
+ rangeCount: DWORD,
+ ranges: *const BG_FILE_RANGE,
+ ) -> HRESULT,
+ fn GetFilledFileRanges(
+ rangeCount: *mut DWORD,
+ ranges: *mut *mut BG_FILE_RANGE,
+ ) -> HRESULT,
+}}