Skip to content
New issue

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

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

Already on GitHub? # to your account

Ensure D2D device context is not used outside Begin/End draw #13011

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Apr 29, 2024

This ensures that drawing code is not able to access the D2D device context outside of a BeginDraw/EndDraw pair.

Office internal code enforces that all references to the device context must be released before EndDraw is called.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner April 29, 2024 16:42
@marlenecota marlenecota merged commit 5fa1ba4 into microsoft:main Apr 29, 2024
53 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants