IUnknown.Constructor(p As Ptr)

From Xojo Documentation

Constructor
IUnknown.Constructor(pUnknown As Ptr)

Creates a new IUnknown class from the supplied pointer. The constructor does not automatically add a reference count, but when the destructor is called a reference is released.