dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

Request: User32 missing CallWindowProc function #580

Closed vyuzhanin closed 1 year ago

vyuzhanin commented 3 years ago

WinAPI example: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-callwindowproca

C# Example:

[DllImport("user32.dll")]
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, PInvoke.User32.WindowMessage Msg, IntPtr wParam, IntPtr lParam);