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.

117 lines
1.8 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1997
  3. All rights reserved.
  4. Module Name:
  5. instarch.hxx
  6. Abstract:
  7. Intall alternate driver architectures header.
  8. Author:
  9. Steve Kiraly (SteveKi) 18-Jan-1996
  10. Revision History:
  11. --*/
  12. #ifndef _INSTARCH_HXX
  13. #define _INSTARCH_HXX
  14. #include "driverif.hxx"
  15. #include "driverlv.hxx"
  16. #include "archlv.hxx"
  17. /********************************************************************
  18. Additional Driver Dialog.
  19. ********************************************************************/
  20. class TAdditionalDrivers : public MGenericDialog {
  21. SIGNATURE( 'addt' )
  22. public:
  23. TAdditionalDrivers(
  24. IN HWND hwnd,
  25. IN LPCTSTR pszServerName,
  26. IN LPCTSTR pszPrinterName,
  27. IN LPCTSTR pszDriverName,
  28. IN BOOL bAdministrator
  29. );
  30. ~TAdditionalDrivers(
  31. VOID
  32. );
  33. BOOL
  34. bValid(
  35. VOID
  36. );
  37. BOOL
  38. bDoModal(
  39. VOID
  40. );
  41. private:
  42. enum ClickMessages
  43. {
  44. kSingleClick = WM_APP+1,
  45. kDoubleClick = WM_APP+2,
  46. };
  47. //
  48. // Assignment and copying are not defined
  49. //
  50. TAdditionalDrivers &
  51. operator =(
  52. const TAdditionalDrivers &
  53. );
  54. TAdditionalDrivers(
  55. const TAdditionalDrivers &
  56. );
  57. BOOL
  58. IsNonInstalledItemSelected(
  59. VOID
  60. );
  61. BOOL
  62. bSetUI(
  63. VOID
  64. );
  65. BOOL
  66. bInstallSelectedDrivers(
  67. VOID
  68. );
  69. BOOL
  70. bHandleMessage(
  71. IN UINT uMsg,
  72. IN WPARAM wParam,
  73. IN LPARAM lParam
  74. );
  75. HWND _hwnd;
  76. BOOL _bValid;
  77. BOOL _bAdministrator;
  78. TString _strServerName;
  79. TString _strPrinterName;
  80. TString _strDriverName;
  81. TArchLV _ArchLV;
  82. };
  83. #endif