Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextTrailingWordEllipsis.cs
- DomNameTable.cs
- UnicodeEncoding.cs
- DataGridViewCellStyle.cs
- DeviceContext.cs
- IPAddressCollection.cs
- SpellerHighlightLayer.cs
- SoapHttpTransportImporter.cs
- DbMetaDataCollectionNames.cs
- ObjectDataSource.cs
- printdlgexmarshaler.cs
- DocumentViewerBase.cs
- PropertyCollection.cs
- WebPartZoneBase.cs
- DelegatingConfigHost.cs
- PageSetupDialog.cs
- VariantWrapper.cs
- OperationResponse.cs
- CollectionViewSource.cs
- RelatedCurrencyManager.cs
- UserControlCodeDomTreeGenerator.cs
- PropertyChangedEventArgs.cs
- DocobjHost.cs
- XsdBuildProvider.cs
- CellTreeNodeVisitors.cs
- ClonableStack.cs
- Separator.cs
- SafePipeHandle.cs
- ExeConfigurationFileMap.cs
- Separator.cs
- TriggerBase.cs
- NativeMethods.cs
- XmlAttributes.cs
- Int16KeyFrameCollection.cs
- FormatConvertedBitmap.cs
- FilterElement.cs
- OdbcPermission.cs
- ServiceMetadataContractBehavior.cs
- PageStatePersister.cs
- _SecureChannel.cs
- FontEmbeddingManager.cs
- JavaScriptString.cs
- ResourceManagerWrapper.cs
- BufferedWebEventProvider.cs
- QuaternionKeyFrameCollection.cs
- Rect3DValueSerializer.cs
- HtmlImage.cs
- ListViewTableRow.cs
- SystemBrushes.cs
- FileDialog.cs
- InvalidProgramException.cs
- HierarchicalDataTemplate.cs
- GroupBox.cs
- Int32Converter.cs
- InfocardExtendedInformationCollection.cs
- GlobalEventManager.cs
- Stack.cs
- DataGridLength.cs
- SendParametersContent.cs
- ToolStripAdornerWindowService.cs
- DataGridItem.cs
- AppDomainAttributes.cs
- BrowserCapabilitiesCodeGenerator.cs
- WorkflowDesigner.cs
- DataSourceDesigner.cs
- MenuDesigner.cs
- ExpressionBuilderCollection.cs
- AlignmentXValidation.cs
- DescendantQuery.cs
- Workspace.cs
- CellParaClient.cs
- DiagnosticEventProvider.cs
- CompoundFileStorageReference.cs
- TextStore.cs
- DataObjectEventArgs.cs
- Converter.cs
- XsdValidatingReader.cs
- Authorization.cs
- DataBoundControlHelper.cs
- ProcessHostFactoryHelper.cs
- PersistenceTypeAttribute.cs
- CreateUserErrorEventArgs.cs
- ViewBox.cs
- RectConverter.cs
- LinkConverter.cs
- SchemaElementLookUpTable.cs
- HandleExceptionArgs.cs
- SecurityUtils.cs
- GlyphElement.cs
- BindableAttribute.cs
- DataGridPagerStyle.cs
- ResolveDuplex11AsyncResult.cs
- XPathAncestorIterator.cs
- MultiplexingFormatMapping.cs
- XAMLParseException.cs
- TableLayoutStyleCollection.cs
- AccessDataSourceWizardForm.cs
- UICuesEvent.cs
- ClusterUtils.cs
- Console.cs