Marshals data from an unmanaged block of memory to a managed object.
Marshals data from an unmanaged block of memory to a newly allocated object of the specified type.
[Visual Basic] Overloads Public Shared Function PtrToStructure(Integer, Type) As Object
[C#] public static object PtrToStructure(int, Type);
[C++] public: static Object* PtrToStructure(int, Type);
[JScript] public static function PtrToStructure(int, Type) : Object;
Marshals data from an unmanaged block of memory pointed to a managed object. The object must be an instance of a formatted class (structure class).
[Visual Basic] Overloads Public Shared Sub PtrToStructure(Integer, Object)
[C#] public static void PtrToStructure(int, Object);
[C++] public: static void PtrToStructure(int, Object);
[JScript] public static function PtrToStructure(int, Object);
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace