Group: Window Procedure - Library: user32
The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.
LRESULT DefWindowProc(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
DECLARE INTEGER DefWindowProc IN user32;
LONG hWnd,;
LONG Msg,;
INTEGER wParam,;
INTEGER lParam
hWnd [in] Handle to the window procedure that received the message.
Msg [in] Specifies the message. wParam
[in] Specifies additional message information.
lParam [in] Specifies additional message information.
The return value is the result of the message processing and depends on the message.
You hardly could have a reason to call this frunction directly from VFP code.