Win32Interop.GetMonitorFromDisplayId(DisplayId) 메서드
참조
정의
네임스페이스: Microsoft.UI
제공된 displayId가 유효하고 시스템에 디스플레이 모니터를 나타내는 HMONITOR가 있는 경우 지정된 displayId에 해당하는 디스플레이 모니터 핸들을 가져옵니다.
public static IntPtr GetMonitorFromDisplayId(DisplayId displayId);
매개 변수
displayIdDisplayId
디스플레이의 식별자입니다.
반환
제공된 displayId가 유효하고 시스템에 디스플레이 모니터를 나타내는 HMONITOR가 있는 경우 지정된 displayId에 해당하는 디스플레이 모니터 핸들입니다. 그렇지 않으면 null입니다.
적용 대상
| 제품 | 소개 |
|---|---|
| WinUI 3 | Windows 앱 SDK 1.0 |