HwndSource hwndSource = PresentationSource.FromVisual(this) as HwndSource;//窗口过程
if (hwndSource != null)
{
hwndSource.AddHook(new HwndSourceHook(DeveiceChanged)); //挂钩
}

相关文章:

  • 2021-09-25
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-01-29
猜你喜欢
  • 2022-12-23
  • 2021-05-18
  • 2021-09-29
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案