共用方式為


IVMDisplay::Thumbnail property

The Thumbnail property contains an array of pixels representing a thumbnail image of the virtual machine's screen.

This property is read-only.

Syntax

HRESULT get_Thumbnail(
  [out] VARIANT *thumbnailImage
);

VB
VMDisplay.Thumbnail( _
  ByRef thumbnailImage _
)

Property value

An array of Objects containing unsigned Integer entries, one for each pixel in the thumbnail.

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The parameter is NULL.
DISP_E_EXCEPTION
An unexpected error occurred.

Remarks

This interface returns the thumbnail less efficiently than the _GenerateThumbnail method, but is usable from scripting clients. The thumbnail is always 64 pixels wide by 48 pixels high. Each pixel is 32 bits. The first 64 elements in the array is the first row of pixels in the thumbnail, the next 64 elements is the second row, and so on.

Requirements

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

See also

IVMDisplay