IPrintJobCollection::GetAt method

Gets a pointer to an IPrintJob object.

Syntax


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

Parameters

ulIndex [in]

Index of the IPrintJob object within the collection.

ppJob [out, retval]

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Printerextension.h

See also

IPrintJob
IPrintJobCollection

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft