IVMKeyboard::TypeAsciiText method

The TypeAsciiText method simulates the given series of ASCII keys being typed (pressed and then released) in the virtual machine.

Syntax

HRESULT TypeAsciiText(
  [in] BSTR text
);

Parameters

text [in]

The ASCII text string to be typed inside the virtual machine.

Return value

This method can return one of these values.

Return code Description
S_OK
The operation was successful.
E_POINTER
The text parameter is NULL.
E_INVALIDARG
The given text string is empty, or contains an invalid key code.
DISP_E_EXCEPTION
An unexpected error occurred.

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

IVMKeyboard