IPXV_Inst::GetPrinters Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_Inst::GetPrinters Method}} | {{#customTitle:IPXV_Inst::GetPrinters Method}} | ||
{{#parentPage:PXV:IPXV_Inst#Methods|GetPrinters|method}} | {{#parentPage:PXV:IPXV_Inst#Methods|GetPrinters|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets list of names of available printers. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetPrinters([out, retval] IUniqueStrings** | + | <pre class="brush:cpp;gutter:false">HRESULT GetPrinters([out, retval] IUniqueStrings** pPrinterNames);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pPrinterNames |
− | :[out, retval] | + | :[out, retval] Returns pointer to [[PXV:IUniqueStrings|IUniqueStrings]] object. |
== Return Value == | == Return Value == | ||
Line 19: | Line 18: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_GetDefaultPrinter|IPXV_Inst::GetDefaultPrinter]] |
Latest revision as of 02:56, 15 June 2015
Gets list of names of available printers.
Syntax
HRESULT GetPrinters([out, retval] IUniqueStrings** pPrinterNames);
Parameters
- pPrinterNames
- [out, retval] Returns pointer to IUniqueStrings object.
Return Value
Returns S_OK if operation was successful or error code in other cases.