IDeviceEmulatorManagerVMID

This interface represents a single emulator in the Device Emulator Manager (DEM). Use this interface to perform operations, such as connect, cradle, and reset, on the emulator.

interface IDeviceEmulatorManagerVMID : IDispatch{}

Methods

Method

Description

IDeviceEmulatorManagerVMID::get_VMID

Gets the virtual machine identifier (VMID) that uniquely identifies the emulator.

IDeviceEmulatorManagerVMID::get_State

Gets the current state of the emulator. The emulator can be not running, running, or cradled.

IDeviceEmulatorManagerVMID::get_Name

Gets the name of the emulator, for example, Pocket PC 2003 SE Emulator.

IDeviceEmulatorManagerVMID::Connect

Starts the Device Emulator if it is not already started and connects to it.

IDeviceEmulatorManagerVMID::Cradle

Cradles the emulator.

IDeviceEmulatorManagerVMID::UnCradle

Uncradles the emulator.

IDeviceEmulatorManagerVMID::Shutdown

Shuts down the emulator and, optionally, saves the emulator's state.

IDeviceEmulatorManagerVMID::Reset

Resets the emulator.

IDeviceEmulatorManagerVMID::ClearSaveState

Clears the Device Emulator saved state file (.dess) associated with this device. The next time you start, the emulator will start from its ROM image instead of its saved state file.

IDeviceEmulatorManagerVMID::BringToFront

Shows the Device Emulator window.

IDeviceEmulatorManagerVMID::GetConfiguration

Gets the configuration of the emulator in Device Emulator Configuration XML format.

IDeviceEmulatorManagerVMID::SetConfiguration

Sets the configuration of the emulator given a correctly formatted Device Emulator Configuration XML string.

Remarks

To create an object that implements this interface, use IEnumVMIDs::get_VMID.

Example

This example starts the Pocket PC 2003 emulator and performs a variety of operations.

Requirements

DEMComInterface.tlb

See Also

Other Resources

Device Emulator samples