aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs
new file mode 100644
index 0000000..137cf61
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs
@@ -0,0 +1,20 @@
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] fn WslConfigureDistribution ( distributionname : :: windows_sys::core::PCWSTR , defaultuid : u32 , wsldistributionflags : WSL_DISTRIBUTION_FLAGS ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] fn WslGetDistributionConfiguration ( distributionname : :: windows_sys::core::PCWSTR , distributionversion : *mut u32 , defaultuid : *mut u32 , wsldistributionflags : *mut WSL_DISTRIBUTION_FLAGS , defaultenvironmentvariables : *mut *mut :: windows_sys::core::PSTR , defaultenvironmentvariablecount : *mut u32 ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] fn WslIsDistributionRegistered ( distributionname : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] fn WslLaunch ( distributionname : :: windows_sys::core::PCWSTR , command : :: windows_sys::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , stdin : super::super::Foundation:: HANDLE , stdout : super::super::Foundation:: HANDLE , stderr : super::super::Foundation:: HANDLE , process : *mut super::super::Foundation:: HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] fn WslLaunchInteractive ( distributionname : :: windows_sys::core::PCWSTR , command : :: windows_sys::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , exitcode : *mut u32 ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] fn WslRegisterDistribution ( distributionname : :: windows_sys::core::PCWSTR , targzfilename : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] fn WslUnregisterDistribution ( distributionname : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT );
+#[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"]
+pub type WSL_DISTRIBUTION_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"]
+pub const WSL_DISTRIBUTION_FLAGS_NONE: WSL_DISTRIBUTION_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"]
+pub const WSL_DISTRIBUTION_FLAGS_ENABLE_INTEROP: WSL_DISTRIBUTION_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"]
+pub const WSL_DISTRIBUTION_FLAGS_APPEND_NT_PATH: WSL_DISTRIBUTION_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"]
+pub const WSL_DISTRIBUTION_FLAGS_ENABLE_DRIVE_MOUNTING: WSL_DISTRIBUTION_FLAGS = 4u32;