Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Input / Stylus / TabletDeviceInfo.cs / 1 / TabletDeviceInfo.cs
using System;
using System.Collections.ObjectModel;
using System.Security;
using MS.Internal;
using MS.Win32.Penimc;
using System.Windows.Media;
namespace System.Windows.Input
{
/////////////////////////////////////////////////////////////////////////
///
/// The struct is used to store the tablet device size information.
///
internal struct TabletDeviceSizeInfo
{
public Size TabletSize;
public Size ScreenSize;
// Constructor
internal TabletDeviceSizeInfo(Size tabletSize, Size screenSize)
{
TabletSize = tabletSize;
ScreenSize = screenSize;
}
}
/////////////////////////////////////////////////////////////////////////
///
/// The class is used to store tablet device information.
///
internal class TabletDeviceInfo
{
///
/// This data is not safe to expose as it holds refrence to IPimcTablet
///
public SecurityCriticalDataClass PimcTablet;
public int Id;
public string Name;
public string PlugAndPlayId;
public TabletDeviceSizeInfo SizeInfo;
public TabletHardwareCapabilities HardwareCapabilities;
public TabletDeviceType DeviceType;
public ReadOnlyCollection StylusPointProperties;
public int PressureIndex;
public StylusDeviceInfo[] StylusDevicesInfo;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.ObjectModel;
using System.Security;
using MS.Internal;
using MS.Win32.Penimc;
using System.Windows.Media;
namespace System.Windows.Input
{
/////////////////////////////////////////////////////////////////////////
///
/// The struct is used to store the tablet device size information.
///
internal struct TabletDeviceSizeInfo
{
public Size TabletSize;
public Size ScreenSize;
// Constructor
internal TabletDeviceSizeInfo(Size tabletSize, Size screenSize)
{
TabletSize = tabletSize;
ScreenSize = screenSize;
}
}
/////////////////////////////////////////////////////////////////////////
///
/// The class is used to store tablet device information.
///
internal class TabletDeviceInfo
{
///
/// This data is not safe to expose as it holds refrence to IPimcTablet
///
public SecurityCriticalDataClass PimcTablet;
public int Id;
public string Name;
public string PlugAndPlayId;
public TabletDeviceSizeInfo SizeInfo;
public TabletHardwareCapabilities HardwareCapabilities;
public TabletDeviceType DeviceType;
public ReadOnlyCollection StylusPointProperties;
public int PressureIndex;
public StylusDeviceInfo[] StylusDevicesInfo;
}
}
// 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
- CompiledIdentityConstraint.cs
- BooleanConverter.cs
- DecimalAnimationBase.cs
- ConfigXmlWhitespace.cs
- CompositeFontFamily.cs
- CalendarModeChangedEventArgs.cs
- X509ChainElement.cs
- XXXOnTypeBuilderInstantiation.cs
- SchemaCollectionPreprocessor.cs
- WebPartMinimizeVerb.cs
- ColumnMap.cs
- WebBrowserPermission.cs
- Int32RectValueSerializer.cs
- HostedHttpTransportManager.cs
- Dispatcher.cs
- QueryGenerator.cs
- XmlSigningNodeWriter.cs
- VerificationAttribute.cs
- WinEventQueueItem.cs
- PropertyValidationContext.cs
- ModelPerspective.cs
- FormsAuthenticationConfiguration.cs
- SafeEventLogWriteHandle.cs
- GradientBrush.cs
- SecurityDescriptor.cs
- Predicate.cs
- DataSource.cs
- DataProtection.cs
- SetterBase.cs
- RightsManagementInformation.cs
- NameObjectCollectionBase.cs
- CodePageEncoding.cs
- Expressions.cs
- DesignerActionUI.cs
- unsafeIndexingFilterStream.cs
- ApplicationSecurityInfo.cs
- ImageMap.cs
- EntityContainerAssociationSet.cs
- ReturnEventArgs.cs
- Clipboard.cs
- IProvider.cs
- NavigatingCancelEventArgs.cs
- XPathSingletonIterator.cs
- ServiceDocument.cs
- WbmpConverter.cs
- Keyboard.cs
- AssemblyBuilderData.cs
- RadioButtonFlatAdapter.cs
- WizardPanelChangingEventArgs.cs
- InputBinding.cs
- DropShadowBitmapEffect.cs
- SignedPkcs7.cs
- PriorityQueue.cs
- SafeFileMappingHandle.cs
- RepeaterItemEventArgs.cs
- StringResourceManager.cs
- TwoPhaseCommitProxy.cs
- TypeReference.cs
- EntityDataSourceContextDisposingEventArgs.cs
- XamlSerializerUtil.cs
- CollectionViewProxy.cs
- GlyphInfoList.cs
- CreateSequence.cs
- PersonalizationStateInfo.cs
- DLinqDataModelProvider.cs
- XmlStreamStore.cs
- FontFamilyValueSerializer.cs
- CapabilitiesState.cs
- BasePattern.cs
- MethodImplAttribute.cs
- MembershipSection.cs
- ControlHelper.cs
- ThreadStartException.cs
- FtpWebRequest.cs
- MailHeaderInfo.cs
- DataGridDesigner.cs
- BindingList.cs
- ActivityBuilderHelper.cs
- AppDomainEvidenceFactory.cs
- wgx_exports.cs
- Listbox.cs
- CommandID.cs
- Point3DCollectionConverter.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- SiteMap.cs
- Label.cs
- TransformDescriptor.cs
- SourceChangedEventArgs.cs
- PageAsyncTask.cs
- FileDialogCustomPlace.cs
- SchemaCollectionPreprocessor.cs
- SafeEventLogReadHandle.cs
- DynamicDocumentPaginator.cs
- ThreadBehavior.cs
- TransformGroup.cs
- httpstaticobjectscollection.cs
- ContentHostHelper.cs
- ErrorFormatterPage.cs
- TagPrefixCollection.cs
- TreeNodeCollection.cs