Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / WinFormsIntegration / MS / Win32 / NativeMethods.cs / 2 / NativeMethods.cs
//****************************************************************************
// DO NOT adjust the visibility of anything in these files. They are marked
// internal on purpose.
//***************************************************************************
namespace MS.Win32
{
using System;
internal static class NativeMethods
{
public static IntPtr HWND_TOP = IntPtr.Zero;
public const int LOGPIXELSX = 88;
public const int LOGPIXELSY = 90;
public const int SWP_NOSIZE = 1;
public const int SWP_NOMOVE = 2;
public const int UIS_SET = 1;
public const int UIS_INITIALIZE = 3;
public const int UISF_HIDEFOCUS = 0x1;
public const int UISF_HIDEACCEL = 0x2;
public const int WM_CREATE = 0x0001;
public const int WM_MOVE = 0x0003;
public const int WM_SIZE = 0x0005;
public const int WM_SETFOCUS = 0x0007;
public const int WM_KILLFOCUS = 0x0008;
public const int WM_SETREDRAW = 0x000B;
public const int WM_WINDOWPOSCHANGING = 0x0046;
public const int WM_WINDOWPOSCHANGED = 0x0047;
public const int WM_ACTIVATEAPP = 0x001C;
public const int WM_MOUSEACTIVATE = 0x0021;
public const int WM_CHILDACTIVATE = 0x0022;
public const int WM_GETOBJECT = 0x003D;
public const int WM_KEYDOWN = 0x0100;
public const int WM_KEYUP = 0x0101;
public const int WM_CHAR = 0x0102;
public const int WM_DEADCHAR = 0x0103;
public const int WM_SYSKEYDOWN = 0x0104;
public const int WM_SYSKEYUP = 0x0105;
public const int WM_SYSCHAR = 0x0106;
public const int WM_SYSDEADCHAR = 0x0107;
public const int WM_UPDATEUISTATE = 0x0128;
public const int WM_PARENTNOTIFY = 0x0210;
public const int WM_USER = 0x0400;
public const int WM_REFLECT = WM_USER + 0x1C00;
public const int WM_INPUTLANGCHANGE = 0x0051;
public const int WM_IME_NOTIFY = 0x0282;
public const int IMN_SETCONVERSIONMODE = 0x0006;
public const int IMN_SETOPENSTATUS = 0x0008;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//****************************************************************************
// DO NOT adjust the visibility of anything in these files. They are marked
// internal on purpose.
//***************************************************************************
namespace MS.Win32
{
using System;
internal static class NativeMethods
{
public static IntPtr HWND_TOP = IntPtr.Zero;
public const int LOGPIXELSX = 88;
public const int LOGPIXELSY = 90;
public const int SWP_NOSIZE = 1;
public const int SWP_NOMOVE = 2;
public const int UIS_SET = 1;
public const int UIS_INITIALIZE = 3;
public const int UISF_HIDEFOCUS = 0x1;
public const int UISF_HIDEACCEL = 0x2;
public const int WM_CREATE = 0x0001;
public const int WM_MOVE = 0x0003;
public const int WM_SIZE = 0x0005;
public const int WM_SETFOCUS = 0x0007;
public const int WM_KILLFOCUS = 0x0008;
public const int WM_SETREDRAW = 0x000B;
public const int WM_WINDOWPOSCHANGING = 0x0046;
public const int WM_WINDOWPOSCHANGED = 0x0047;
public const int WM_ACTIVATEAPP = 0x001C;
public const int WM_MOUSEACTIVATE = 0x0021;
public const int WM_CHILDACTIVATE = 0x0022;
public const int WM_GETOBJECT = 0x003D;
public const int WM_KEYDOWN = 0x0100;
public const int WM_KEYUP = 0x0101;
public const int WM_CHAR = 0x0102;
public const int WM_DEADCHAR = 0x0103;
public const int WM_SYSKEYDOWN = 0x0104;
public const int WM_SYSKEYUP = 0x0105;
public const int WM_SYSCHAR = 0x0106;
public const int WM_SYSDEADCHAR = 0x0107;
public const int WM_UPDATEUISTATE = 0x0128;
public const int WM_PARENTNOTIFY = 0x0210;
public const int WM_USER = 0x0400;
public const int WM_REFLECT = WM_USER + 0x1C00;
public const int WM_INPUTLANGCHANGE = 0x0051;
public const int WM_IME_NOTIFY = 0x0282;
public const int IMN_SETCONVERSIONMODE = 0x0006;
public const int IMN_SETOPENSTATUS = 0x0008;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorDialog.cs
- AssociationType.cs
- RsaSecurityTokenAuthenticator.cs
- SafeFileMappingHandle.cs
- ImportCatalogPart.cs
- GradientStop.cs
- CommandID.cs
- WebPartUserCapability.cs
- ManagedFilter.cs
- CacheHelper.cs
- ToolStripLocationCancelEventArgs.cs
- WebPartEditorApplyVerb.cs
- SocketConnection.cs
- SqlCacheDependencyDatabase.cs
- ColumnResizeUndoUnit.cs
- Operator.cs
- TableCell.cs
- AttachedPropertiesService.cs
- HostingEnvironment.cs
- DataControlFieldHeaderCell.cs
- Point3DCollection.cs
- FilterUserControlBase.cs
- SchemaLookupTable.cs
- XmlILAnnotation.cs
- Matrix3D.cs
- UpdateExpressionVisitor.cs
- RectValueSerializer.cs
- HwndMouseInputProvider.cs
- PenThreadPool.cs
- IdentityValidationException.cs
- X509Certificate2Collection.cs
- SiteMapPath.cs
- FontDialog.cs
- SnapshotChangeTrackingStrategy.cs
- SafeIUnknown.cs
- DataGrid.cs
- GlyphInfoList.cs
- DynamicMethod.cs
- Choices.cs
- SpinLock.cs
- ToolStripMenuItem.cs
- MaterialCollection.cs
- documentsequencetextview.cs
- SchemaCollectionCompiler.cs
- OrderedDictionary.cs
- SmtpReplyReader.cs
- MenuAutomationPeer.cs
- ThreadAttributes.cs
- DocumentScope.cs
- RenderContext.cs
- XmlObjectSerializer.cs
- PropertyKey.cs
- TextOnlyOutput.cs
- AudioFileOut.cs
- LOSFormatter.cs
- MainMenu.cs
- TextureBrush.cs
- RectAnimationBase.cs
- MouseOverProperty.cs
- TimeZoneInfo.cs
- BitStack.cs
- SoapUnknownHeader.cs
- PipelineModuleStepContainer.cs
- Scene3D.cs
- SafeNativeMethods.cs
- ArrayWithOffset.cs
- GrammarBuilderWildcard.cs
- TextAutomationPeer.cs
- CheckedListBox.cs
- TextEndOfParagraph.cs
- ComNativeDescriptor.cs
- StreamReader.cs
- RotateTransform.cs
- COM2ExtendedBrowsingHandler.cs
- MissingMemberException.cs
- SoapReflector.cs
- codemethodreferenceexpression.cs
- StateManagedCollection.cs
- SerializableAttribute.cs
- IdentityReference.cs
- invalidudtexception.cs
- ColorBlend.cs
- Decorator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CoreSwitches.cs
- StringStorage.cs
- XmlSerializer.cs
- XpsDocumentEvent.cs
- ValidationErrorCollection.cs
- PropertyValidationContext.cs
- XmlEncodedRawTextWriter.cs
- IndexedSelectQueryOperator.cs
- ItemType.cs
- ToolStripDropDownButton.cs
- Rule.cs
- CompositionAdorner.cs
- TextBoxBase.cs
- DataTable.cs
- ProjectionPathBuilder.cs
- StringReader.cs