IPrinterExtensionEvent::OnPrinterQueuesEnumerated method

Called when printer queues are enumerated.

Syntax


HRESULT OnPrinterQueuesEnumerated(
  [in] IPrinterExtensionContextCollection *pContextCollection
);

Parameters

pContextCollection [in]

Pointer to IPrinterExtensionContextCollection object.

Return value

This method returns an HRESULT value.

Remarks

OnPrinterQueuesEnumerated is called every time the set of print queues associated with the printer extension is updated. So it is important for printer extensions to be able to handle multiple calls to this method without causing a catastrophic failure of the printer extension.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform

Desktop

Header

Printerextension.h

See also

IPrinterExtensionEvent
IPrinterExtensionContext
IPrinterExtensionContextCollection

 

 

Send comments about this topic to Microsoft

Show: