IPXV_Inst::GetDefaultPrinter Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval]  BSTR*  sPrinterName);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval]  BSTR*  PrinterName);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sPrinterName
+
;PrinterName
 
:[out, retval]  Returns pointer unicode string that contains the printer's name.
 
:[out, retval]  Returns pointer unicode string that contains the printer's name.
  

Revision as of 07:32, 12 June 2015


Returns name of printer that is default in the system.

Syntax

HRESULT GetDefaultPrinter([out, retval]  BSTR*  PrinterName);

Parameters

PrinterName
[out, retval] Returns pointer unicode string that contains the printer's name.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst, IPXV_Inst::GetPrinters