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)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::GetDefaultPrinter Method}}
 
{{#customTitle:IPXV_Inst::GetDefaultPrinter Method}}
{{#parentPage:PXV:IPXV_Inst#Methods|GetDefaultPrinter Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|GetDefaultPrinter|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Returns name of printer that is default in the system.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval]  BSTR*  ppPrinterName);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval]  BSTR*  sPrinterName);</pre>
  
 
== Parameters ==
 
== Parameters ==
;ppPrinterName
+
;sPrinterName
:[out, retval]  Pointer to BSTR.
+
:[out, retval]  Returns pointer unicode string that contains the printer's name.
  
 
== 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_GetPrinters|IPXV_Inst::GetPrinters]]

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