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