Two samples are provided. The first is a C++ application that demonstrates how to access the Device Emulator Manager features through the native COM interfaces. The C++ sample application includes two main files that are of interest: DEMAutomation.cpp and DEMOperations.cpp. DEMAutomation.cpp contains the program’s entry point code that parses the command-line parameters and calls the corresponding Device Emulator Manager operation. DEMOperations.cpp contains the code that demonstrates the details of programmatically interacting with the Device Emulator Manager. The two primary interfaces used within the DEMOperations.cpp source file are IDeviceEmulatorManager and IDeviceEmulatorManagerVMID. The IDeviceEmulatorManager interface represents the Device Emulator Manager; the IDeviceEmulatorManagerVMID interface represents a specific instance of an emulator.
The second sample is a script application that demonstrates how to access the Device Emulator Manager features through the Automation interfaces. All Device Emulator Manager features are available through the automation interfaces.