Since we can't be sure whether interface return values are never null, we probably have to check that and return an Option<ComPtr<...>> instead. We should try to make use of the null-pointer optimization here, so there will be no unnecessary overhead.
Since we can't be sure whether interface return values are never
null, we probably have to check that and return anOption<ComPtr<...>>instead. We should try to make use of the null-pointer optimization here, so there will be no unnecessary overhead.