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( _ ByVal ptr As Integer, _ ByVal structure As Object _ ) [C#] public static void PtrToStructure( int ptr, object structure ); [C++] public: static void PtrToStructure( int ptr, Object* structure ); [JScript] public static function PtrToStructure( ptr : int, structure : Object );
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace | Marshal.PtrToStructure Overload List