我们有一个VSTO插件,要求我们将打开的邮件的电子邮件窗口涂黑。如果必须通过 SetWindowDisplayAffinity 完成,我们如何通过 VSTO 插件获取 SetWindowDisplayAffinity 的正确句柄?
我们确实尝试通过通过该过程获得的句柄来设置WindowDisplayAffinity,但它
将
Inspector
Explorer
IOleWindow::GetWindow
HWND