IAssocHandler interface (shobjidl_core.h)

Exposes methods for operations with a file association dialog box or menu.

Inheritance

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

Methods

The IAssocHandler interface has these methods.

 
IAssocHandler::CreateInvoker

Retrieves an object that enables the invocation of the associated handler on the current selection. The invoker includes the ability to verify whether the current selection is supported.
IAssocHandler::GetIconLocation

Retrieves the location of the icon associated with the application.
IAssocHandler::GetName

Retrieves the full path and file name of the executable file associated with the file type.
IAssocHandler::GetUIName

Retrieves the display name of an application.
IAssocHandler::Invoke

Directly invokes the associated handler.
IAssocHandler::IsRecommended

Indicates whether the application is registered as a recommended handler for the queried file type.
IAssocHandler::MakeDefault

Sets an application as the default application for this file type.

Requirements

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

See also

IAssocHandlerInvoker

IEnumAssocHandlers

SHAssocEnumHandlers