Marshal::PtrToStructure Method
Marshals data from an unmanaged block of memory to a managed object.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | PtrToStructure(IntPtr, Object^) | Marshals data from an unmanaged block of memory to a managed object. |
![]() ![]() | PtrToStructure(IntPtr, Type^) | Marshals data from an unmanaged block of memory to a newly allocated managed object of the specified type. |
![]() ![]() | PtrToStructure<T>(IntPtr) | [Supported in the .NET Framework 4.5.1 and later versions] Marshals data from an unmanaged block of memory to a newly allocated managed object of the type specified by a generic type parameter. |
![]() ![]() | PtrToStructure<T>(IntPtr, T) | [Supported in the .NET Framework 4.5.1 and later versions] Marshals data from an unmanaged block of memory to a managed object of the specified type. |

