Share via


IDeviceEmulatorManagerVMID::get_State

Gets the current state of the emulator.

HRESULT get_State([out, retval] int* pState);

Parameters

  • [out,retval] pState
    A pointer to an EMULATOR_STATE enumeration that represents the current state of the emulator.

Return Value

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

Remarks

The emulator can be not running, running, or cradled.

Example

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

Requirements

DEMComInterface.tlb