IPrinterExtensionContextCollection::GetAt method (printerextension.h)

Gets a pointer to an IPrinterExtensionContext object.

Syntax

HRESULT GetAt(
  [in]          ULONG                    ulIndex,
  [out, retval] IPrinterExtensionContext **ppContext
);

Parameters

[in] ulIndex

The index of the IPrinterExtensionContext object within the collection.

[out, retval] ppContext

Pointer to an IPrinterExtensionContext interface.

Return value

This method returns an HRESULT value.

Requirements

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

See also

IPrinterExtensionContext

IPrinterExtensionContextCollection