Edit

Share via


D1229: D1229: Immersive call To GetDesktopDpi

You called ID2D1Factory::GetDesktopDpi in a Universal Windows Platform (UWP) app. That isn't recommended. Instead, you should call DisplayProperties::LogicalDpi.

Possible causes

You called ID2D1Factory::GetDesktopDpi in a Universal Windows Platform (UWP) app.

Possible Fixes

You should use DisplayProperties::LogicalDpi to retrieve the DPI in a Universal Windows Platform (UWP) app.