WslcVhdRequirements¶
typedef struct WslcVhdRequirements
{
_In_z_ PCSTR name;
_In_ uint64_t sizeBytes; // Desired size (for create/expand)
_In_ WslcVhdType type;
_In_ WslcVhdRequirementsFlags flags;
_In_ uint32_t uid; // honored iff (flags & WSLC_VHD_REQ_FLAG_OWNER)
_In_ uint32_t gid; // honored iff (flags & WSLC_VHD_REQ_FLAG_OWNER)
} WslcVhdRequirements;
| Field | Type |
|---|---|
name |
PCSTR |
sizeBytes |
uint64_t |
type |
WslcVhdType |
flags |
WslcVhdRequirementsFlags |
uid |
uint32_t |
gid |
uint32_t |
Header notes:
nameis ignored byWslcSetSessionSettingsVhd.- The remaining fields after
typeare only honored byWslcCreateSessionVhdVolume. WslcSetSessionSettingsVhdrejects non-NONEflags withE_INVALIDARG.