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*  PrinterName);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval]  BSTR*  sPrinterName);</pre>
  
 
== Parameters ==
 
== Parameters ==
;PrinterName
+
;sPrinterName
 
:[out, retval]  Returns pointer unicode string that contains the printer's name.
 
:[out, retval]  Returns pointer unicode string that contains the printer's name.
  

Latest revision as of 03:56, 15 June 2015


Returns name of printer that is default in the system.

Syntax

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

Parameters

sPrinterName
[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