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
- GroupBox.cs
- ContentOnlyMessage.cs
- sqlcontext.cs
- OleStrCAMarshaler.cs
- XmlDigitalSignatureProcessor.cs
- BamlStream.cs
- NavigationWindow.cs
- DataViewSettingCollection.cs
- SpoolingTask.cs
- _SslStream.cs
- WebEventCodes.cs
- MarkedHighlightComponent.cs
- WrapPanel.cs
- Pkcs7Signer.cs
- UIElement3DAutomationPeer.cs
- UpdatePanelTriggerCollection.cs
- METAHEADER.cs
- XmlSchemaSimpleContent.cs
- xdrvalidator.cs
- InternalConfigEventArgs.cs
- QilTypeChecker.cs
- ChtmlMobileTextWriter.cs
- FieldInfo.cs
- RuleSetReference.cs
- Grant.cs
- SQLDecimalStorage.cs
- URLString.cs
- CompilerError.cs
- __ConsoleStream.cs
- DynamicVirtualDiscoSearcher.cs
- BaseCodeDomTreeGenerator.cs
- BlobPersonalizationState.cs
- CqlIdentifiers.cs
- GridItem.cs
- CodeObject.cs
- UInt32.cs
- ImportRequest.cs
- ThreadStaticAttribute.cs
- _LocalDataStoreMgr.cs
- ProcessInfo.cs
- ScriptMethodAttribute.cs
- SingleObjectCollection.cs
- Decorator.cs
- EmptyElement.cs
- FileDialog.cs
- CheckBoxList.cs
- CodeConditionStatement.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- AdapterDictionary.cs
- SBCSCodePageEncoding.cs
- HandlerBase.cs
- AttachedPropertyBrowsableAttribute.cs
- DataPagerField.cs
- KeyConstraint.cs
- WpfMemberInvoker.cs
- ToolStripStatusLabel.cs
- SystemTcpStatistics.cs
- TextCompositionManager.cs
- Int16Converter.cs
- TextElementAutomationPeer.cs
- DictionarySectionHandler.cs
- NameTable.cs
- PartitionResolver.cs
- WebException.cs
- WebConfigurationFileMap.cs
- NonVisualControlAttribute.cs
- DbLambda.cs
- SortFieldComparer.cs
- CompilerScopeManager.cs
- Pool.cs
- DataService.cs
- SspiSafeHandles.cs
- FixedPosition.cs
- SmiSettersStream.cs
- RemotingSurrogateSelector.cs
- XmlCharCheckingReader.cs
- httpapplicationstate.cs
- FrameworkTextComposition.cs
- EventToken.cs
- KerberosSecurityTokenParameters.cs
- ExpressionVisitor.cs
- ParserOptions.cs
- SmtpFailedRecipientException.cs
- ColumnPropertiesGroup.cs
- ReferencedType.cs
- ping.cs
- ByteKeyFrameCollection.cs
- WindowsListViewItemStartMenu.cs
- HwndProxyElementProvider.cs
- SID.cs
- ReflectionServiceProvider.cs
- FocusChangedEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- VariantWrapper.cs
- ValueChangedEventManager.cs
- DBCommandBuilder.cs
- FixedFindEngine.cs
- TimeSpanStorage.cs
- HTMLTextWriter.cs
- ValueUnavailableException.cs