ホーム › Networking.Clustering › VM_RESDLL_CONTEXT
VM_RESDLL_CONTEXT
列挙型メンバー 5
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| VmResdllContextTurnOff | 0 | 0x0 | 仮想マシンの電源を切ります。 |
| VmResdllContextSave | 1 | 0x1 | 仮想マシンを保存します。 |
| VmResdllContextShutdown | 2 | 0x2 | 仮想マシンをシャットダウンします。 |
| VmResdllContextShutdownForce | 3 | 0x3 | 仮想マシンのシャットダウンを強制します。 |
| VmResdllContextLiveMigration | 4 | 0x4 | 仮想マシンのライブマイグレーションを実行します。 |
公式ドキュメント
仮想マシンが実行するアクションを格納します。
解説(Remarks)
この列挙型の値は、 プロパティリスト 内で MoveClusterGroupEx 関数の lpInBuffer パラメーターへの入力として使用し、仮想マシンに対して実行するアクションを指定できます。CLUSPROP_PROPERTY_NAME 構造体で使用するリソースの種類の名前は "Virtual Machine" または "Virtual Machine Configuration" であり、データ形式として指定する適切な CLUSTER_PROPERTY_FORMAT 列挙型の値は CLUSPROP_FORMAT_DWORD です。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum VM_RESDLL_CONTEXT : int {
VmResdllContextTurnOff = 0,
VmResdllContextSave = 1,
VmResdllContextShutdown = 2,
VmResdllContextShutdownForce = 3,
VmResdllContextLiveMigration = 4
} VM_RESDLL_CONTEXT;public enum VM_RESDLL_CONTEXT : int
{
VmResdllContextTurnOff = 0,
VmResdllContextSave = 1,
VmResdllContextShutdown = 2,
VmResdllContextShutdownForce = 3,
VmResdllContextLiveMigration = 4,
}Public Enum VM_RESDLL_CONTEXT As Integer
VmResdllContextTurnOff = 0
VmResdllContextSave = 1
VmResdllContextShutdown = 2
VmResdllContextShutdownForce = 3
VmResdllContextLiveMigration = 4
End Enumimport enum
class VM_RESDLL_CONTEXT(enum.IntEnum):
VmResdllContextTurnOff = 0
VmResdllContextSave = 1
VmResdllContextShutdown = 2
VmResdllContextShutdownForce = 3
VmResdllContextLiveMigration = 4// VM_RESDLL_CONTEXT
pub const VmResdllContextTurnOff: i32 = 0;
pub const VmResdllContextSave: i32 = 1;
pub const VmResdllContextShutdown: i32 = 2;
pub const VmResdllContextShutdownForce: i32 = 3;
pub const VmResdllContextLiveMigration: i32 = 4;// VM_RESDLL_CONTEXT
const (
VmResdllContextTurnOff int32 = 0
VmResdllContextSave int32 = 1
VmResdllContextShutdown int32 = 2
VmResdllContextShutdownForce int32 = 3
VmResdllContextLiveMigration int32 = 4
)const
VmResdllContextTurnOff = 0;
VmResdllContextSave = 1;
VmResdllContextShutdown = 2;
VmResdllContextShutdownForce = 3;
VmResdllContextLiveMigration = 4;// VM_RESDLL_CONTEXT
pub const VmResdllContextTurnOff: i32 = 0;
pub const VmResdllContextSave: i32 = 1;
pub const VmResdllContextShutdown: i32 = 2;
pub const VmResdllContextShutdownForce: i32 = 3;
pub const VmResdllContextLiveMigration: i32 = 4;const
VmResdllContextTurnOff* = 0
VmResdllContextSave* = 1
VmResdllContextShutdown* = 2
VmResdllContextShutdownForce* = 3
VmResdllContextLiveMigration* = 4enum VM_RESDLL_CONTEXT : int {
VmResdllContextTurnOff = 0,
VmResdllContextSave = 1,
VmResdllContextShutdown = 2,
VmResdllContextShutdownForce = 3,
VmResdllContextLiveMigration = 4,
}#define global VmResdllContextTurnOff 0x0
#define global VmResdllContextSave 0x1
#define global VmResdllContextShutdown 0x2
#define global VmResdllContextShutdownForce 0x3
#define global VmResdllContextLiveMigration 0x4