IAssocHandler interface

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

Members

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

Methods

The IAssocHandler interface has these methods.

MethodDescription
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.

GetIconLocation

Retrieves the location of the icon associated with the application.

GetName

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

GetUIName

Retrieves the display name of an application.

Invoke

Directly invokes the associated handler.

IsRecommended

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

MakeDefault

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

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

SHAssocEnumHandlers
IEnumAssocHandlers
IAssocHandlerInvoker

 

 

Show: