Win32Interop 클래스
C# 데스크톱 애플리케이션 개발자는 .NET에서 GetWindowIdFromWindow 함수를 포함하여 여러 상호 운용성 함수를 래핑하고 나타내는 메서드가 있는 Win32Interop 클래스를 사용할 수 있습니다.
Win32Interop 클래스는 Windows 앱 SDK 일부로 .NET에서 사용할 수 있습니다.
정의
네임스페이스: Microsoft.UI
public class Win32Interop
메서드
- GetDisplayIdFromMonitor(IntPtr)
- GetIconFromIconId(IconId)
- GetIconIdFromIcon(IntPtr)
- GetMonitorFromDisplayId(DisplayId)
- GetWindowFromWindowId(WindowId)
- GetWindowIdFromWindow(IntPtr)
적용 대상
| 제품 | 소개 |
|---|---|
| WinUI 3 | Windows 앱 SDK 1.0 |