IPrinterExtensionEvent::OnPrinterQueuesEnumerated method

Called when printer queues are enumerated.

Syntax

HRESULT OnPrinterQueuesEnumerated(
  IPrinterExtensionContextCollection *pContextCollection
);

Parameters

pContextCollection

Pointer to IPrinterExtensionContextCollection object.

Return Value

This method returns an HRESULT value.

Remarks

OnPrinterQueuesEnumerated is called every time the set of print queues associated with the printer extension is updated. So it is important for printer extensions to be able to handle multiple calls to this method without causing a catastrophic failure of the printer extension.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header printerextension.h

See Also

IPrinterExtensionContext

IPrinterExtensionContextCollection

IPrinterExtensionEvent