autoSetFocus property

int autoSetFocus

Implementation

int get autoSetFocus {
  final retValuePtr = calloc<Int32>();

  try {
    final hr = (ptr.ref.vtable + 58)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Int32> autoSetFocus)>>>()
        .value
        .asFunction<
            int Function(Pointer,
                Pointer<Int32> autoSetFocus)>()(ptr.ref.lpVtbl, retValuePtr);

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

    final retValue = retValuePtr.value;
    return retValue;
  } finally {
    free(retValuePtr);
  }
}
void autoSetFocus=(int value)

Implementation

set autoSetFocus(int value) {
  final hr = (ptr.ref.vtable + 59)
      .cast<
          Pointer<
              NativeFunction<Int32 Function(Pointer, Int32 autoSetFocus)>>>()
      .value
      .asFunction<
          int Function(Pointer, int autoSetFocus)>()(ptr.ref.lpVtbl, value);

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