private static bool ProcessRawInput(IntPtr hRawInput) { if (RawInput != null) { RawInputEventArgs args; try { args = new RawInputEventArgs(hRawInput); } catch { #if DEBUG throw; #else return(false); #endif // DEBUG } RawInput(null, args); return(true); } return(false); }
private static bool ProcessRawInput(IntPtr hRawInput) { if (RawInput != null) { RawInputEventArgs args; try { args = new RawInputEventArgs(hRawInput); } catch { #if DEBUG throw; #else return false; #endif // DEBUG } RawInput(null, args); return true; } return false; }