IVMDisplay interface

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Controls the display settings of a virtual machine. The IVMDisplay interface for a virtual machine can be retrieved using the IVMVirtualMachine::Display property.

Members

The IVMDisplay interface inherits from the IDispatch interface. IVMDisplay also has these types of members:

Methods

The IVMDisplay interface has these methods.

Method Description
_GenerateThumbnail Retrieves an array of pixels representing a thumbnail image of the virtual machine's screen.
SetDimensions Sets the height and width of the virtual machine's display, in pixels.

Properties

The IVMDisplay interface has these properties.

Property Access type Description
CanResize
Read-only
Indicates whether the Guest allows resolution changes.
Height
Read-only
The height of the virtual machine's display, in pixels.
Thumbnail
Read-only
An array of pixels representing a thumbnail image of the virtual machine's screen.
VideoMode
Read-only
The current video mode (Text, VGA, SVGA, and so on).
Width
Read-only
The width of the virtual machine's display, in pixels.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h
IID
IID_IVMDisplay is defined as 960895e9-f743-4498-96aa-261f867e7fc5