IDeviceEmulatorManagerVMID::SetConfiguration
Sets the configuration of the emulator given a correctly formatted Device Emulator Configuration XML string.
HRESULT SetConfiguration([in] const BSTR bstrConfig);
Parameters
- [in]bstrConfig
A string that contains configuration settings to apply to the emulator.
Return Value
An HRESULT value that indicates the outcome of the method call.
Remarks
The format of the input must follow the format for Device Emulator Configuration Files. For more information, see Device Emulator Configuration XML Schema Reference.
![]() |
---|
Untrusted code may execute if you configure the emulator's flash memory or shared folder to point to an untrusted remote location. |
Example
This example demonstrates the usage of this method. For the complete example, see IDeviceEmulatorManagerVMID::GetConfiguration.
Requirements
DEMComInterface.tlb