<< Click to Display Table of Contents >> Navigation: Drivers API > IPXCPrinter Interface > Functions > ReStorePrinterOptions |
The ReStorePrinterOptions function is used to restore printer options that the StorePrinterOptions function has been used to save. Please note that declarations are case-sensitive:
C#
void ReStorePrinterOptions(IStream pStream);
C++
HRESULT ReStorePrinterOptions(IStream* pStream);
VB
Sub ReStorePrinterOptions(pStream As IStream)
If the function fails then the return value is an error code.
If the function succeeds then the return value is S_OK.