Provides an IPrintJobCollection object that provides a snapshot of a range of print jobs in the queue.
HRESULT OnChanged( [in] IPrintJobCollection *pCollection, [in] ULONG ulViewOffset, [in] ULONG ulViewSize, [in] ULONG ulCountJobsInPrintQueue );
- pCollection [in]
An IPrintJobCollection object.
- ulViewOffset [in]
The start of the range of jobs being monitored.
- ulViewSize [in]
The range of jobs being monitored.
- ulCountJobsInPrintQueue [in]
The current number of jobs in the print queue.
This method returns the appropriate HRESULT value.
The job range is controlled by the IPrinterQueueView interface. Additionally, this method provides the current number of jobs in the print queue, and the indices of the job range being monitored. Information about the number of jobs, and the indices of the jobs is provided in response to the IPrinterQueueView::SetViewRange method being invoked.
Minimum supported client
Minimum supported server
|Windows Server 2012 R2|
Build date: 1/29/2014