Share via


PrintSupportExtensionSession.PrintDeviceCapabilitiesChanged Event

Definition

Raised when the system updates the cached print capabilities of the associated Internet Printing Protocol (IPP) printer.

// Register
event_token PrintDeviceCapabilitiesChanged(TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintSupportExtensionSession::PrintDeviceCapabilitiesChanged_revoker PrintDeviceCapabilitiesChanged(auto_revoke_t, TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintSupportExtensionSession,PrintSupportPrintDeviceCapabilitiesChangedEventArgs> PrintDeviceCapabilitiesChanged;
function onPrintDeviceCapabilitiesChanged(eventArgs) { /* Your code */ }
printSupportExtensionSession.addEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
printSupportExtensionSession.removeEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
- or -
printSupportExtensionSession.onprintdevicecapabilitieschanged = onPrintDeviceCapabilitiesChanged;
Public Custom Event PrintDeviceCapabilitiesChanged As TypedEventHandler(Of PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs) 

Event Type

Remarks

The PrintSupportPrintDeviceCapabilitiesChangedEventArgs provides the current print capabilities and provides a method you can use to update the capabilities.

Applies to