Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
WSL-DistroLauncher
WslApiLoader-h.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File WslApiLoader-h.diff of Package WSL-DistroLauncher
--- DistroLauncher/WslApiLoader.h.smb 2023-09-11 13:14:00.964544481 -0400 +++ DistroLauncher/WslApiLoader.h 2023-09-11 13:15:36.563923516 -0400 @@ -11,6 +11,12 @@ #define ERROR_LINUX_SUBSYSTEM_NOT_PRESENT 414L #endif // !ERROR_LINUX_SUBSYSTEM_NOT_PRESENT +// See: https://docs.microsoft.com/en-us/virtualization/api/hcs/reference/hcshresult +// Also: https://github.com/microsoft/WSL-DistroLauncher/issues/103 +#ifndef HCS_E_HYPERV_NOT_INSTALLED +#define HCS_E_HYPERV_NOT_INSTALLED _HRESULT_TYPEDEF_(0x80370102L) +#endif // !HCS_E_HYPERV_NOT_INSTALLED + typedef BOOL (STDAPICALLTYPE* WSL_IS_DISTRIBUTION_REGISTERED)(PCWSTR); typedef HRESULT (STDAPICALLTYPE* WSL_REGISTER_DISTRIBUTION)(PCWSTR, PCWSTR); typedef HRESULT (STDAPICALLTYPE* WSL_CONFIGURE_DISTRIBUTION)(PCWSTR, ULONG, WSL_DISTRIBUTION_FLAGS);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor