NotifyWinEvent function user32
Signals the system that a predefined event occurred. If any client applications have registered a hook function for the event, the system calls the client's hook function.
void NotifyWinEvent(
DWORD event,
HWND hwnd,
LONG idObject,
LONG idChild
);
Implementation
void NotifyWinEvent(int event, int hwnd, int idObject, int idChild) =>
_NotifyWinEvent(event, hwnd, idObject, idChild);