Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ExpressionBindingCollection.cs
- DurableInstanceProvider.cs
- TypeDescriptionProviderAttribute.cs
- RotationValidation.cs
- BitmapEffectInputData.cs
- DataTableReaderListener.cs
- CustomErrorsSectionWrapper.cs
- TemplateParser.cs
- EventDescriptor.cs
- HostProtectionPermission.cs
- MatchNoneMessageFilter.cs
- mda.cs
- SqlHelper.cs
- ToolStripPanelRow.cs
- DocComment.cs
- TextMarkerSource.cs
- __Error.cs
- WindowsAltTab.cs
- ProxyElement.cs
- EventManager.cs
- SymmetricAlgorithm.cs
- Site.cs
- ToolStripKeyboardHandlingService.cs
- PlatformNotSupportedException.cs
- XmlDocumentType.cs
- Regex.cs
- GridViewColumnHeaderAutomationPeer.cs
- documentsequencetextpointer.cs
- JournalEntryStack.cs
- SymmetricCryptoHandle.cs
- RegistryConfigurationProvider.cs
- IndentedWriter.cs
- EventProviderWriter.cs
- DataGridViewSelectedColumnCollection.cs
- Context.cs
- CompiledRegexRunnerFactory.cs
- Exception.cs
- Utils.cs
- elementinformation.cs
- UnauthorizedWebPart.cs
- StringComparer.cs
- XPathScanner.cs
- VisualStyleElement.cs
- ConditionalAttribute.cs
- XmlDocumentViewSchema.cs
- Wizard.cs
- HostedHttpRequestAsyncResult.cs
- FlowSwitchDesigner.xaml.cs
- DataGridTablesFactory.cs
- CreateUserErrorEventArgs.cs
- OpCodes.cs
- IndexExpression.cs
- ElementAction.cs
- NCryptNative.cs
- DetailsViewDeletedEventArgs.cs
- SQLBinary.cs
- WindowsFont.cs
- InheritanceContextChangedEventManager.cs
- DbMetaDataCollectionNames.cs
- ActivationServices.cs
- PictureBox.cs
- storepermission.cs
- SiteMapSection.cs
- dtdvalidator.cs
- StringResourceManager.cs
- OdbcErrorCollection.cs
- IMembershipProvider.cs
- TransportManager.cs
- SqlConnectionFactory.cs
- HttpChannelFactory.cs
- Documentation.cs
- CustomValidator.cs
- GenericsNotImplementedException.cs
- SslStream.cs
- XmlAtomicValue.cs
- ToolBar.cs
- SoapCodeExporter.cs
- XmlSchemaElement.cs
- WebPartTracker.cs
- PublisherMembershipCondition.cs
- Logging.cs
- DbCommandDefinition.cs
- WindowsIdentity.cs
- CompiledQuery.cs
- Win32MouseDevice.cs
- SingleStorage.cs
- AssertSection.cs
- XmlDocumentType.cs
- TextProperties.cs
- PointCollection.cs
- SecurityDescriptor.cs
- fixedPageContentExtractor.cs
- ChangeNode.cs
- DeflateEmulationStream.cs
- Pens.cs
- ContentPosition.cs
- PowerStatus.cs
- ListenerElementsCollection.cs
- Soap12FormatExtensions.cs
- TagPrefixAttribute.cs