IHWEventHandler interface

Called by AutoPlay to implement the handling of registered media types.

Members

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

Methods

The IHWEventHandler interface has these methods.

MethodDescription
HandleEvent

Handles AutoPlay device events for which there is no content of the type the application is registered to handle.

HandleEventWithContent

Not implemented.

Initialize

Initializes an object that contains an implementation of the IHWEventHandler interface.

 

Remarks

Developers supporting this interface must expose it in a Component Object Model (COM) server.

All applications registered as AutoPlay media handlers must implement this interface. Handlers that implement this interface should return quickly from calls to IHWEventHandler::HandleEvent and IHWEventHandler2::HandleEventWithHWND so they won't block the AutoPlay dialog from closing. Additionally, if a local server must be launched for the creation of this handler, it should not block the CreateInstance call; it should return as soon as possible.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.5 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft