remove_PositionChanged method

void remove_PositionChanged(
  1. int token
)

Implementation

void remove_PositionChanged(int token) {
  final hr = ptr.ref.vtable
      .elementAt(16)
      .cast<
          Pointer<NativeFunction<HRESULT Function(Pointer, IntPtr token)>>>()
      .value
      .asFunction<int Function(Pointer, int token)>()(ptr.ref.lpVtbl, token);

  if (FAILED(hr)) throw WindowsException(hr);
}