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
- Compiler.cs
- CodeTypeReferenceExpression.cs
- SecureStringHasher.cs
- _OSSOCK.cs
- JavaScriptObjectDeserializer.cs
- SuppressIldasmAttribute.cs
- WindowsPen.cs
- TextMessageEncodingElement.cs
- PointConverter.cs
- MetadataItem.cs
- AsymmetricKeyExchangeDeformatter.cs
- OdbcTransaction.cs
- DBConcurrencyException.cs
- HtmlElementEventArgs.cs
- StreamFormatter.cs
- HwndKeyboardInputProvider.cs
- ProfileService.cs
- SqlDataSourceCustomCommandEditor.cs
- GacUtil.cs
- FileLoadException.cs
- SetStoryboardSpeedRatio.cs
- Converter.cs
- EntityException.cs
- TypeSource.cs
- Walker.cs
- Internal.cs
- SmtpFailedRecipientsException.cs
- SqlUnionizer.cs
- ExecutionEngineException.cs
- StringArrayConverter.cs
- XmlSchemaSequence.cs
- WindowsToolbarAsMenu.cs
- CommandLineParser.cs
- StreamUpgradeBindingElement.cs
- CodeTypeDelegate.cs
- OledbConnectionStringbuilder.cs
- OdbcParameter.cs
- AutoGeneratedFieldProperties.cs
- KeyEvent.cs
- SqlResolver.cs
- WindowsRebar.cs
- Parser.cs
- CellParaClient.cs
- StackOverflowException.cs
- EntityContainerEntitySetDefiningQuery.cs
- ExtendedPropertyDescriptor.cs
- DigitShape.cs
- Win32Exception.cs
- DotExpr.cs
- DataBindingList.cs
- MembershipUser.cs
- ClusterRegistryConfigurationProvider.cs
- SqlNamer.cs
- WebPartEditorOkVerb.cs
- NetworkStream.cs
- IProvider.cs
- DataGridViewColumnConverter.cs
- EventSourceCreationData.cs
- CompiledQuery.cs
- TransactionFlowAttribute.cs
- ButtonRenderer.cs
- ComponentChangedEvent.cs
- ExpressionBindingCollection.cs
- RuntimeArgumentHandle.cs
- GridViewUpdateEventArgs.cs
- Int64Converter.cs
- BrowserInteropHelper.cs
- RuntimeWrappedException.cs
- MessageOperationFormatter.cs
- XmlSchemaParticle.cs
- SafeEventLogWriteHandle.cs
- XmlLoader.cs
- UrlPropertyAttribute.cs
- InfoCardArgumentException.cs
- lengthconverter.cs
- BindingMemberInfo.cs
- ScriptResourceInfo.cs
- StandardCommandToolStripMenuItem.cs
- ISCIIEncoding.cs
- VirtualDirectoryMappingCollection.cs
- AsymmetricAlgorithm.cs
- FocusWithinProperty.cs
- ResourceDescriptionAttribute.cs
- OdbcConnectionFactory.cs
- DataGridViewCellValidatingEventArgs.cs
- AnnouncementEndpoint.cs
- SchemaExporter.cs
- Configuration.cs
- CreationContext.cs
- DataGridViewRowsAddedEventArgs.cs
- Light.cs
- ImageListImage.cs
- PasswordRecovery.cs
- NamedPermissionSet.cs
- XmlAttributeCache.cs
- HealthMonitoringSection.cs
- MarkupCompiler.cs
- DataGridViewCellStyleConverter.cs
- SecurityCapabilities.cs
- ObjectDataSourceMethodEventArgs.cs