Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AccessibleObject trimmable #9795

Closed
Tracked by #10797
JeremyKuhne opened this issue Aug 28, 2023 · 1 comment
Closed
Tracked by #10797

Make AccessibleObject trimmable #9795

JeremyKuhne opened this issue Aug 28, 2023 · 1 comment

Comments

@JeremyKuhne
Copy link
Member

JeremyKuhne commented Aug 28, 2023

In order for AOT/Trimming to be a viable option we need to change AccessibleObject to fully utilize native VARIANTs and pointers and use ComWrappers for our CCW projections.

There are a number of steps to this, including:

  • Implement the CsWin32 IAccessible.Interface on AccessibleObject and have the existing public IAccessible interface projection just wrap this.
  • Convert the UIA interfaces to use CsWin32.
  • Ensure that we're using IManagedWrapper on all of our accessible objects.

AccessibleObject is a little difficult to make efficient due to it being public with numerous virtual members.

@elachlan
Copy link
Contributor

Related: #9784

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants