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
- ISO2022Encoding.cs
- XhtmlTextWriter.cs
- SmiEventSink_Default.cs
- FixedPosition.cs
- CodeCompileUnit.cs
- WindowsTitleBar.cs
- FeedUtils.cs
- TimeoutException.cs
- WeakReference.cs
- ActivityDesignerAccessibleObject.cs
- NumberSubstitution.cs
- ConstraintCollection.cs
- GridErrorDlg.cs
- GridViewActionList.cs
- SemaphoreSecurity.cs
- EdmSchemaAttribute.cs
- DataGridState.cs
- SqlNotificationEventArgs.cs
- InputMethodStateTypeInfo.cs
- ActiveXMessageFormatter.cs
- ProgressBar.cs
- TimerElapsedEvenArgs.cs
- SqlDataSourceStatusEventArgs.cs
- Geometry3D.cs
- WebControlsSection.cs
- OdbcConnectionString.cs
- Helper.cs
- ObjectViewQueryResultData.cs
- XpsFont.cs
- XamlParser.cs
- SqlUnionizer.cs
- EventsTab.cs
- DataControlPagerLinkButton.cs
- FontDialog.cs
- SqlBuilder.cs
- ClientSettingsProvider.cs
- GroupDescription.cs
- LabelAutomationPeer.cs
- TimeSpanStorage.cs
- HashSetDebugView.cs
- FormsAuthenticationTicket.cs
- CustomAttributeBuilder.cs
- ServiceDesigner.cs
- ContentIterators.cs
- DrawingCollection.cs
- UIElement.cs
- SqlMultiplexer.cs
- InternalControlCollection.cs
- WebSysDefaultValueAttribute.cs
- ECDsaCng.cs
- TraversalRequest.cs
- httpapplicationstate.cs
- EditorPart.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TimerElapsedEvenArgs.cs
- DynamicDiscoveryDocument.cs
- ScalarType.cs
- UpdateRecord.cs
- ResumeStoryboard.cs
- AddressUtility.cs
- ItemCheckedEvent.cs
- Win32PrintDialog.cs
- ButtonChrome.cs
- HtmlTableRowCollection.cs
- FlowLayout.cs
- ToolStripContentPanelRenderEventArgs.cs
- DetailsView.cs
- ValidationHelper.cs
- DataSourceExpression.cs
- TemplatedMailWebEventProvider.cs
- TrackingCondition.cs
- RecordsAffectedEventArgs.cs
- exports.cs
- RefExpr.cs
- Setter.cs
- GroupItemAutomationPeer.cs
- ApplicationGesture.cs
- DecimalMinMaxAggregationOperator.cs
- CodeTryCatchFinallyStatement.cs
- ObjectReaderCompiler.cs
- hresults.cs
- ObjectDisposedException.cs
- Group.cs
- XmlDocumentSurrogate.cs
- TemplatedMailWebEventProvider.cs
- LiteralTextContainerControlBuilder.cs
- OracleTimeSpan.cs
- Base64Encoding.cs
- CachedCompositeFamily.cs
- CompilationUnit.cs
- ConnectionOrientedTransportBindingElement.cs
- autovalidator.cs
- XmlMapping.cs
- BinaryExpressionHelper.cs
- CommandDesigner.cs
- WpfGeneratedKnownProperties.cs
- TextBox.cs
- WinFormsComponentEditor.cs
- XPathQilFactory.cs
- WindowsEditBoxRange.cs