Source code of Windows XP (NT5)
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.

114 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 pfPSetupRefreshDriverList PSetupRefreshDriverList;
  40. static pfPSetupThisPlatform PSetupThisPlatform;
  41. static pfPSetupDriverInfoFromName PSetupDriverInfoFromName;
  42. static pfPSetupPreSelectDriver PSetupPreSelectDriver;
  43. static pfPSetupCreateMonitorInfo PSetupCreateMonitorInfo;
  44. static pfPSetupDestroyMonitorInfo PSetupDestroyMonitorInfo;
  45. static pfPSetupEnumMonitor PSetupEnumMonitor;
  46. static pfPSetupInstallMonitor PSetupInstallMonitor;
  47. static pfPSetupProcessPrinterAdded PSetupProcessPrinterAdded;
  48. static pfPSetupBuildDriversFromPath PSetupBuildDriversFromPath;
  49. static pfPSetupIsTheDriverFoundInInfInstalled PSetupIsTheDriverFoundInInfInstalled;
  50. static pfPSetupSetSelectDevTitleAndInstructions PSetupSetSelectDevTitleAndInstructions;
  51. static pfPSetupInstallPrinterDriverFromTheWeb PSetupInstallPrinterDriverFromTheWeb;
  52. static pfPSetupIsOemDriver PSetupIsOemDriver;
  53. static pfPSetupGetLocalDataField PSetupGetLocalDataField;
  54. static pfPSetupFreeDrvField PSetupFreeDrvField;
  55. static pfPSetupSelectDeviceButtons PSetupSelectDeviceButtons;
  56. static pfPSetupFreeMem PSetupFreeMem;
  57. protected:
  58. //
  59. // Prevent copying.
  60. //
  61. TPSetup50(
  62. const TPSetup50 &
  63. );
  64. //
  65. // Prevent assignment.
  66. //
  67. TPSetup50 &
  68. operator =(
  69. const TPSetup50 &
  70. );
  71. private:
  72. BOOL _bValid;
  73. static UINT _uRefCount;
  74. static TLibrary *_pLibrary;
  75. BOOL
  76. bLoad(
  77. VOID
  78. );
  79. VOID
  80. vUnLoad(
  81. VOID
  82. );
  83. };
  84. #endif