Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / Microsoft / Win32 / SafeHandles / SafeLibraryHandle.cs / 1305376 / SafeLibraryHandle.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SafeLibraryHandle ** ============================================================*/ namespace Microsoft.Win32 { using Microsoft.Win32; using Microsoft.Win32.SafeHandles; using System; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; [System.Security.SecurityCritical] // auto-generated [HostProtectionAttribute(MayLeakOnAbort = true)] sealed internal class SafeLibraryHandle : SafeHandleZeroOrMinusOneIsInvalid { internal SafeLibraryHandle() : base(true) {} [System.Security.SecurityCritical] override protected bool ReleaseHandle() { return UnsafeNativeMethods.FreeLibrary(handle); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SafeLibraryHandle ** ============================================================*/ namespace Microsoft.Win32 { using Microsoft.Win32; using Microsoft.Win32.SafeHandles; using System; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; [System.Security.SecurityCritical] // auto-generated [HostProtectionAttribute(MayLeakOnAbort = true)] sealed internal class SafeLibraryHandle : SafeHandleZeroOrMinusOneIsInvalid { internal SafeLibraryHandle() : base(true) {} [System.Security.SecurityCritical] override protected bool ReleaseHandle() { return UnsafeNativeMethods.FreeLibrary(handle); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChannelManager.cs
- XmlAttributeOverrides.cs
- XmlNodeComparer.cs
- SourceCollection.cs
- FrameSecurityDescriptor.cs
- OleDbTransaction.cs
- SecurityRuntime.cs
- DbConnectionClosed.cs
- IItemContainerGenerator.cs
- brushes.cs
- WmlControlAdapter.cs
- QilTernary.cs
- OdbcCommandBuilder.cs
- DragDrop.cs
- AbstractExpressions.cs
- Visual3DCollection.cs
- NetworkCredential.cs
- ComplexType.cs
- IdentifierElement.cs
- EmbossBitmapEffect.cs
- MachineSettingsSection.cs
- BitmapEffectInputData.cs
- BitmapEffectInputData.cs
- SymmetricAlgorithm.cs
- _IPv4Address.cs
- controlskin.cs
- IItemProperties.cs
- FormsAuthenticationModule.cs
- SizeAnimationBase.cs
- ProfileManager.cs
- TableItemProviderWrapper.cs
- UIElement3D.cs
- Random.cs
- GeneralTransformCollection.cs
- DocumentViewerBase.cs
- TableLayoutPanelDesigner.cs
- XPathMultyIterator.cs
- XmlCharCheckingReader.cs
- ExpressionHelper.cs
- WebPartUserCapability.cs
- AsynchronousChannel.cs
- HtmlSelect.cs
- ProjectedWrapper.cs
- KoreanCalendar.cs
- TimeSpan.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XamlFigureLengthSerializer.cs
- ContentElement.cs
- DataControlFieldsEditor.cs
- XamlWriter.cs
- ModelFunctionTypeElement.cs
- BaseContextMenu.cs
- control.ime.cs
- TemplatedMailWebEventProvider.cs
- WebConfigurationHostFileChange.cs
- LOSFormatter.cs
- DataRowView.cs
- IChannel.cs
- DynamicValueConverter.cs
- Parameter.cs
- ControlParameter.cs
- CountdownEvent.cs
- RecordBuilder.cs
- WebPartAddingEventArgs.cs
- ValueSerializerAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- UnsafeNativeMethods.cs
- BuildResultCache.cs
- RequiredFieldValidator.cs
- OdbcCommand.cs
- SyntaxCheck.cs
- XPathException.cs
- BStrWrapper.cs
- ResolveNameEventArgs.cs
- AspProxy.cs
- ConfigXmlDocument.cs
- AsyncOperation.cs
- HealthMonitoringSection.cs
- MenuItemStyleCollectionEditor.cs
- ClientSettings.cs
- GridViewRow.cs
- ErrorStyle.cs
- PtsHelper.cs
- SoapSchemaMember.cs
- TrackingMemoryStreamFactory.cs
- ActivityCodeDomSerializationManager.cs
- Signature.cs
- ProxyManager.cs
- ContentIterators.cs
- selecteditemcollection.cs
- ContentWrapperAttribute.cs
- ExpressionBuilder.cs
- LinqDataSourceStatusEventArgs.cs
- UnauthorizedWebPart.cs
- invalidudtexception.cs
- StreamSecurityUpgradeInitiator.cs
- UIAgentAsyncParams.cs
- XmlBoundElement.cs
- InstanceValue.cs
- WebPartVerb.cs