IDeviceEmulatorManagerVMID::GetConfiguration

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

HRESULT GetConfiguration([out, retval] BSTR *lpbstrConfig);

Parameters

  • [out, retvan] lpbstrConfig
    A pointer to a string that contains the emulator's configuration.

Return Value

An HRESULT value that indicates the outcome of the method call.

Remarks

The format of the output is the same as the format in Device Emulator Configuration Files. For more information, see Device Emulator Configuration XML Schema Reference.

Example

This example starts the Pocket PC 2003 emulator, gets and sets the emulator's configuration, and performs a soft reset by using IDeviceEmulatorManagerVMID.

Requirements

DEMComInterface.tlb