IShellItem2 constructor
IShellItem2(
- VTablePointer ptr
Creates a new instance of IShellItem2 from a VTablePointer.
This constructor requires a valid pointer to the IShellItem2 interface.
The ptr must not be nullptr; otherwise, an assertion error is thrown.
Implementation
IShellItem2(super.ptr) : _vtable = ptr.value.cast<IShellItem2Vtbl>().ref;