Share via


VHD_FLAGS enumeration

Indicates options to be used when mounting a virtual hard disk (VHD) file with the MountVHD function.

Syntax

typedef enum _VHD_FLAGS { 
  VHD_NORMAL             = 0,
  VHD_NW_MAPPED          = 1,
  VHD_MOUNT_AS_READONLY  = 2,
  VHD_FORCE_UNMOUNT      = 3
} VHD_FLAGS;

Constants

VHD_NORMAL

Mount or unmount the VHD file normally.

VHD_NW_MAPPED

This value is reserved.

VHD_MOUNT_AS_READONLY

This value is reserved.

VHD_FORCE_UNMOUNT

Force the system to unmount the VHD file without sending any device eject notification. This could result in a message getting logged in the event viewer.

Requirements

Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VHDMount.h

See also

Virtual Server Enumerations

MountVHD

UnmountVHD