Share via


IDeviceEmulatorManagerVMID::ClearSaveState

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

HRESULT ClearSaveState();

Return Value

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

Remarks

Device Emulator save state files are located in drive:\Users\(user)\AppData\Roaming\Microsoft\Device Emulator.

This is the equivalent of selecting Clear Save State from the Actions menu in the Device Emulator Manager window.

Example

This example demonstrates the usage of this method. For the complete example, see IDeviceEmulatorManagerVMID.

Requirements

DEMComInterface.tlb