RoamingFolder property

Pointer<COMObject> RoamingFolder

Implementation

Pointer<COMObject> get RoamingFolder {
  final retValuePtr = calloc<COMObject>();

  final hr = _thisPtr.ref.vtable
          .elementAt(13)
          .cast<
              Pointer<
                  NativeFunction<
                      HRESULT Function(Pointer, Pointer<COMObject>)>>>()
          .value
          .asFunction<int Function(Pointer, Pointer<COMObject>)>()(
      _thisPtr.ref.lpVtbl, retValuePtr);

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

  return retValuePtr;
}