]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys-0.28.0/src/Windows/Win32/System/UserAccessLogging/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Win32 / System / UserAccessLogging / mod.rs
CommitLineData
064997fb
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" {
4 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
5 pub fn UalInstrument(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
6 #[cfg(feature = "Win32_Foundation")]
7 pub fn UalRegisterProduct(wszproductname: super::super::Foundation::PWSTR, wszrolename: super::super::Foundation::PWSTR, wszguid: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT;
8 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
9 pub fn UalStart(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
10 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
11 pub fn UalStop(data: *const UAL_DATA_BLOB) -> ::windows_sys::core::HRESULT;
12}
13#[repr(C)]
14#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
15pub struct UAL_DATA_BLOB {
16 pub Size: u32,
17 pub RoleGuid: ::windows_sys::core::GUID,
18 pub TenantId: ::windows_sys::core::GUID,
19 pub Address: super::super::Networking::WinSock::SOCKADDR_STORAGE,
20 pub UserName: [u16; 260],
21}
22#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
23impl ::core::marker::Copy for UAL_DATA_BLOB {}
24#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
25impl ::core::clone::Clone for UAL_DATA_BLOB {
26 fn clone(&self) -> Self {
27 *self
28 }
29}