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
- OleDbParameter.cs
- LineMetrics.cs
- HtmlTableCellCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- EditingCommands.cs
- SoapConverter.cs
- XmlSchemaFacet.cs
- DetailsViewDesigner.cs
- SymDocumentType.cs
- SplineKeyFrames.cs
- ControlValuePropertyAttribute.cs
- Fx.cs
- _HeaderInfoTable.cs
- DiscoveryServerProtocol.cs
- StringStorage.cs
- RegexCode.cs
- LineProperties.cs
- ItemsControlAutomationPeer.cs
- RegexNode.cs
- XPathScanner.cs
- CanonicalFormWriter.cs
- PropertyAccessVisitor.cs
- FileDialog_Vista_Interop.cs
- BaseParaClient.cs
- LoadedOrUnloadedOperation.cs
- SHA1Cng.cs
- Application.cs
- Clipboard.cs
- RowParagraph.cs
- JulianCalendar.cs
- HostedTransportConfigurationBase.cs
- CryptoHelper.cs
- WebPartRestoreVerb.cs
- ModelFunctionTypeElement.cs
- DBDataPermissionAttribute.cs
- ContourSegment.cs
- CommentAction.cs
- InputScopeConverter.cs
- ProbeMatchesMessage11.cs
- FamilyMap.cs
- ChangeProcessor.cs
- XpsThumbnail.cs
- DiscoveryInnerClientManaged11.cs
- HostedHttpContext.cs
- ToolStripLocationCancelEventArgs.cs
- DivideByZeroException.cs
- SocketInformation.cs
- FixedBufferAttribute.cs
- ChannelPoolSettingsElement.cs
- SecurityState.cs
- Pens.cs
- EdmFunction.cs
- Query.cs
- DataGridViewIntLinkedList.cs
- TargetParameterCountException.cs
- WebBrowser.cs
- SmtpNtlmAuthenticationModule.cs
- Activator.cs
- EditorPartCollection.cs
- ObjectListDataBindEventArgs.cs
- CqlIdentifiers.cs
- SqlTypeConverter.cs
- BaseDataBoundControl.cs
- MenuItemAutomationPeer.cs
- Errors.cs
- DefaultProxySection.cs
- ThemeDictionaryExtension.cs
- WorkItem.cs
- RightNameExpirationInfoPair.cs
- DataGridViewRowConverter.cs
- XmlUtf8RawTextWriter.cs
- NullableFloatSumAggregationOperator.cs
- NodeLabelEditEvent.cs
- FileIOPermission.cs
- Graph.cs
- HandledMouseEvent.cs
- SqlReorderer.cs
- FormattedTextSymbols.cs
- BidOverLoads.cs
- DelegatedStream.cs
- ConnectionPoint.cs
- DataGridViewCellParsingEventArgs.cs
- SerializeAbsoluteContext.cs
- TextAutomationPeer.cs
- InputScopeManager.cs
- RMEnrollmentPage3.cs
- NetWebProxyFinder.cs
- RoleGroup.cs
- TempFiles.cs
- TextEditorParagraphs.cs
- WebAdminConfigurationHelper.cs
- TraceEventCache.cs
- RectAnimationBase.cs
- SqlFormatter.cs
- SafeProcessHandle.cs
- WebPartPersonalization.cs
- CqlQuery.cs
- IndexingContentUnit.cs
- Predicate.cs
- ListViewInsertedEventArgs.cs