Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / COSERVERINFO.cs / 1 / COSERVERINFO.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration {
using System.Collections;
using System.Configuration;
using System.Configuration.Internal;
using System.Web;
using System.Web.Util;
using System.Security;
using System.IO;
using System.Web.Hosting;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Collections.Specialized;
using System.Xml;
using System.Security.Principal;
using System.Threading;
using System.Globalization;
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
internal class COSERVERINFO : IDisposable
{
internal COSERVERINFO(string srvname, IntPtr authinf) {
servername = srvname;
authinfo = authinf;
}
#pragma warning disable 0649
internal int reserved1;
#pragma warning restore 0649
[MarshalAs(UnmanagedType.LPWStr)]
internal string servername;
internal IntPtr authinfo; // COAUTHINFO*
#pragma warning disable 0649
internal int reserved2;
#pragma warning restore 0649
void IDisposable.Dispose()
{
authinfo = IntPtr.Zero;
GC.SuppressFinalize(this);
}
~COSERVERINFO()
{
}
}
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
internal class COSERVERINFO_X64 : IDisposable
{
internal COSERVERINFO_X64(string srvname, IntPtr authinf)
{
servername = srvname;
authinfo = authinf;
}
#pragma warning disable 0649
internal int reserved1;
internal int padding1;
#pragma warning restore 0649
[MarshalAs(UnmanagedType.LPWStr)]
internal string servername;
internal IntPtr authinfo; // COAUTHINFO*
#pragma warning disable 0649
internal int reserved2;
internal int padding2;
#pragma warning restore 0649
void IDisposable.Dispose()
{
authinfo = IntPtr.Zero;
GC.SuppressFinalize(this);
}
~COSERVERINFO_X64()
{
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration {
using System.Collections;
using System.Configuration;
using System.Configuration.Internal;
using System.Web;
using System.Web.Util;
using System.Security;
using System.IO;
using System.Web.Hosting;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Collections.Specialized;
using System.Xml;
using System.Security.Principal;
using System.Threading;
using System.Globalization;
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
internal class COSERVERINFO : IDisposable
{
internal COSERVERINFO(string srvname, IntPtr authinf) {
servername = srvname;
authinfo = authinf;
}
#pragma warning disable 0649
internal int reserved1;
#pragma warning restore 0649
[MarshalAs(UnmanagedType.LPWStr)]
internal string servername;
internal IntPtr authinfo; // COAUTHINFO*
#pragma warning disable 0649
internal int reserved2;
#pragma warning restore 0649
void IDisposable.Dispose()
{
authinfo = IntPtr.Zero;
GC.SuppressFinalize(this);
}
~COSERVERINFO()
{
}
}
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
internal class COSERVERINFO_X64 : IDisposable
{
internal COSERVERINFO_X64(string srvname, IntPtr authinf)
{
servername = srvname;
authinfo = authinf;
}
#pragma warning disable 0649
internal int reserved1;
internal int padding1;
#pragma warning restore 0649
[MarshalAs(UnmanagedType.LPWStr)]
internal string servername;
internal IntPtr authinfo; // COAUTHINFO*
#pragma warning disable 0649
internal int reserved2;
internal int padding2;
#pragma warning restore 0649
void IDisposable.Dispose()
{
authinfo = IntPtr.Zero;
GC.SuppressFinalize(this);
}
~COSERVERINFO_X64()
{
}
}
}
// 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
- X509UI.cs
- DrawTreeNodeEventArgs.cs
- DesignerProperties.cs
- SoapInteropTypes.cs
- ConnectionsZoneAutoFormat.cs
- SqlDataSourceWizardForm.cs
- Panel.cs
- AnnotationObservableCollection.cs
- ThrowHelper.cs
- ExtensionDataReader.cs
- DataRow.cs
- ResourceExpressionBuilder.cs
- MsmqInputMessagePool.cs
- OutputCacheSettingsSection.cs
- ResourceManager.cs
- DesignerDataSourceView.cs
- XamlLoadErrorInfo.cs
- CellParaClient.cs
- ResolvedKeyFrameEntry.cs
- RangeBase.cs
- Condition.cs
- HtmlElementErrorEventArgs.cs
- ObjectListDesigner.cs
- ListControlConvertEventArgs.cs
- User.cs
- WebServiceData.cs
- TransformConverter.cs
- PropagatorResult.cs
- MimeBasePart.cs
- FileDialogCustomPlacesCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- AnnotationResource.cs
- Expression.DebuggerProxy.cs
- XmlSerializerNamespaces.cs
- MonthCalendar.cs
- assemblycache.cs
- BitmapEffectGroup.cs
- PropertyCondition.cs
- Directory.cs
- WindowsSolidBrush.cs
- ComponentEvent.cs
- DispatchWrapper.cs
- XmlLoader.cs
- Win32.cs
- TransportContext.cs
- EntityDataSourceDesignerHelper.cs
- GraphicsContainer.cs
- ProxySimple.cs
- GridLength.cs
- RevocationPoint.cs
- CheckBoxList.cs
- DataSet.cs
- DetailsViewInsertEventArgs.cs
- OdbcFactory.cs
- OleAutBinder.cs
- ToggleProviderWrapper.cs
- PropertyGrid.cs
- NgenServicingAttributes.cs
- SystemIPAddressInformation.cs
- DbDataAdapter.cs
- GZipStream.cs
- DataGridViewCellStateChangedEventArgs.cs
- SortDescriptionCollection.cs
- KeyGesture.cs
- MetadataStore.cs
- WebConfigurationFileMap.cs
- RadioButtonRenderer.cs
- ServiceOperationListItem.cs
- SqlBooleanizer.cs
- XXXInfos.cs
- DocumentOrderComparer.cs
- Attributes.cs
- WebPartAuthorizationEventArgs.cs
- PrivateFontCollection.cs
- WorkflowDefinitionDispenser.cs
- SortQuery.cs
- DoubleLinkListEnumerator.cs
- UidPropertyAttribute.cs
- TextTreeNode.cs
- SeverityFilter.cs
- ListDictionary.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TypeConverterHelper.cs
- NameValueCollection.cs
- IntMinMaxAggregationOperator.cs
- Literal.cs
- TableChangeProcessor.cs
- FlowPosition.cs
- FrameworkName.cs
- ellipse.cs
- FontStretches.cs
- RegexNode.cs
- ISessionStateStore.cs
- CodeGotoStatement.cs
- UrlMappingsModule.cs
- DeclarativeCatalogPart.cs
- SchemaImporter.cs
- TdsParserSessionPool.cs
- PointHitTestResult.cs
- PrintEvent.cs