Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / WinFormsIntegration / MS / Win32 / DCSafeHandle.cs / 1 / DCSafeHandle.cs
using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; using System; namespace MS.Win32 { internal sealed class DCSafeHandle : SafeHandleZeroOrMinusOneIsInvalid { private DCSafeHandle() : base(true) { } override protected bool ReleaseHandle() { return UnsafeNativeMethods.DeleteDC(handle); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; using System; namespace MS.Win32 { internal sealed class DCSafeHandle : SafeHandleZeroOrMinusOneIsInvalid { private DCSafeHandle() : base(true) { } override protected bool ReleaseHandle() { return UnsafeNativeMethods.DeleteDC(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
- BitmapEffectDrawingContent.cs
- AssociationSet.cs
- HtmlTableCell.cs
- CodeAttributeDeclarationCollection.cs
- ServiceNotStartedException.cs
- StorageTypeMapping.cs
- FactoryGenerator.cs
- HiddenFieldPageStatePersister.cs
- SqlDataSourceCache.cs
- WindowsToolbar.cs
- WebPartDeleteVerb.cs
- HtmlShim.cs
- ExpressionEditor.cs
- XmlNodeChangedEventManager.cs
- XmlSchemaInfo.cs
- TagPrefixInfo.cs
- FieldToken.cs
- DataGridAutomationPeer.cs
- Bitmap.cs
- NativeCompoundFileAPIs.cs
- ExpandoClass.cs
- MobileControl.cs
- ComEventsMethod.cs
- GridEntry.cs
- TextRangeEditTables.cs
- QueryCacheManager.cs
- PrintController.cs
- NativeWindow.cs
- OciEnlistContext.cs
- dsa.cs
- KeyBinding.cs
- StringComparer.cs
- WebReferenceCollection.cs
- RegexRunner.cs
- InvalidPipelineStoreException.cs
- NetStream.cs
- AppDomainAttributes.cs
- RotateTransform.cs
- DesignerLoader.cs
- HttpContextBase.cs
- DependencyPropertyDescriptor.cs
- ProxySimple.cs
- AsyncOperation.cs
- WebPartConnectionsEventArgs.cs
- TrackingStringDictionary.cs
- NavigationPropertyEmitter.cs
- DurationConverter.cs
- InputScopeConverter.cs
- Int64AnimationUsingKeyFrames.cs
- IntSecurity.cs
- StateMachine.cs
- ControlUtil.cs
- ComboBoxRenderer.cs
- TileModeValidation.cs
- XmlStreamStore.cs
- SliderAutomationPeer.cs
- SoapInteropTypes.cs
- GroupDescription.cs
- ElementProxy.cs
- FontEditor.cs
- DelegateInArgument.cs
- GeometryHitTestResult.cs
- RelationshipEntry.cs
- SoapHeaderException.cs
- SecurityPermission.cs
- grammarelement.cs
- DiscoveryDocument.cs
- TextContainerHelper.cs
- OuterGlowBitmapEffect.cs
- MimeObjectFactory.cs
- HandlerElementCollection.cs
- TargetControlTypeCache.cs
- _AcceptOverlappedAsyncResult.cs
- HtmlTableCell.cs
- KnownColorTable.cs
- EntityCommand.cs
- HttpListenerException.cs
- FormViewAutoFormat.cs
- ResourceKey.cs
- WebPartEditorOkVerb.cs
- XmlTextEncoder.cs
- SelectionRange.cs
- SynchronousChannelMergeEnumerator.cs
- XPathItem.cs
- HttpPostedFile.cs
- Classification.cs
- WindowsImpersonationContext.cs
- ConditionCollection.cs
- MethodExpr.cs
- SolidBrush.cs
- EventDescriptorCollection.cs
- Expressions.cs
- StylusTip.cs
- BitmapVisualManager.cs
- SoapServerMethod.cs
- TemplatePartAttribute.cs
- MappingSource.cs
- DefaultAssemblyResolver.cs
- AsymmetricSignatureFormatter.cs
- FlowDocumentReaderAutomationPeer.cs