Lines Matching full:ncode
25 LRESULT CALLBACK StaticRecordWndProc(int nCode, WPARAM wParam,
28 return EventRecorder::current()->RecordWndProc(nCode, wParam, lParam);
31 LRESULT CALLBACK StaticPlaybackWndProc(int nCode, WPARAM wParam,
34 return EventRecorder::current()->PlaybackWndProc(nCode, wParam, lParam);
164 LRESULT EventRecorder::RecordWndProc(int nCode, WPARAM wParam, LPARAM lParam) {
170 if (nCode < 0)
171 return ::CallNextHookEx(journal_hook_, nCode, wParam, lParam);
176 return ::CallNextHookEx(journal_hook_, nCode, wParam, lParam);
181 switch (nCode) {
190 if (nCode == HC_ACTION && recording_enabled) {
198 return CallNextHookEx(journal_hook_, nCode, wParam, lParam);
202 LRESULT EventRecorder::PlaybackWndProc(int nCode, WPARAM wParam,
207 switch (nCode) {
255 return CallNextHookEx(journal_hook_, nCode, wParam, lParam);