https://learn.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices.marshal.destroystructure?view=netframework-4.8.1&viewFallbackFrom=net-10.0
Marshal.DestroyStructure Method (System.Runtime.InteropServices) | Microsoft Learn
Frees all substructures that the specified unmanaged memory block points to.
marshalmethodsystemruntimemicrosoft