IPrinterExtensionEvent::OnPrinterQueuesEnumerated method (printerextension.h)
Called when printer queues are enumerated.
Syntax
HRESULT OnPrinterQueuesEnumerated(
[in] IPrinterExtensionContextCollection *pContextCollection
);
Parameters
[in] 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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | printerextension.h |