]>
git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.42.0/src/Windows/Win32/System/UserAccessLogging/mod.rs
1 #[cfg_attr(windows, link(name = "windows"))]
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
;
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
{
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],
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 {