It is recommended that you set the process-default DPI awareness via application manifest, not an API call. See
Setting the default DPI awareness for a process
for more information. Setting the process-default DPI awareness via API call can lead to unexpected application behavior.
Syntax
BOOL SetProcessDPIAware();
Return value
Type: BOOL
If the function succeeds, the return value is nonzero. Otherwise, the return value is zero.
Requirement
Value
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.