Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateAppContainerProfile(pszappcontainername : ::windows_sys::core::PCWSTR, pszdisplayname : ::windows_sys::core::PCWSTR, pszdescription : ::windows_sys::core::PCWSTR, pcapabilities : *const super:: SID_AND_ATTRIBUTES, dwcapabilitycount : u32, ppsidappcontainersid : *mut super::super::Foundation:: PSID) -> ::windows_sys::core::HRESULT);
3 ::windows_targets::link!("userenv.dll" "system" fn DeleteAppContainerProfile(pszappcontainername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
4 #[cfg(feature = "Win32_Foundation")]
5 ::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeriveAppContainerSidFromAppContainerName(pszappcontainername : ::windows_sys::core::PCWSTR, ppsidappcontainersid : *mut super::super::Foundation:: PSID) -> ::windows_sys::core::HRESULT);
6 #[cfg(feature = "Win32_Foundation")]
7 ::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid : super::super::Foundation:: PSID, pszrestrictedappcontainername : ::windows_sys::core::PCWSTR, ppsidrestrictedappcontainersid : *mut super::super::Foundation:: PSID) -> ::windows_sys::core::HRESULT);
8 ::windows_targets::link!("userenv.dll" "system" fn GetAppContainerFolderPath(pszappcontainersid : ::windows_sys::core::PCWSTR, ppszpath : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAppContainerNamedObjectPath(token : super::super::Foundation:: HANDLE, appcontainersid : super::super::Foundation:: PSID, objectpathlength : u32, objectpath : ::windows_sys::core::PWSTR, returnlength : *mut u32) -> super::super::Foundation:: BOOL);
11 #[cfg(feature = "Win32_System_Registry")]
12 ::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn GetAppContainerRegistryLocation(desiredaccess : u32, phappcontainerkey : *mut super::super::System::Registry:: HKEY) -> ::windows_sys::core::HRESULT);
13 #[cfg(feature = "Win32_Foundation")]
14 ::windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsCrossIsolatedEnvironmentClipboardContent(iscrossisolatedenvironmentclipboardcontent : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsProcessInWDAGContainer(reserved : *const ::core::ffi::c_void, isprocessinwdagcontainer : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
21 pub type IIsolatedAppLauncher = *mut ::core::ffi::c_void;
22 pub const IsolatedAppLauncher: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbc812430_e75e_4fd1_9641_1f9f1e2d9a1f);
23 pub const WDAG_CLIPBOARD_TAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossIsolatedEnvironmentContent");
24 #[repr(C)]
25 #[doc = "Required features: `\"Win32_Foundation\"`"]
26 #[cfg(feature = "Win32_Foundation")]
27 pub struct IsolatedAppLauncherTelemetryParameters {
28 pub EnableForLaunch: super::super::Foundation::BOOL,
29 pub CorrelationGUID: ::windows_sys::core::GUID,
30 }
31 #[cfg(feature = "Win32_Foundation")]
32 impl ::core::marker::Copy for IsolatedAppLauncherTelemetryParameters {}
33 #[cfg(feature = "Win32_Foundation")]
34 impl ::core::clone::Clone for IsolatedAppLauncherTelemetryParameters {
35 fn clone(&self) -> Self {
36 *self
37 }
38 }