INFO: Reboot Keyword Will Not Work in Printer INFs

Last reviewed: June 5, 1997
Article ID: Q169601
The information in this article applies to:
  • Microsoft Win32 Device Development Kit (DDK) for Windows 95, version 4.0

SUMMARY

The Reboot keyword will not work inside of a printer INF file.

MORE INFORMATION

The Reboot keyword cannot be used inside of a printer INF file to cause a reboot after printer installation. The Add Printer Wizard (MSPRINT.DLL and MSPRINT2.DLL) does not recognize the Reboot keyword. If a reboot is desired after a printer install, you still have an option, which is to write your own printer install application that uses the Win32 printer API functions to add a printer and use a Win32 API function to reboot the machine.

REFERENCES

For more information concerning the Win32 printing API functions, please see the Win32 SDK documentation.


Keywords : kbprint kbinfo
Version : 4.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.