Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EnvironmentPermission.cs
- XmlReaderDelegator.cs
- ChangePasswordDesigner.cs
- PropertyItem.cs
- metadatamappinghashervisitor.cs
- TypeSystem.cs
- XmlSchemas.cs
- XmlSchemaSimpleContentRestriction.cs
- RadialGradientBrush.cs
- GeometryGroup.cs
- ListBoxItemAutomationPeer.cs
- DesignerDataStoredProcedure.cs
- WebControlsSection.cs
- AbstractExpressions.cs
- AtomParser.cs
- EpmContentDeSerializerBase.cs
- FaultBookmark.cs
- CodeIdentifier.cs
- EmptyArray.cs
- ListItemCollection.cs
- LogSwitch.cs
- UIElement3D.cs
- SchemaTableOptionalColumn.cs
- Parsers.cs
- DiagnosticsConfiguration.cs
- EventItfInfo.cs
- ObjectConverter.cs
- FaultImportOptions.cs
- SafeFileMappingHandle.cs
- SecurityKeyIdentifier.cs
- VirtualizingPanel.cs
- ImmutableObjectAttribute.cs
- returneventsaver.cs
- VerticalAlignConverter.cs
- SuppressMessageAttribute.cs
- ObfuscateAssemblyAttribute.cs
- HtmlFormWrapper.cs
- ResourceDescriptionAttribute.cs
- CodeIterationStatement.cs
- TextTreeFixupNode.cs
- SecurityPolicyVersion.cs
- SettingsPropertyValue.cs
- WebControlParameterProxy.cs
- ControlCachePolicy.cs
- SQLRoleProvider.cs
- InvalidCommandTreeException.cs
- RegistrationServices.cs
- SymbolMethod.cs
- IsolatedStorageException.cs
- InternalMappingException.cs
- StringValueConverter.cs
- ClientConvert.cs
- VisualBrush.cs
- SystemTcpConnection.cs
- Variable.cs
- ObjectTypeMapping.cs
- BaseTreeIterator.cs
- BoolExpression.cs
- HttpProfileBase.cs
- RolePrincipal.cs
- StickyNoteHelper.cs
- TextControl.cs
- SendActivityEventArgs.cs
- DataControlImageButton.cs
- SystemTcpConnection.cs
- FastPropertyAccessor.cs
- Literal.cs
- StateWorkerRequest.cs
- FormView.cs
- TdsParserStaticMethods.cs
- StrokeNodeOperations.cs
- ComplexTypeEmitter.cs
- TraceListener.cs
- DataServiceEntityAttribute.cs
- _SpnDictionary.cs
- EmptyCollection.cs
- DataSourceDescriptorCollection.cs
- LineServicesCallbacks.cs
- CompoundFileStreamReference.cs
- WriterOutput.cs
- arclist.cs
- Rectangle.cs
- OdbcException.cs
- IxmlLineInfo.cs
- StubHelpers.cs
- OdbcCommand.cs
- ListParaClient.cs
- SqlRewriteScalarSubqueries.cs
- StrokeFIndices.cs
- BitmapEffectGeneralTransform.cs
- XmlAtomicValue.cs
- MemberJoinTreeNode.cs
- EntitySqlQueryCacheEntry.cs
- PrimaryKeyTypeConverter.cs
- WebAdminConfigurationHelper.cs
- ListBoxItemWrapperAutomationPeer.cs
- ChangeConflicts.cs
- OdbcEnvironment.cs
- Clause.cs
- XhtmlCssHandler.cs