IExecuteCommandApplicationHostEnvironment interface (shobjidl_core.h)

Provides a single method that enables an application to determine whether its host is in desktop or immersive mode.

Inheritance

The IExecuteCommandApplicationHostEnvironment interface inherits from the IUnknown interface. IExecuteCommandApplicationHostEnvironment also has these types of members:

Methods

The IExecuteCommandApplicationHostEnvironment interface has these methods.

 
IExecuteCommandApplicationHostEnvironment::GetValue

Determines whether the current application host environment is in the desktop or immersive mode.

Remarks

When to implement

An application must implement this interface together with the DelegateExecute handler (IExecuteCommand).

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)