IWinEventHandler

IID_IWinEventHandler {EA5F2D61-E008-11CF-99CB-00C04FD64497}

The IWinEventHandler methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C OnWinEvent
0x10 IsWindowOwner

with prototypes:

HRESULT OnWinEvent (HWND, UINT, WPARAM, LPARAM, LRESULT *);
HRESULT IsWindowOwner (HWND);

Implementations

In Windows Vista, implementations of the IWinEventHandler interface are known in the following executables: BROWSEUI, COMDLG32, EXPLORER, IEFRAME, MSOE, SHDOCVW and SHELL32.

Availability

The IWinEventHandler interface first appears in SHDOCVW.DLL version 4.71 and EXPLORER.EXE version 4.71. Classification, between the Windows shell and Internet Explorer, is uncertain. The interface is not even known to SHELL32.DLL until version 5.00.

Though this interface dates from as long ago as 1997, it is still not documented by Microsoft as late as the January 2007 edition of the Windows Software Development Kit (SDK).