Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
761 B

  1. /*++
  2. Copyright (c) 1995-97 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. SrvInst.h
  6. Purpose:
  7. Server side install class. Used to install a printer driver from the server side.
  8. Author:
  9. Patrick Vine (pvine) - 22 March 2000
  10. Revision History:
  11. --*/
  12. #ifndef _SRVINST_H
  13. #define _SRVINST_H
  14. class CServerInstall
  15. {
  16. public:
  17. CServerInstall();
  18. ~CServerInstall();
  19. BOOL ParseCommand( LPTSTR pszCommandStr );
  20. BOOL InstallDriver();
  21. DWORD GetLastError();
  22. private:
  23. BOOL SetInfToNTPRINTDir();
  24. BOOL DriverNotInstalled();
  25. DWORD _dwLastError;
  26. TString _tsDriverName;
  27. TString _tsNtprintInf;
  28. };
  29. #endif