callwindowproc (user32)
Last changed: -67.128.30.210

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr CallWindowProc(WndProcDelegate lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

VB.NET Signature:

<DllImport("user32.dll")> _
Private Shared Function CallWindowProc(lpPrevWndFunc As WndProcDelegate, hWnd As IntPtr, Msg As UInteger, wParam As IntPtr, lParam As IntPtr) As IntPtr
End Function

User-Defined Types:

None.

Notes:

WndProcDelegate

Tips & Tricks:

It is possible to execute an array of bytes. lpPrevWndFunc is equal to the address of the byte array.

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation