Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowProc

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


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

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.

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

Headerwinuser.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2014 Microsoft