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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for