IPrinterQueue::get_Name method (printerextension.h)

Gets the name of the printer for this print queue.

This property is read-only.

Syntax

HRESULT get_Name(
  BSTR *pbstrName
);

Parameters

pbstrName

Defines the BSTR parameter pbstrName.

Return value

Returns an HRESULT value. If the property 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 Windows
Header printerextension.h

See also

IPrinterQueue