<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

Lifetime<TVTable, TObject>

Struct that handles managed object COM projection lifetime management.
public static uint AddRef(Void* this)

public static Lifetime Allocate(TObject object, TVTable* vtable)

Allocate a lifetime wrapper for the given object with the given vtable.

public static TObject GetObject(Void* this)

Get the object associated with this lifetime.

public static uint Release(Void* this)