Can I call Device Emulator's API functions to get or set the parameters for emulator?

I want to record the state of emulator after doing some operations, so the emulator can be restore to the last state quickly by setting the parameters of the state to emulator again. Does the device emulator provide API functions being called by program? If someone know how to deal with the problem, let me know.

Thanks for every suggestion!

My email :sitnc-visto@hotmail.com

[503 byte] By [WilliamLiu] at [2007-12-23]
# 1

Sorry, but there is currently no programmatic interface to the emulator.

But if you are using Visual Studio to launch the emulator, you can accomplish what you want by hand. Go to Tools/Options/Devices and pick the emulator configuration you want to use. Then copy the configuration and give it a new name. Then configure it how you want, and when you close that emulator, say "yes" when it prompts you to save state. Next time you launch that configuration, it will resume where it left off.

Barry

BarryBond at 2007-8-30 > top of Msdn Tech,Smart Device Development,Device Emulator General...