1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// The virtual machine or container exited unexpectedly while starting.
pub const E_TERMINATED_DURING_START : HResultError = from_constant; // HCS_E_TERMINATED_DURING_START
/// The container operating system does not match the host operating system.
pub const E_IMAGE_MISMATCH : HResultError = from_constant; // HCS_E_IMAGE_MISMATCH
/// The virtual machine could not be started because a required feature is not installed.
pub const E_HYPERV_NOT_INSTALLED : HResultError = from_constant; // HCS_E_HYPERV_NOT_INSTALLED
/// The requested virtual machine or container operation is not valid in the current state.
pub const E_INVALID_STATE : HResultError = from_constant; // HCS_E_INVALID_STATE
/// The virtual machine or container exited unexpectedly.
pub const E_UNEXPECTED_EXIT : HResultError = from_constant; // HCS_E_UNEXPECTED_EXIT
/// The virtual machine or container was forcefully exited.
pub const E_TERMINATED : HResultError = from_constant; // HCS_E_TERMINATED
/// A connection could not be established with the container or virtual machine.
pub const E_CONNECT_FAILED : HResultError = from_constant; // HCS_E_CONNECT_FAILED
/// The operation timed out because a response was not received from the virtual machine or container.
pub const E_CONNECTION_TIMEOUT : HResultError = from_constant; // HCS_E_CONNECTION_TIMEOUT
/// The connection with the virtual machine or container was closed.
pub const E_CONNECTION_CLOSED : HResultError = from_constant; // HCS_E_CONNECTION_CLOSED
/// An unknown internal message was received by the virtual machine or container.
pub const E_UNKNOWN_MESSAGE : HResultError = from_constant; // HCS_E_UNKNOWN_MESSAGE
/// The virtual machine or container does not support an available version of the communication protocol with the host.
pub const E_UNSUPPORTED_PROTOCOL_VERSION : HResultError = from_constant; // HCS_E_UNSUPPORTED_PROTOCOL_VERSION
/// The virtual machine or container JSON document is invalid.
pub const E_INVALID_JSON : HResultError = from_constant; // HCS_E_INVALID_JSON
/// A virtual machine or container with the specified identifier does not exist.
pub const E_SYSTEM_NOT_FOUND : HResultError = from_constant; // HCS_E_SYSTEM_NOT_FOUND
/// A virtual machine or container with the specified identifier already exists.
pub const E_SYSTEM_ALREADY_EXISTS : HResultError = from_constant; // HCS_E_SYSTEM_ALREADY_EXISTS
/// The virtual machine or container with the specified identifier is not running.
pub const E_SYSTEM_ALREADY_STOPPED : HResultError = from_constant; // HCS_E_SYSTEM_ALREADY_STOPPED
/// A communication protocol error has occurred between the virtual machine or container and the host.
pub const E_PROTOCOL_ERROR : HResultError = from_constant; // HCS_E_PROTOCOL_ERROR
/// The container image contains a layer with an unrecognized format.
pub const E_INVALID_LAYER : HResultError = from_constant; // HCS_E_INVALID_LAYER
/// To use this container image, you must join the Windows Insider Program. Please see <https://go.microsoft.com/fwlink/?linkid=850659> for more information.
pub const E_WINDOWS_INSIDER_REQUIRED : HResultError = from_constant; // HCS_E_WINDOWS_INSIDER_REQUIRED
/// The operation could not be started because a required feature is not installed.
pub const E_SERVICE_NOT_AVAILABLE : HResultError = from_constant; // HCS_E_SERVICE_NOT_AVAILABLE
/// The operation has not started.
pub const E_OPERATION_NOT_STARTED : HResultError = from_constant; // HCS_E_OPERATION_NOT_STARTED
/// The operation is already running.
pub const E_OPERATION_ALREADY_STARTED : HResultError = from_constant; // HCS_E_OPERATION_ALREADY_STARTED
/// The operation is still running.
pub const E_OPERATION_PENDING : HResultError = from_constant; // HCS_E_OPERATION_PENDING
/// The operation did not complete in time.
pub const E_OPERATION_TIMEOUT : HResultError = from_constant; // HCS_E_OPERATION_TIMEOUT
/// An event callback has already been registered on this handle.
pub const E_OPERATION_SYSTEM_CALLBACK_ALREADY_SET : HResultError = from_constant; // HCS_E_OPERATION_SYSTEM_CALLBACK_ALREADY_SET
/// Not enough memory available to return the result of the operation.
pub const E_OPERATION_RESULT_ALLOCATION_FAILED : HResultError = from_constant; // HCS_E_OPERATION_RESULT_ALLOCATION_FAILED
/// Insufficient privileges. Only administrators or users that are members of the Hyper-V Administrators user group are permitted to access virtual machines or containers. To add yourself to the Hyper-V Administrators user group, please see <https://aka.ms/hcsadmin> for more information.
pub const E_ACCESS_DENIED : HResultError = from_constant; // HCS_E_ACCESS_DENIED
/// The virtual machine or container reported a critical error and was stopped or restarted.
pub const E_GUEST_CRITICAL_ERROR : HResultError = from_constant; // HCS_E_GUEST_CRITICAL_ERROR
/// The process information is not available.
pub const E_PROCESS_INFO_NOT_AVAILABLE : HResultError = from_constant; // HCS_E_PROCESS_INFO_NOT_AVAILABLE
/// The host compute system service has disconnected unexpectedly.
pub const E_SERVICE_DISCONNECT : HResultError = from_constant; // HCS_E_SERVICE_DISCONNECT
/// The process has already exited.
pub const E_PROCESS_ALREADY_STOPPED : HResultError = from_constant; // HCS_E_PROCESS_ALREADY_STOPPED
/// The virtual machine or container is not configured to perform the operation.
pub const E_SYSTEM_NOT_CONFIGURED_FOR_OPERATION : HResultError = from_constant; // HCS_E_SYSTEM_NOT_CONFIGURED_FOR_OPERATION
/// The operation has already been cancelled.
pub const E_OPERATION_ALREADY_CANCELLED : HResultError = from_constant; // HCS_E_OPERATION_ALREADY_CANCELLED