IActiveIMMApp::OnDefWindowProc method

Replaces the DefWindowProc function.

Syntax

HRESULT OnDefWindowProc(
  [in]  HWND    hWnd,
  [in]  UINT    Msg,
  [in]  WPARAM  wParam,
  [in]  LPARAM  lParam,
  [out] LRESULT *plResult
);

Parameters

  • hWnd [in]
    A handle to the window procedure that receives the message.

  • Msg [in]
    An unsigned integer that specifies the message.

  • wParam [in]
    A WPARAM value that specifies additional message information.

  • lParam [in]
    A LPARAM value that specifies additional message information.

  • plResult [out]
    The address of an LRESULT value that receives the result of the operation.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method must be called before you typically would call DefWindowProc. If IActiveIMMApp::OnDefWindowProc returns S_FAIL, call DefWindowProc.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMApp