IPrintJobCollection::GetAt method (printerextension.h)

Gets a pointer to an IPrintJob object.

Syntax

HRESULT GetAt(
  [in]          ULONG     ulIndex,
  [out, retval] IPrintJob **ppJob
);

Parameters

[in] ulIndex

Index of the IPrintJob object within the collection.

[out, retval] 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

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

See also

IPrintJob

IPrintJobCollection