IPrintSchemaOptionCollection::GetAt method (printerextension.h)

Gets a pointer to an IPrintSchemaOption object.

Syntax

HRESULT GetAt(
  [in]                    ULONG              ulIndex,
  [out, retval, optional] IPrintSchemaOption **ppOption
);

Parameters

[in] ulIndex

Index of the IPrintSchemaOption object within the collection.

[out, retval, optional] ppOption

Pointer to an IPrintSchemaOption 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
Minimum supported server Windows Server 2012
Target Platform Desktop
Header printerextension.h

See also

IPrintSchemaOption

IPrintSchemaOptionCollection