Frees all substructures pointed to by the native memory block.
[Visual Basic] Public Shared Sub DestroyStructure( _ ByVal ptr As Integer, _ ByVal structuretype As Type _ ) [C#] public static void DestroyStructure( int ptr, Type structuretype ); [C++] public: static void DestroyStructure( int ptr, Type* structuretype ); [JScript] public static function DestroyStructure( ptr : int, structuretype : Type );
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace