IDeviceEmulatorManagerVMID::BringToFront

更新:2007 年 11 月

显示“设备仿真程序”窗口。

HRESULT BringToFront();

返回值

一个指示方法调用结果的 HRESULT 值。

备注

这相当于在“设备仿真器管理器”窗口中的“操作”菜单中选择“置于顶层”。

示例

本示例演示如何使用此方法。有关完整的示例,请参见IDeviceEmulatorManagerVMID

// Make the Device Emulator window visible
hr = pDevice->BringToFront();
if (SUCCEEDED(hr)) wprintf_s(L"Device Emulator window is on top\n");

要求

DEMComInterface.tlb