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
- FrameSecurityDescriptor.cs
- TiffBitmapDecoder.cs
- CssTextWriter.cs
- IndentTextWriter.cs
- SoapFault.cs
- EncoderFallback.cs
- ISO2022Encoding.cs
- DependencyPropertyAttribute.cs
- InputLanguageEventArgs.cs
- RoutedEventArgs.cs
- FrugalList.cs
- HttpWebResponse.cs
- TextSelectionProcessor.cs
- InternalResources.cs
- NativeMethods.cs
- dbdatarecord.cs
- InputLanguageSource.cs
- WebBrowserProgressChangedEventHandler.cs
- CallbackTimeoutsElement.cs
- TextStore.cs
- Identifier.cs
- MailMessage.cs
- TypeInfo.cs
- XamlReaderHelper.cs
- ToolboxItem.cs
- XsltLibrary.cs
- TextContainerChangeEventArgs.cs
- ExpandSegmentCollection.cs
- StringSorter.cs
- XPathDocument.cs
- XmlSerializerVersionAttribute.cs
- FormViewCommandEventArgs.cs
- FtpRequestCacheValidator.cs
- ValueUnavailableException.cs
- CustomExpressionEventArgs.cs
- AssemblyBuilder.cs
- InkCollectionBehavior.cs
- SiteMapSection.cs
- _AutoWebProxyScriptHelper.cs
- MimeTypeAttribute.cs
- LayoutEditorPart.cs
- AsymmetricKeyExchangeDeformatter.cs
- CroppedBitmap.cs
- TableCellCollection.cs
- KeyboardNavigation.cs
- DataGridViewColumnEventArgs.cs
- __FastResourceComparer.cs
- CustomErrorsSection.cs
- EnvelopedPkcs7.cs
- ControlCachePolicy.cs
- SmtpClient.cs
- EmptyControlCollection.cs
- CacheModeConverter.cs
- DbMetaDataFactory.cs
- Rules.cs
- SqlBooleanizer.cs
- XPathNodePointer.cs
- NativeCppClassAttribute.cs
- PreparingEnlistment.cs
- Switch.cs
- PeerTransportSecurityElement.cs
- DataObjectCopyingEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- ContentOperations.cs
- SoapSchemaImporter.cs
- State.cs
- ADMembershipUser.cs
- HtmlInputFile.cs
- WebPartEditVerb.cs
- CompoundFileStorageReference.cs
- MasterPageCodeDomTreeGenerator.cs
- ExtentKey.cs
- SpecularMaterial.cs
- UntypedNullExpression.cs
- SqlReferenceCollection.cs
- TimeBoundedCache.cs
- exports.cs
- StackSpiller.Generated.cs
- FloaterParaClient.cs
- ObjectMemberMapping.cs
- IntSecurity.cs
- Int16Animation.cs
- SmiRecordBuffer.cs
- GeometryHitTestResult.cs
- XmlSchemas.cs
- HtmlTableCell.cs
- InitializerFacet.cs
- WebSysDescriptionAttribute.cs
- AspCompat.cs
- CompletedAsyncResult.cs
- WindowsEditBox.cs
- XmlSchemaIdentityConstraint.cs
- MethodAccessException.cs
- BaseDataList.cs
- ThicknessAnimationUsingKeyFrames.cs
- SqlCacheDependencySection.cs
- QueryExtender.cs
- TypeExtensionConverter.cs
- Variant.cs
- X509Chain.cs