Bewerken

Delen via


IPrintJobCollection interface (printerextension.h)

This interfaces provides an enumeration of the jobs in the print queue.

The enumerated list of jobs represents a snapshot of the current job status.

Inheritance

The IPrintJobCollection interface inherits from the IUnknown interface. IPrintJobCollection also has these types of members:

Methods

The IPrintJobCollection interface has these methods.

 
IPrintJobCollection::get__NewEnum

Gets a pointer to the enumerants of IPrintJobCollection objects.
IPrintJobCollection::get_Count

Gets the number of jobs in the print queue.
IPrintJobCollection::GetAt

Gets a pointer to an IPrintJob object.

Remarks

The order of print jobs in the enumerated list is the same as the order provided by EnumJobs, which is the actual print queue order.

IPrintJobCollection also helps to make it possible to perform job management from a UWP device app or from a printer extension. For more information, see Job Management.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See also

EnumJobs

Job Management