CompositionCapabilities.Changed 事件

定义

当支持的合成功能发生更改时触发的事件。

// Register
event_token Changed(TypedEventHandler<CompositionCapabilities, IInspectable const&> const& handler) const;

// Revoke with event_token
void Changed(event_token const* cookie) const;

// Revoke with event_revoker
CompositionCapabilities::Changed_revoker Changed(auto_revoke_t, TypedEventHandler<CompositionCapabilities, IInspectable const&> const& handler) const;
public event TypedEventHandler<CompositionCapabilities,object> Changed;
function onChanged(eventArgs) { /* Your code */ }
compositionCapabilities.addEventListener("changed", onChanged);
compositionCapabilities.removeEventListener("changed", onChanged);
- or -
compositionCapabilities.onchanged = onChanged;
Public Custom Event Changed As TypedEventHandler(Of CompositionCapabilities, Object) 

事件类型

注解

在各种情况下可能会触发此事件,例如,将应用程序从连接到功能 9.1 的 GPU 的监视器拖动到更高级别的某个级别时,或者启动设备驱动程序更新时。

适用于