다음을 통해 공유


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

참조