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
- WorkflowRuntimeSection.cs
- WsdlHelpGeneratorElement.cs
- LayeredChannelFactory.cs
- Message.cs
- GetPageCompletedEventArgs.cs
- CryptoHelper.cs
- SecureStringHasher.cs
- ListSourceHelper.cs
- ToolTipAutomationPeer.cs
- ViewValidator.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SingleQueryOperator.cs
- CaseStatement.cs
- ByteStack.cs
- DataColumnSelectionConverter.cs
- SqlInfoMessageEvent.cs
- PageThemeParser.cs
- SessionEndingCancelEventArgs.cs
- HandlerBase.cs
- AnimationStorage.cs
- EqualityComparer.cs
- oledbconnectionstring.cs
- RegionIterator.cs
- LayoutDump.cs
- BaseCollection.cs
- AstTree.cs
- NamespaceList.cs
- ResourceManagerWrapper.cs
- DifferencingCollection.cs
- MergeFilterQuery.cs
- CompilerTypeWithParams.cs
- AdRotator.cs
- ProxyAttribute.cs
- WsdlBuildProvider.cs
- ResourceReferenceKeyNotFoundException.cs
- PageContentCollection.cs
- FileLogRecord.cs
- Helpers.cs
- DashStyle.cs
- UrlAuthFailedErrorFormatter.cs
- XmlSerializationGeneratedCode.cs
- HtmlInputButton.cs
- Light.cs
- COMException.cs
- Transform3DCollection.cs
- MachineKeyConverter.cs
- COM2ComponentEditor.cs
- Transform3D.cs
- TableItemProviderWrapper.cs
- VisualTransition.cs
- RequestQueryParser.cs
- Property.cs
- XmlSchemas.cs
- Source.cs
- CreatingCookieEventArgs.cs
- WebPartMenuStyle.cs
- TrackingQuery.cs
- Package.cs
- DocumentCollection.cs
- XmlNodeList.cs
- FixedSOMTableCell.cs
- HttpBrowserCapabilitiesBase.cs
- ColumnBinding.cs
- LightweightCodeGenerator.cs
- LoginStatusDesigner.cs
- _NetworkingPerfCounters.cs
- MetaColumn.cs
- SingleConverter.cs
- QilSortKey.cs
- ListItem.cs
- RowVisual.cs
- TimeZone.cs
- ObjectDataSourceDisposingEventArgs.cs
- Wildcard.cs
- FileFormatException.cs
- QuadraticBezierSegment.cs
- DataGridAutoFormat.cs
- BatchParser.cs
- InfoCardRSACryptoProvider.cs
- OptimizerPatterns.cs
- XsdDataContractExporter.cs
- TimeZone.cs
- DataGridViewRow.cs
- TabControl.cs
- KeyToListMap.cs
- XmlWrappingWriter.cs
- XamlSerializationHelper.cs
- ResourceManagerWrapper.cs
- ZipIOLocalFileDataDescriptor.cs
- ApplicationManager.cs
- DataServiceRequest.cs
- HMAC.cs
- ColorKeyFrameCollection.cs
- AutoGeneratedField.cs
- ConsumerConnectionPoint.cs
- followingquery.cs
- DataServiceResponse.cs
- ReadOnlyPropertyMetadata.cs
- NotifyCollectionChangedEventArgs.cs
- ClientScriptManagerWrapper.cs