| Revision 2090,
1.4 KB
checked in by lowjoel, 3 years ago
(diff) |
|
Silence warnings. These warnings are useless because the NMHDR structure is for interop.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * $Id$ |
|---|
| 3 | * Copyright 2008-2010 The Eraser Project |
|---|
| 4 | * Original Author: Joel Low <lowjoel@users.sourceforge.net> |
|---|
| 5 | * Modified By: |
|---|
| 6 | * |
|---|
| 7 | * This file is part of Eraser. |
|---|
| 8 | * |
|---|
| 9 | * Eraser is free software: you can redistribute it and/or modify it under the |
|---|
| 10 | * terms of the GNU General Public License as published by the Free Software |
|---|
| 11 | * Foundation, either version 3 of the License, or (at your option) any later |
|---|
| 12 | * version. |
|---|
| 13 | * |
|---|
| 14 | * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY |
|---|
| 15 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
|---|
| 16 | * A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
|---|
| 17 | * |
|---|
| 18 | * A copy of the GNU General Public License can be found at |
|---|
| 19 | * <http://www.gnu.org/licenses/>. |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| 22 | using System; |
|---|
| 23 | using System.Collections.Generic; |
|---|
| 24 | using System.Linq; |
|---|
| 25 | using System.Text; |
|---|
| 26 | |
|---|
| 27 | namespace Eraser.Util |
|---|
| 28 | { |
|---|
| 29 | internal static partial class NativeMethods |
|---|
| 30 | { |
|---|
| 31 | public const int BS_SPLITBUTTON = 0x0000000C; |
|---|
| 32 | public const uint BCM_FIRST = 0x1600; |
|---|
| 33 | public const uint BCM_SETDROPDOWNSTATE = BCM_FIRST + 6; |
|---|
| 34 | public const uint BCN_FIRST = unchecked(0U - 1250U); |
|---|
| 35 | public const uint BCN_DROPDOWN = BCN_FIRST + 0x0002; |
|---|
| 36 | public const uint WM_NOTIFY = 0x004E; |
|---|
| 37 | public const uint WM_PAINT = 0x000F; |
|---|
| 38 | public const uint WM_CONTEXTMENU = 0x007B; |
|---|
| 39 | |
|---|
| 40 | #pragma warning disable 0649 |
|---|
| 41 | public struct NMHDR |
|---|
| 42 | { |
|---|
| 43 | public IntPtr hwndFrom; |
|---|
| 44 | public uint idFrom; |
|---|
| 45 | public uint code; |
|---|
| 46 | } |
|---|
| 47 | #pragma warning restore 0649 |
|---|
| 48 | } |
|---|
| 49 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.