diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection/mod.rs deleted file mode 100644 index a24f12c73..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ /dev/null @@ -1,14 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" { - #[cfg(feature = "Win32_Foundation")] - pub fn RegisterLicenseKeyWithExpiration(licensekey: super::super::Foundation::PWSTR, validityindays: u32, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; - #[cfg(feature = "Win32_Foundation")] - pub fn ValidateLicenseKeyProtection(licensekey: super::super::Foundation::PWSTR, notvalidbefore: *mut super::super::Foundation::FILETIME, notvalidafter: *mut super::super::Foundation::FILETIME, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; -} -pub type LicenseProtectionStatus = i32; -pub const Success: LicenseProtectionStatus = 0i32; -pub const LicenseKeyNotFound: LicenseProtectionStatus = 1i32; -pub const LicenseKeyUnprotected: LicenseProtectionStatus = 2i32; -pub const LicenseKeyCorrupted: LicenseProtectionStatus = 3i32; -pub const LicenseKeyAlreadyExists: LicenseProtectionStatus = 4i32; |