From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../Windows/Win32/System/UserAccessLogging/mod.rs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Win32/System/UserAccessLogging/mod.rs (limited to 'vendor/windows-sys/src/Windows/Win32/System/UserAccessLogging/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/System/UserAccessLogging/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/UserAccessLogging/mod.rs new file mode 100644 index 0000000..18427f8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/UserAccessLogging/mod.rs @@ -0,0 +1,25 @@ +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("ualapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn UalInstrument(data : *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ualapi.dll" "system" fn UalRegisterProduct(wszproductname : ::windows_sys::core::PCWSTR, wszrolename : ::windows_sys::core::PCWSTR, wszguid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("ualapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn UalStart(data : *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("ualapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn UalStop(data : *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT); +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct UAL_DATA_BLOB { + pub Size: u32, + pub RoleGuid: ::windows_sys::core::GUID, + pub TenantId: ::windows_sys::core::GUID, + pub Address: super::super::Networking::WinSock::SOCKADDR_STORAGE, + pub UserName: [u16; 260], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for UAL_DATA_BLOB {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for UAL_DATA_BLOB { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3