IDynamicHWHandler interface (shobjidl.h)

Called by AutoPlay. Exposes methods that get dynamic information regarding a registered handler prior to displaying it to the user.

Inheritance

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

Methods

The IDynamicHWHandler interface has these methods.

 
IDynamicHWHandler::GetDynamicInfo

Called by the system to determine whether a particular handler will be shown before the AutoPlay dialog is displayed.

Remarks

Prior to this interface, when an application registered a handler and was displayed in the autoplay prompt, the handler was always shown as long as the content type (for example, mp3 or avi) associated with that handler was found on the media device. The same icon and action string were always displayed.

If a handler implements this interface prior to showing the handler, AutoPlay will first call IDynamicHWHandler::GetDynamicInfo to determine if this handler is to be presented to the user. If you want to show the handler, you may specify a different action string than the one supplied by the static handler registration under HKLM.

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