Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsStartMenu.cs
- MouseBinding.cs
- CmsInterop.cs
- DesignerVerb.cs
- Timeline.cs
- CollectionViewProxy.cs
- BulletDecorator.cs
- LocationFactory.cs
- Win32Exception.cs
- DomainUpDown.cs
- DocumentOrderQuery.cs
- ProcessManager.cs
- Constraint.cs
- FileVersionInfo.cs
- XmlHierarchicalEnumerable.cs
- HostingMessageProperty.cs
- ServiceSecurityContext.cs
- BCLDebug.cs
- ProcessManager.cs
- MessageQueuePermission.cs
- Exceptions.cs
- ReferencedAssembly.cs
- PathHelper.cs
- CalculatedColumn.cs
- DbFunctionCommandTree.cs
- ComponentGlyph.cs
- CompositionDesigner.cs
- HashHelper.cs
- DataControlFieldCell.cs
- RestClientProxyHandler.cs
- XPathAxisIterator.cs
- DLinqAssociationProvider.cs
- RolePrincipal.cs
- ArraySubsetEnumerator.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EditorBrowsableAttribute.cs
- PriorityQueue.cs
- AutoCompleteStringCollection.cs
- BatchServiceHost.cs
- GeometryGroup.cs
- ZipIOExtraField.cs
- QueueProcessor.cs
- HyperLink.cs
- SchemaElementLookUpTable.cs
- PrintPreviewDialog.cs
- PrintPreviewControl.cs
- InputProcessorProfiles.cs
- EdmTypeAttribute.cs
- AuthenticatingEventArgs.cs
- Panel.cs
- CollectionBase.cs
- AttributeCollection.cs
- DropDownList.cs
- TileModeValidation.cs
- wgx_sdk_version.cs
- LogLogRecord.cs
- DataGridGeneralPage.cs
- ConstraintManager.cs
- SurrogateEncoder.cs
- DiscoveryDocumentReference.cs
- DisplayNameAttribute.cs
- HtmlGenericControl.cs
- ReadOnlyCollection.cs
- ListDictionaryInternal.cs
- ExpressionBuilder.cs
- DefaultSettingsSection.cs
- XmlDocumentFragment.cs
- RequestSecurityTokenForGetBrowserToken.cs
- SemanticResultValue.cs
- InvokeSchedule.cs
- DataSourceCacheDurationConverter.cs
- ToolStripScrollButton.cs
- OleDbException.cs
- GacUtil.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- TextViewSelectionProcessor.cs
- XmlCharacterData.cs
- baseaxisquery.cs
- SimplePropertyEntry.cs
- FrameworkElement.cs
- XPathNavigator.cs
- ObjectStateFormatter.cs
- XPathNodeIterator.cs
- shaperfactoryquerycachekey.cs
- BufferedStream.cs
- DataServiceProcessingPipeline.cs
- RadioButtonFlatAdapter.cs
- HMACSHA1.cs
- X509ClientCertificateAuthenticationElement.cs
- CodeTryCatchFinallyStatement.cs
- DeviceContext.cs
- WindowsListViewGroupSubsetLink.cs
- XsltContext.cs
- PrinterUnitConvert.cs
- HttpHeaderCollection.cs
- Stylus.cs
- XmlSiteMapProvider.cs
- ParallelTimeline.cs
- RegionData.cs
- SmtpCommands.cs