Share via


WindowProc (Windows Embedded CE 6.0)

1/6/2010

This function is an application-defined callback function that processes messages sent to a window.

Syntax

LRESULT CALLBACK WindowProc(
  HWND hwnd, 
  UINT uMsg, 
  WPARAM wParam, 
  LPARAM lParam 
); 

Parameters

  • hwnd
    [in] Handle to the window.
  • uMsg
    [in] Specifies the message.
  • wParam
    [in] Specifies additional message information. The contents of this parameter depend on the value of the uMsg parameter.
  • lParam
    [in] Specifies additional message information. The contents of this parameter depend on the value of the uMsg parameter.

Return Value

The return value is the result of the message processing and depends on the message sent.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Windows Functions
CallWindowProc
DefWindowProc
RegisterClass