diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
commit | 1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch) | |
tree | 7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement | |
parent | 5ecd8cf2cba827454317368b68571df0d13d7842 (diff) | |
download | fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip |
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement/mod.rs | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement/mod.rs new file mode 100644 index 0000000..cefbbf9 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/PasswordManagement/mod.rs @@ -0,0 +1,57 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] fn MSChapSrvChangePassword ( servername : :: windows_sys::core::PCWSTR , username : :: windows_sys::core::PCWSTR , lmoldpresent : super::super::Foundation:: BOOLEAN , lmoldowfpassword : *const LM_OWF_PASSWORD , lmnewowfpassword : *const LM_OWF_PASSWORD , ntoldowfpassword : *const LM_OWF_PASSWORD , ntnewowfpassword : *const LM_OWF_PASSWORD ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] fn MSChapSrvChangePassword2 ( servername : :: windows_sys::core::PCWSTR , username : :: windows_sys::core::PCWSTR , newpasswordencryptedwitholdnt : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldntowfpasswordencryptedwithnewnt : *const ENCRYPTED_LM_OWF_PASSWORD , lmpresent : super::super::Foundation:: BOOLEAN , newpasswordencryptedwitholdlm : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldlmowfpasswordencryptedwithnewlmornt : *const ENCRYPTED_LM_OWF_PASSWORD ) -> u32 ); +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct CYPHER_BLOCK { + pub data: [super::super::Foundation::CHAR; 8], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CYPHER_BLOCK {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CYPHER_BLOCK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ENCRYPTED_LM_OWF_PASSWORD { + pub data: [CYPHER_BLOCK; 2], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ENCRYPTED_LM_OWF_PASSWORD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ENCRYPTED_LM_OWF_PASSWORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct LM_OWF_PASSWORD { + pub data: [CYPHER_BLOCK; 2], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LM_OWF_PASSWORD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LM_OWF_PASSWORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_PasswordManagement\"`*"] +pub struct SAMPR_ENCRYPTED_USER_PASSWORD { + pub Buffer: [u8; 516], +} +impl ::core::marker::Copy for SAMPR_ENCRYPTED_USER_PASSWORD {} +impl ::core::clone::Clone for SAMPR_ENCRYPTED_USER_PASSWORD { + fn clone(&self) -> Self { + *self + } +} |