Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- HeaderUtility.cs
- UICuesEvent.cs
- WebServiceClientProxyGenerator.cs
- SelectedGridItemChangedEvent.cs
- HebrewNumber.cs
- BeginStoryboard.cs
- InvalidDataException.cs
- DocumentApplicationJournalEntry.cs
- RegexCapture.cs
- ColorAnimationBase.cs
- DisplayNameAttribute.cs
- PathSegmentCollection.cs
- InputProcessorProfilesLoader.cs
- SqlTopReducer.cs
- ButtonFlatAdapter.cs
- CompositeDispatchFormatter.cs
- StringArrayConverter.cs
- PlainXmlSerializer.cs
- ResourcePermissionBaseEntry.cs
- ItemCollection.cs
- EventEntry.cs
- RootBrowserWindowAutomationPeer.cs
- Rotation3D.cs
- FilteredDataSetHelper.cs
- AssociationSetEnd.cs
- ScriptControlManager.cs
- LinqDataSourceHelper.cs
- HierarchicalDataTemplate.cs
- RowBinding.cs
- XPathParser.cs
- DataBinder.cs
- DataGridView.cs
- CreateUserWizard.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- DrawingBrush.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FixedSOMFixedBlock.cs
- ContentOperations.cs
- XPathNavigatorKeyComparer.cs
- SequentialWorkflowRootDesigner.cs
- mediaclock.cs
- DataGridTextBox.cs
- VisualStyleTypesAndProperties.cs
- Module.cs
- ServiceHostingEnvironment.cs
- sqlstateclientmanager.cs
- DataServiceKeyAttribute.cs
- ITextView.cs
- AnnotationDocumentPaginator.cs
- BindingContext.cs
- BlurBitmapEffect.cs
- PEFileReader.cs
- SafeLocalAllocation.cs
- ToolStripDropTargetManager.cs
- TextSearch.cs
- UnsafeNativeMethods.cs
- ResourceSet.cs
- CompensationDesigner.cs
- DBCSCodePageEncoding.cs
- ZipIOExtraField.cs
- EqualityArray.cs
- DocobjHost.cs
- ConnectionsZone.cs
- AssemblyBuilder.cs
- StickyNoteAnnotations.cs
- Vector3DAnimationBase.cs
- ByteStream.cs
- WebServicesDescriptionAttribute.cs
- PrimitiveXmlSerializers.cs
- UserThread.cs
- FontStretch.cs
- MDIWindowDialog.cs
- TransformerConfigurationWizardBase.cs
- TimelineClockCollection.cs
- ContextMenuAutomationPeer.cs
- Int32Rect.cs
- ActiveXHost.cs
- Base64Encoder.cs
- ValidationSummary.cs
- NoClickablePointException.cs
- GlobalAllocSafeHandle.cs
- ScriptingProfileServiceSection.cs
- ElementNotEnabledException.cs
- URIFormatException.cs
- DefaultTraceListener.cs
- DocumentSequenceHighlightLayer.cs
- ResourceLoader.cs
- ControlCollection.cs
- ReadWriteSpinLock.cs
- Missing.cs
- FactoryGenerator.cs
- RecognizeCompletedEventArgs.cs
- KeyPressEvent.cs
- HttpServerVarsCollection.cs
- ThicknessAnimationUsingKeyFrames.cs
- ModifierKeysConverter.cs
- Operators.cs
- DataKey.cs
- CodeDOMUtility.cs
- AtlasWeb.Designer.cs