Skip to content

Optimize elevation required notification warning logic #1722

@yuyoyuppe

Description

@yuyoyuppe
  • we can check is_process_elevated() before calling IsProcessOfWindowElevated to avoid reading from the registry
  • also, we can cache the value from the is_process_elevated(), since we don't dynamically change elevation

Metadata

Metadata

Assignees

Labels

Cost-SmallSmall work item - 0-8 hours of workProduct-FancyZonesRefers to the FancyZones PowerToyResolution-Fix CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions