IPrinterQueueViewEvent::OnChanged method
Provides an IPrintJobCollection object that provides a snapshot of a range of print jobs in the queue.
Syntax
HRESULT OnChanged( [in] IPrintJobCollection *pCollection, [in] ULONG ulViewOffset, [in] ULONG ulViewSize, [in] ULONG ulCountJobsInPrintQueue );
Parameters
- 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.
Return value
This method returns the appropriate HRESULT value.
Remarks
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.
Requirements
|
Minimum supported client |
Windows 8.1 |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 |
|
Target platform |
|
|
Header |
|
See also