Skip to content

Conversation

@harshit7962
Copy link
Member

@harshit7962 harshit7962 commented Nov 25, 2025

Description

Using AppContextSwitch, we are trying to contain the retry mechanism of DWM's ExtendFrameIntoClientArea API call.

Customer Impact

Developers can use the AppContextSwtich as below to avoid the retry mechanism:

<ItemGroup>
	<RuntimeHostConfigurationOption Include="Switch.System.Windows.Media.DisableDWMCrashContainment" Value="true" />
</ItemGroup>

Regression

No

Testing

Local Build Pass
Tested a sample application in runtime to make sure the switch is adhered to.

Risk

Minimal

Microsoft Reviewers: Open in CodeFlow

@harshit7962 harshit7962 requested a review from a team as a code owner November 25, 2025 18:57
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants