isGlobal property

bool isGlobal

Returns true if the token is marked as global.

Implementation

bool get isGlobal {
  if (!isResolvedToken) return false;

  return using((Arena arena) {
    final pIsGlobal = arena<Int32>();
    final hr = reader.IsGlobal(token, pIsGlobal);
    if (FAILED(hr)) throw WindowsException(hr);

    return pIsGlobal.value == 1;
  });
}