Partager via


IHomePlugin::OnEvent

4/8/2010

The OnEvent method is a general event handler. Plug-ins should ignore any events that they do not handle in case new events are added.

Syntax

HRESULT OnEvent (
  PluginEvent * ppe
);

Parameters

  • ppe
    [in, out] Pointer to one of the PE_* enumerators contained within the PluginEventID enumeration. These enumerators serve as events that can be passed to the plug-in.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    Indicates success.

Requirements

Header home.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone 2002 and later

See Also

Reference

IHomePlugin
PluginEvent