IExecuteCommandApplicationHostEnvironment 介面 (shobjidl_core.h)

提供單一方法,可讓應用程式判斷其主機是否處於桌面模式或沉浸式模式。

繼承

IExecuteCommandApplicationHostEnvironment 介面繼承自 IUnknown 介面。 IExecuteCommandApplicationHostEnvironment 也有下列類型的成員:

方法

IExecuteCommandApplicationHostEnvironment 介面具有這些方法。

 
IExecuteCommandApplicationHostEnvironment::GetValue

判斷目前的應用程式主機環境是否處於桌面或沉浸式模式。

備註

實作時機

應用程式必須與 DelegateExecute 處理程式一起實作此介面, (IExecuteCommand) 。

規格需求

需求
最低支援的用戶端 Windows 8 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 [僅限傳統型應用程式]
目標平台 Windows
標頭 shobjidl_core.h (包括 Shobjidl.h)