IPXV_Inst::GetDefaultPrinter Method
From PDF XChange PDF SDK
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* | + | <pre class="brush:cpp;gutter:false">HRESULT GetDefaultPrinter([out, retval] BSTR* sPrinterName);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;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.