Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / HandleRef.cs / 1305376 / HandleRef.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices { using System; [System.Runtime.InteropServices.ComVisible(true)] public struct HandleRef { // ! Do not add or rearrange fields as the EE depends on this layout. //------------------------------------------------------------------ internal Object m_wrapper; internal IntPtr m_handle; //----------------------------------------------------------------- public HandleRef(Object wrapper, IntPtr handle) { m_wrapper = wrapper; m_handle = handle; } public Object Wrapper { get { return m_wrapper; } } public IntPtr Handle { get { return m_handle; } } public static explicit operator IntPtr(HandleRef value) { return value.m_handle; } public static IntPtr ToIntPtr(HandleRef value) { return value.m_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
- ParsedAttributeCollection.cs
- GenericUriParser.cs
- ObjectDataSourceSelectingEventArgs.cs
- httpserverutility.cs
- WebPartMinimizeVerb.cs
- SchemaNames.cs
- HMAC.cs
- TaskbarItemInfo.cs
- VirtualStackFrame.cs
- TextBoxAutoCompleteSourceConverter.cs
- XMLSyntaxException.cs
- StatusBar.cs
- EdmMember.cs
- HashCodeCombiner.cs
- DispatcherHookEventArgs.cs
- SafeFileHandle.cs
- Visual3DCollection.cs
- BrowserTree.cs
- SqlError.cs
- UInt64.cs
- OciHandle.cs
- StrongName.cs
- FieldAccessException.cs
- UInt64Converter.cs
- DescriptionAttribute.cs
- SqlConnectionManager.cs
- SecurityVersion.cs
- CapabilitiesRule.cs
- OpacityConverter.cs
- UpdateRecord.cs
- ByteConverter.cs
- RuntimeCompatibilityAttribute.cs
- DependencyObjectPropertyDescriptor.cs
- GridViewAutomationPeer.cs
- NavigationCommands.cs
- IgnoreFlushAndCloseStream.cs
- TriggerCollection.cs
- RetrieveVirtualItemEventArgs.cs
- UIElementPropertyUndoUnit.cs
- SystemIPInterfaceProperties.cs
- ChangesetResponse.cs
- MenuItemBindingCollection.cs
- CellCreator.cs
- XPathMessageFilterElementComparer.cs
- Int16Animation.cs
- EntityClassGenerator.cs
- SafeLibraryHandle.cs
- BuildProvider.cs
- DesignConnection.cs
- NotifyParentPropertyAttribute.cs
- SortExpressionBuilder.cs
- TextDecorationCollection.cs
- ImageMapEventArgs.cs
- AutomationPatternInfo.cs
- DataStreamFromComStream.cs
- TcpConnectionPoolSettings.cs
- RowSpanVector.cs
- ExpressionVisitor.cs
- NotFiniteNumberException.cs
- PackagingUtilities.cs
- NotifyParentPropertyAttribute.cs
- XpsInterleavingPolicy.cs
- SingleKeyFrameCollection.cs
- MobileComponentEditorPage.cs
- XslTransform.cs
- InfoCardTraceRecord.cs
- WSTrustDec2005.cs
- FixedSOMLineCollection.cs
- PermissionRequestEvidence.cs
- ButtonRenderer.cs
- HtmlDocument.cs
- AppDomainUnloadedException.cs
- UInt64Converter.cs
- HtmlAnchor.cs
- DataGridViewTextBoxColumn.cs
- ScriptManager.cs
- InstanceLockLostException.cs
- SR.Designer.cs
- WebExceptionStatus.cs
- CmsInterop.cs
- CredentialCache.cs
- PropertyEmitter.cs
- FatalException.cs
- HttpPostedFile.cs
- Exceptions.cs
- FixedTextBuilder.cs
- FormViewPagerRow.cs
- ConnectionPointGlyph.cs
- ObjectDataSourceFilteringEventArgs.cs
- PropertyGeneratedEventArgs.cs
- TemplateField.cs
- _BufferOffsetSize.cs
- SpellerStatusTable.cs
- CachedBitmap.cs
- coordinatorscratchpad.cs
- ControlUtil.cs
- DrawingAttributes.cs
- CompressionTransform.cs
- DeviceFiltersSection.cs
- FontClient.cs