ID2D1GdiMetafile1.GetDpi

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
interface ID2D1GdiMetafile1
extern (Windows)
HRESULT
GetDpi
(
float* dpiX
,
float* dpiY
)

Meta