Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / InteropServices / HandleRef.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DtdParser.cs
- TreeViewImageKeyConverter.cs
- Propagator.Evaluator.cs
- SizeAnimationClockResource.cs
- Debugger.cs
- GenericArgumentsUpdater.cs
- SoapWriter.cs
- OracleConnection.cs
- KeyValuePairs.cs
- EdmFunctionAttribute.cs
- InputReportEventArgs.cs
- NetNamedPipeBindingElement.cs
- TextProperties.cs
- DifferencingCollection.cs
- CollectionChangedEventManager.cs
- CodeSubDirectory.cs
- FtpWebResponse.cs
- CellTreeNode.cs
- FileStream.cs
- InfoCardService.cs
- ColorMatrix.cs
- DockPanel.cs
- FigureHelper.cs
- ErrorEventArgs.cs
- PermissionSetTriple.cs
- TreeSet.cs
- TableRow.cs
- SQLResource.cs
- XamlBuildProvider.cs
- ServicePoint.cs
- SQLCharsStorage.cs
- Control.cs
- XmlSchemaDatatype.cs
- FixedTextBuilder.cs
- recordstatescratchpad.cs
- HtmlMeta.cs
- GatewayDefinition.cs
- ScriptingSectionGroup.cs
- ReceiveSecurityHeaderElementManager.cs
- Converter.cs
- DelegateSerializationHolder.cs
- ThemeableAttribute.cs
- PropertyItemInternal.cs
- SqlTypeSystemProvider.cs
- ZipIORawDataFileBlock.cs
- WebPartConnectionsConnectVerb.cs
- DataGridPageChangedEventArgs.cs
- Timer.cs
- DataGridViewRowsAddedEventArgs.cs
- KeyboardNavigation.cs
- ThreadExceptionEvent.cs
- FontDriver.cs
- MemoryMappedViewStream.cs
- ProvidersHelper.cs
- ProxyBuilder.cs
- ThrowHelper.cs
- TdsValueSetter.cs
- ChangeConflicts.cs
- Stroke.cs
- DbParameterHelper.cs
- Buffer.cs
- Border.cs
- ViewBox.cs
- ObjectNavigationPropertyMapping.cs
- ChannelAcceptor.cs
- ExtendedProperty.cs
- AdRotator.cs
- FontNamesConverter.cs
- LicenseContext.cs
- HostedImpersonationContext.cs
- SimpleBitVector32.cs
- KerberosSecurityTokenAuthenticator.cs
- BaseTransportHeaders.cs
- GeneralTransform.cs
- TextureBrush.cs
- CodeLabeledStatement.cs
- ProfileModule.cs
- ConfigurationSectionGroup.cs
- DataGridViewColumnConverter.cs
- SizeAnimationUsingKeyFrames.cs
- ProfileGroupSettingsCollection.cs
- StylusPointPropertyId.cs
- SoapReflectionImporter.cs
- TemplatedWizardStep.cs
- WindowsListViewSubItem.cs
- OpenFileDialog.cs
- TypeElementCollection.cs
- odbcmetadatafactory.cs
- DrawingServices.cs
- PartialTrustVisibleAssembliesSection.cs
- GridViewPageEventArgs.cs
- HybridDictionary.cs
- ToolStripDropDownDesigner.cs
- TypeBuilder.cs
- MaskInputRejectedEventArgs.cs
- LoginUtil.cs
- httpstaticobjectscollection.cs
- EnvironmentPermission.cs
- ProjectedSlot.cs
- ReadOnlyHierarchicalDataSource.cs