IUIAutomationScrollPattern constructor

IUIAutomationScrollPattern(
  1. VTablePointer ptr
)

Creates a new instance of IUIAutomationScrollPattern from a VTablePointer.

This constructor requires a valid pointer to the IUIAutomationScrollPattern interface. The ptr must not be nullptr; otherwise, an assertion error is thrown.

Implementation

IUIAutomationScrollPattern(super.ptr)
  : _vtable = ptr.value.cast<IUIAutomationScrollPatternVtbl>().ref;