SysHolographicWindowingEnvironment.IsProtectedContentPresentChanged Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Событие, которое возникает, когда защищенное содержимое присутствует или отсутствует.
Важно!
Этот API доступен только для компонентов операционной системы Windows. Вызовы этих API будут завершаться ошибкой во время выполнения для всех остальных процессов. Эти API-интерфейсы могут быть изменены или удалены в будущих выпусках Windows.
// Register
event_token IsProtectedContentPresentChanged(TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsProtectedContentPresentChanged(event_token const* cookie) const;
// Revoke with event_revoker
SysHolographicWindowingEnvironment::IsProtectedContentPresentChanged_revoker IsProtectedContentPresentChanged(auto_revoke_t, TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysHolographicWindowingEnvironment,object> IsProtectedContentPresentChanged;
function onIsProtectedContentPresentChanged(eventArgs) { /* Your code */ }
sysHolographicWindowingEnvironment.addEventListener("isprotectedcontentpresentchanged", onIsProtectedContentPresentChanged);
sysHolographicWindowingEnvironment.removeEventListener("isprotectedcontentpresentchanged", onIsProtectedContentPresentChanged);
- or -
sysHolographicWindowingEnvironment.onisprotectedcontentpresentchanged = onIsProtectedContentPresentChanged;
Public Custom Event IsProtectedContentPresentChanged As TypedEventHandler(Of SysHolographicWindowingEnvironment, Object)
Тип события
TypedEventHandler<SysHolographicWindowingEnvironment,Object>
TypedEventHandler<SysHolographicWindowingEnvironment,IInspectable>