Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / Microsoft / Win32 / SafeHandles / SafeFindHandle.cs / 1 / SafeFindHandle.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SafeFindHandle ** ** ** A wrapper for find handles ** ** ===========================================================*/ using System; using System.Security; using System.Security.Permissions; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using Microsoft.Win32; namespace Microsoft.Win32.SafeHandles { internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid { [SecurityPermission(SecurityAction.LinkDemand, UnmanagedCode=true)] internal SafeFindHandle() : base(true) {} override protected bool ReleaseHandle() { return Win32Native.FindClose(handle); } } } // 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
- TreeBuilder.cs
- XmlTextReaderImplHelpers.cs
- DataSourceCacheDurationConverter.cs
- ListBoxChrome.cs
- ConfigurationSchemaErrors.cs
- WorkflowPersistenceService.cs
- DbCommandTree.cs
- CodeBlockBuilder.cs
- ButtonFieldBase.cs
- TransportConfigurationTypeElement.cs
- TypeUtil.cs
- SourceFilter.cs
- Util.cs
- bidPrivateBase.cs
- PathFigureCollection.cs
- PeerApplicationLaunchInfo.cs
- DataRecordInternal.cs
- PageResolution.cs
- AudioStateChangedEventArgs.cs
- DataGridRelationshipRow.cs
- ValuePatternIdentifiers.cs
- EntityContainerEmitter.cs
- AggregateNode.cs
- ValidationService.cs
- _ChunkParse.cs
- ProtocolsSection.cs
- Lasso.cs
- ChildTable.cs
- AnnotationResourceCollection.cs
- CssClassPropertyAttribute.cs
- RequestStatusBarUpdateEventArgs.cs
- TargetConverter.cs
- DataSourceControlBuilder.cs
- dtdvalidator.cs
- StreamResourceInfo.cs
- ZipPackage.cs
- SystemColorTracker.cs
- FlowDocumentPageViewerAutomationPeer.cs
- MediaPlayer.cs
- IndentedTextWriter.cs
- SweepDirectionValidation.cs
- SimpleBitVector32.cs
- SpotLight.cs
- PingReply.cs
- __Error.cs
- CssClassPropertyAttribute.cs
- PolygonHotSpot.cs
- EncodingInfo.cs
- PresentationSource.cs
- TdsEnums.cs
- RsaEndpointIdentity.cs
- DataSourceCacheDurationConverter.cs
- WorkflowNamespace.cs
- Expression.cs
- DoubleAnimationUsingPath.cs
- MetaDataInfo.cs
- ACL.cs
- SerialPort.cs
- OleDbWrapper.cs
- TypeConverterMarkupExtension.cs
- System.Data_BID.cs
- TemplateControlParser.cs
- AutomationEventArgs.cs
- IdentityModelDictionary.cs
- PointIndependentAnimationStorage.cs
- MethodExpr.cs
- DecoderFallback.cs
- DelegatingMessage.cs
- ResourcesGenerator.cs
- Buffer.cs
- ObjectConverter.cs
- NameValuePermission.cs
- InputScope.cs
- ResourceFallbackManager.cs
- SamlEvidence.cs
- XmlSchemaComplexContent.cs
- WeakEventManager.cs
- ObjectListComponentEditor.cs
- MultiBinding.cs
- EditingMode.cs
- TypeNameConverter.cs
- System.Data_BID.cs
- Light.cs
- MouseButtonEventArgs.cs
- NameTable.cs
- RubberbandSelector.cs
- HttpMethodAttribute.cs
- Variable.cs
- CroppedBitmap.cs
- fixedPageContentExtractor.cs
- ToolStripDropDownClosedEventArgs.cs
- DynamicRendererThreadManager.cs
- AtomParser.cs
- QueryReaderSettings.cs
- WindowsScroll.cs
- EtwTrace.cs
- XMLDiffLoader.cs
- MediaPlayer.cs
- DSASignatureDeformatter.cs
- CodeDirectionExpression.cs