| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 namespace UnitTests | 5 namespace UnitTests |
| 6 { | 6 { |
| 7 using System; | 7 using System; |
| 8 using System.Runtime.InteropServices; | 8 using System.Runtime.InteropServices; |
| 9 | 9 |
| 10 /// <summary> | 10 /// <summary> |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 int dwPendingType) | 151 int dwPendingType) |
| 152 { | 152 { |
| 153 return 2; // PENDINGMSG_WAITDEFPROCESS. | 153 return 2; // PENDINGMSG_WAITDEFPROCESS. |
| 154 } | 154 } |
| 155 | 155 |
| 156 // Implement the IOleMessageFilter interface. | 156 // Implement the IOleMessageFilter interface. |
| 157 [DllImport("Ole32.dll")] | 157 [DllImport("Ole32.dll")] |
| 158 private static extern int CoRegisterMessageFilter( | 158 private static extern int CoRegisterMessageFilter( |
| 159 IOleMessageFilter newFilter, out IOleMessageFilter oldFilter); | 159 IOleMessageFilter newFilter, out IOleMessageFilter oldFilter); |
| 160 } | 160 } |
| 161 } | 161 } |
| OLD | NEW |