]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.42.0/src/Windows/Win32/System/UserAccessLogging/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys-0.42.0 / src / Windows / Win32 / System / UserAccessLogging / mod.rs
1 #[cfg_attr(windows, link(name = "windows"))]
2 extern "system" {
3 #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"]
4 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
5 pub fn UalInstrument(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
6 #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`*"]
7 pub fn UalRegisterProduct(wszproductname: ::windows_sys::core::PCWSTR, wszrolename: ::windows_sys::core::PCWSTR, wszguid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
8 #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"]
9 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
10 pub fn UalStart(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
11 #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"]
12 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
13 pub fn UalStop(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
14 }
15 #[repr(C)]
16 #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"]
17 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
18 pub struct UAL_DATA_BLOB {
19 pub Size: u32,
20 pub RoleGuid: ::windows_sys::core::GUID,
21 pub TenantId: ::windows_sys::core::GUID,
22 pub Address: super::super::Networking::WinSock::SOCKADDR_STORAGE,
23 pub UserName: [u16; 260],
24 }
25 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
26 impl ::core::marker::Copy for UAL_DATA_BLOB {}
27 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
28 impl ::core::clone::Clone for UAL_DATA_BLOB {
29 fn clone(&self) -> Self {
30 *self
31 }
32 }