message: C26430, not tested for nullness on all paths. I will just always check for null as a defense against a bad QI implementation.
diff: @@ -321,13 +321,10 @@ IFACEMETHODIMP ScreenInfoUiaProviderBase::GetSelection(_Outptr_result_maybenull_
  IRawElementProviderSimple* pProvider;
  hr = this->QueryInterface(IID_PPV_ARGS(&pProvider));
  - if (SUCCEEDED(hr))
  - {
  if (pProvider == nullptr)
  {
  hr = E_POINTER;
  }
  - }
  if (FAILED(hr))
  {
  @@ -455,13 +452,10 @@ IFACEMETHODIMP ScreenInfoUiaProviderBase::GetVisibleRanges(_Outptr_result_mayben
  IRawElementProviderSimple* pProvider;
  HRESULT hr = this->QueryInterface(IID_PPV_ARGS(&pProvider));
  - if (SUCCEEDED(hr))
  - {
  if (pProvider == nullptr)
  {
  hr = E_POINTER;
  }
  - }
  if (FAILED(hr))
  {
  