summaryrefslogtreecommitdiffstats
path: root/vendor/winapi/src/um/bits2_5.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/winapi/src/um/bits2_5.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/winapi/src/um/bits2_5.rs')
-rw-r--r--vendor/winapi/src/um/bits2_5.rs64
1 files changed, 0 insertions, 64 deletions
diff --git a/vendor/winapi/src/um/bits2_5.rs b/vendor/winapi/src/um/bits2_5.rs
deleted file mode 100644
index 50a5b4d17..000000000
--- a/vendor/winapi/src/um/bits2_5.rs
+++ /dev/null
@@ -1,64 +0,0 @@
-// 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::minwindef::ULONG;
-use shared::rpcndr::byte;
-use um::unknwnbase::{IUnknown, IUnknownVtbl};
-use um::winnt::{HRESULT, LPCWSTR, LPWSTR};
-ENUM!{enum BG_CERT_STORE_LOCATION {
- BG_CERT_STORE_LOCATION_CURRENT_USER = 0,
- BG_CERT_STORE_LOCATION_LOCAL_MACHINE = BG_CERT_STORE_LOCATION_CURRENT_USER + 1,
- BG_CERT_STORE_LOCATION_CURRENT_SERVICE = BG_CERT_STORE_LOCATION_LOCAL_MACHINE + 1,
- BG_CERT_STORE_LOCATION_SERVICES = BG_CERT_STORE_LOCATION_CURRENT_SERVICE + 1,
- BG_CERT_STORE_LOCATION_USERS = BG_CERT_STORE_LOCATION_SERVICES + 1,
- BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY = BG_CERT_STORE_LOCATION_USERS + 1,
- BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY
- = BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY + 1,
- BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE
- = BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY + 1,
-}}
-RIDL!{#[uuid(0xf1bd1079, 0x9f01, 0x4bdc, 0x80, 0x36, 0xf0, 0x9b, 0x70, 0x09, 0x50, 0x66)]
-interface IBackgroundCopyJobHttpOptions(IBackgroundCopyJobHttpOptionsVtbl):
- IUnknown(IUnknownVtbl) {
- fn SetClientCertificateByID(
- StoreLocation: BG_CERT_STORE_LOCATION,
- StoreName: LPCWSTR,
- pCertHashBlob: *mut byte,
- ) -> HRESULT,
- fn SetClientCertificateByName(
- StoreLocation: BG_CERT_STORE_LOCATION,
- StoreName: LPCWSTR,
- SubjectName: LPCWSTR,
- ) -> HRESULT,
- fn RemoveClientCertificate() -> HRESULT,
- fn GetClientCertificate(
- pStoreLocation: *mut BG_CERT_STORE_LOCATION,
- pStoreName: *mut LPWSTR,
- ppCertHashBlob: *mut *mut byte,
- pSubjectName: *mut LPWSTR,
- ) -> HRESULT,
- fn SetCustomHeaders(
- RequestHeaders: LPCWSTR,
- ) -> HRESULT,
- fn GetCustomHeaders(
- pRequestHeaders: *mut LPWSTR,
- ) -> HRESULT,
- fn SetSecurityFlags(
- Flags: ULONG,
- ) -> HRESULT,
- fn GetSecurityFlags(
- pFlags: *mut ULONG,
- ) -> HRESULT,
-}}
-pub const BG_SSL_ENABLE_CRL_CHECK: ULONG = 0x0001;
-pub const BG_SSL_IGNORE_CERT_CN_INVALID: ULONG = 0x0002;
-pub const BG_SSL_IGNORE_CERT_DATE_INVALID: ULONG = 0x0004;
-pub const BG_SSL_IGNORE_UNKNOWN_CA: ULONG = 0x0008;
-pub const BG_SSL_IGNORE_CERT_WRONG_USAGE: ULONG = 0x0010;
-pub const BG_HTTP_REDIRECT_POLICY_MASK: ULONG = 0x0700;
-pub const BG_HTTP_REDIRECT_POLICY_ALLOW_SILENT: ULONG = 0x0000;
-pub const BG_HTTP_REDIRECT_POLICY_ALLOW_REPORT: ULONG = 0x0100;
-pub const BG_HTTP_REDIRECT_POLICY_DISALLOW: ULONG = 0x0200;
-pub const BG_HTTP_REDIRECT_POLICY_ALLOW_HTTPS_TO_HTTP: ULONG = 0x0800;