SendMessageCallback function user32
int
SendMessageCallback(
- int hWnd,
- int Msg,
- int wParam,
- int lParam,
- Pointer<
NativeFunction< lpResultCallBack,SENDASYNCPROC> > - int dwData,
Sends the specified message to a window or windows. It calls the window procedure for the specified window and returns immediately if the window belongs to another thread. After the window procedure processes the message, the system calls the specified callback function, passing the result of the message processing and an application-defined value to the callback function.
BOOL SendMessageCallbackW(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam,
SENDASYNCPROC lpResultCallBack,
ULONG_PTR dwData
);
Implementation
int SendMessageCallback(int hWnd, int Msg, int wParam, int lParam,
Pointer<NativeFunction<SENDASYNCPROC>> lpResultCallBack, int dwData) =>
_SendMessageCallback(hWnd, Msg, wParam, lParam, lpResultCallBack, dwData);