Called by AutoPlay to implement the handling of registered media types.
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::Initialize||Initializes an object that contains an implementation of the IHWEventHandler interface.|
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.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|