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.

112 lines
3.2 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1998
  3. All rights reserved.
  4. Module Name:
  5. psetup5.hxx
  6. Abstract:
  7. Printer setup header.
  8. Author:
  9. Steve Kiraly (SteveKi) 19-Jan-1996
  10. Revision History:
  11. --*/
  12. #ifndef _PSETUP5_HXX
  13. #define _PSETUP5_HXX
  14. /********************************************************************
  15. Printer setup class.
  16. ********************************************************************/
  17. class TPSetup50 {
  18. SIGNATURE( 'pse5' )
  19. public:
  20. TPSetup50(
  21. VOID
  22. );
  23. ~TPSetup50(
  24. VOID
  25. );
  26. BOOL
  27. bValid(
  28. VOID
  29. );
  30. public:
  31. static pfPSetupCreatePrinterDeviceInfoList PSetupCreatePrinterDeviceInfoList;
  32. static pfPSetupDestroyPrinterDeviceInfoList PSetupDestroyPrinterDeviceInfoList;
  33. static pfPSetupSelectDriver PSetupSelectDriver;
  34. static pfPSetupCreateDrvSetupPage PSetupCreateDrvSetupPage;
  35. static pfPSetupGetSelectedDriverInfo PSetupGetSelectedDriverInfo;
  36. static pfPSetupDestroySelectedDriverInfo PSetupDestroySelectedDriverInfo;
  37. static pfPSetupInstallPrinterDriver PSetupInstallPrinterDriver;
  38. static pfPSetupIsDriverInstalled PSetupIsDriverInstalled;
  39. static pfPSetupThisPlatform PSetupThisPlatform;
  40. static pfPSetupDriverInfoFromName PSetupDriverInfoFromName;
  41. static pfPSetupPreSelectDriver PSetupPreSelectDriver;
  42. static pfPSetupCreateMonitorInfo PSetupCreateMonitorInfo;
  43. static pfPSetupDestroyMonitorInfo PSetupDestroyMonitorInfo;
  44. static pfPSetupEnumMonitor PSetupEnumMonitor;
  45. static pfPSetupInstallMonitor PSetupInstallMonitor;
  46. static pfPSetupProcessPrinterAdded PSetupProcessPrinterAdded;
  47. static pfPSetupBuildDriversFromPath PSetupBuildDriversFromPath;
  48. static pfPSetupIsTheDriverFoundInInfInstalled PSetupIsTheDriverFoundInInfInstalled;
  49. static pfPSetupSetSelectDevTitleAndInstructions PSetupSetSelectDevTitleAndInstructions;
  50. static pfPSetupInstallPrinterDriverFromTheWeb PSetupInstallPrinterDriverFromTheWeb;
  51. static pfPSetupGetLocalDataField PSetupGetLocalDataField;
  52. static pfPSetupFreeDrvField PSetupFreeDrvField;
  53. static pfPSetupSelectDeviceButtons PSetupSelectDeviceButtons;
  54. static pfPSetupFreeMem PSetupFreeMem;
  55. protected:
  56. //
  57. // Prevent copying.
  58. //
  59. TPSetup50(
  60. const TPSetup50 &
  61. );
  62. //
  63. // Prevent assignment.
  64. //
  65. TPSetup50 &
  66. operator =(
  67. const TPSetup50 &
  68. );
  69. private:
  70. BOOL _bValid;
  71. static UINT _uRefCount;
  72. static TLibrary *_pLibrary;
  73. BOOL
  74. bLoad(
  75. VOID
  76. );
  77. VOID
  78. vUnLoad(
  79. VOID
  80. );
  81. };
  82. #endif