点击或拖拽改变大小

UnmanagedMethodsGetDpiForMonitor 方法

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <summary> 文档]

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static long GetDpiForMonitor(
	IntPtr hmonitor,
	UnmanagedMethodsMONITOR_DPI_TYPE dpiType,
	out uint dpiX,
	out uint dpiY
)

参数

hmonitor
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <param name="hmonitor"/> 文档]

dpiType
类型:CPF.WindowsUnmanagedMethodsMONITOR_DPI_TYPE

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <param name="dpiType"/> 文档]

dpiX
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <param name="dpiX"/> 文档]

dpiY
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <param name="dpiY"/> 文档]

返回值

类型:Int64

[缺少 "M:CPF.Windows.UnmanagedMethods.GetDpiForMonitor(System.IntPtr,CPF.Windows.UnmanagedMethods.MONITOR_DPI_TYPE,System.UInt32@,System.UInt32@)" 的 <returns> 文档]

参见