if (code >= 0) { OS.MoveMemory (hookMsg, lParam, MSG.sizeof); if (hookMsg.message == OS.WM_NULL) { if (runAsyncMessages ()) wakeThread ();
if (!ignoreMsgFilter) { if (code >= 0) { OS.MoveMemory (hookMsg, lParam, MSG.sizeof); if (hookMsg.message == OS.WM_NULL) { if (runAsyncMessages ()) wakeThread (); }
int msgFilterProc (int code, int wParam, int lParam) {	if (code >= 0) {		OS.MoveMemory (hookMsg, lParam, MSG.sizeof);		if (hookMsg.message == OS.WM_NULL) {			if (runAsyncMessages ()) wakeThread ();		}	}	return OS.CallNextHookEx (filterHook, code, wParam, lParam);}