EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

IExecuteCommandHost interface

Provides a method that enables an IExplorerCommand-based Shell verb handler to query the UI mode of the host component from which the application was invoked.

Members

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

Methods

The IExecuteCommandHost interface has these methods.

MethodDescription
GetUIMode

 

Remarks

When to implement

A software component (either an OS component or an application) taat can launch a dual-mode application such as a browser should implement this interface. The interface should be implemented on an object that can be reached through the site chain provided to ShellExecuteEx or the context menu and retrieved through the IServiceProvider::QueryService method.

When to use

Typically, an application that is capable of launching as both a desktop application and a Windows Store app app will use this interface to query which mode the host is currently in. The application can then launch in the UI mode that is compatible with the host.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft