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 的监视器拖动到更高级别之一时,或者在启动设备驱动程序更新时触发。

适用于