Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / EntryIndex.cs / 1 / EntryIndex.cs
/****************************************************************************\ * * File: EffectiveValueEntry.cs * * This file describes an index that refers to an EffectiveValueEntry. * Found is used to indicate whether or not the index is currently populated * with the appropriate DP or not. * * Copyright (C) 2005 by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using MS.Internal.WindowsBase; // FriendAccessAllowed namespace System.Windows { [FriendAccessAllowed] // Built into Base, also used by Core & Framework. internal struct EntryIndex { public EntryIndex(uint index) { // Found is true _store = index | 0x80000000; } public EntryIndex(uint index, bool found) { _store = index & 0x7FFFFFFF; if (found) { _store |= 0x80000000; } } public bool Found { get { return (_store & 0x80000000) != 0; } } public uint Index { get { return _store & 0x7FFFFFFF; } } private uint _store; } } // 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
- SharedPerformanceCounter.cs
- NavigationCommands.cs
- ContextBase.cs
- UIElement3DAutomationPeer.cs
- CommonObjectSecurity.cs
- CleanUpVirtualizedItemEventArgs.cs
- DbgCompiler.cs
- DataTrigger.cs
- SingleAnimation.cs
- EqualityComparer.cs
- PngBitmapDecoder.cs
- Speller.cs
- ObjectViewListener.cs
- OdbcErrorCollection.cs
- TypeNameConverter.cs
- Int16Storage.cs
- RpcResponse.cs
- ResXBuildProvider.cs
- FormatException.cs
- FileDialog_Vista.cs
- unsafenativemethodstextservices.cs
- DrawingGroupDrawingContext.cs
- DataSet.cs
- ExternalCalls.cs
- SatelliteContractVersionAttribute.cs
- FlowPosition.cs
- CodeTypeReferenceExpression.cs
- TemplateBuilder.cs
- SetterTriggerConditionValueConverter.cs
- AccessibleObject.cs
- BezierSegment.cs
- RelOps.cs
- SelectionListComponentEditor.cs
- BrushMappingModeValidation.cs
- DiscoveryDocumentSearchPattern.cs
- ClockController.cs
- OLEDB_Util.cs
- TextShapeableCharacters.cs
- IndexOutOfRangeException.cs
- QuaternionValueSerializer.cs
- SizeConverter.cs
- COM2IDispatchConverter.cs
- LocalizationComments.cs
- HttpVersion.cs
- TripleDESCryptoServiceProvider.cs
- WebPermission.cs
- XmlChildNodes.cs
- StateItem.cs
- DataGridViewTopRowAccessibleObject.cs
- WebBrowserUriTypeConverter.cs
- WindowsRichEditRange.cs
- CalendarDesigner.cs
- DataControlImageButton.cs
- Thumb.cs
- Compress.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CodeGeneratorOptions.cs
- ReadOnlyObservableCollection.cs
- OdbcParameterCollection.cs
- nulltextnavigator.cs
- DataGridComponentEditor.cs
- ListViewTableCell.cs
- DecimalAnimation.cs
- RenderData.cs
- CodeTypeDeclaration.cs
- TargetInvocationException.cs
- WindowsRichEdit.cs
- DbProviderFactory.cs
- WebControl.cs
- PerformanceCounterPermissionEntry.cs
- OutputScope.cs
- Rect3D.cs
- CodeActivity.cs
- NativeMethods.cs
- CodeMemberField.cs
- BamlLocalizableResourceKey.cs
- FontStretch.cs
- FormViewDeleteEventArgs.cs
- BufferedWebEventProvider.cs
- SharedPerformanceCounter.cs
- SafeRegistryHandle.cs
- RuntimeVariableList.cs
- TextElementAutomationPeer.cs
- NavigationPropertyEmitter.cs
- ConsoleEntryPoint.cs
- SerTrace.cs
- StylusEventArgs.cs
- CookieProtection.cs
- RevocationPoint.cs
- DrawingCollection.cs
- DbParameterCollectionHelper.cs
- XmlSchemaObject.cs
- ConfigurationManagerInternalFactory.cs
- HttpException.cs
- COM2ComponentEditor.cs
- FacetDescription.cs
- CodeValidator.cs
- MetadataFile.cs
- SymDocumentType.cs
- PointUtil.cs