Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by AutoPlay to implement the handling of registered media types.
Inheritance
The IHWEventHandler interface inherits from the IUnknown interface. IHWEventHandler also has these types of members:
Methods
The IHWEventHandler interface has these methods.
IHWEventHandler::HandleEvent Handles AutoPlay device events for which there is no content of the type the application is registered to handle. |
IHWEventHandler::HandleEventWithContent Not implemented. (IHWEventHandler.HandleEventWithContent) |
IHWEventHandler::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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl.h |