IPrintJobCollection::GetAt method

Gets a pointer to an IPrintJob object.

Syntax

HRESULT GetAt(
  ULONG     ulIndex,
  IPrintJob **ppJob
);

Parameters

ulIndex

Index of the IPrintJob object within the collection.

ppJob

Pointer to an IPrintJob object.

Return Value

Returns an HRESULT value. If the method call was not successful, it returns the appropriate HRESULT error code.

Requirements

   
Windows version Windows 8.1 Windows Server 2012 R2
Target Platform Desktop
Header printerextension.h

See Also

IPrintJob

IPrintJobCollection