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.

137 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. wnd.h
  5. Abstract:
  6. The header file for Window utility routines.
  7. Author:
  8. Jim Schmidt (jimschm) 01-Feb-2000
  9. Revision History:
  10. <alias> <date> <comments>
  11. --*/
  12. //
  13. // Includes
  14. //
  15. // None
  16. //
  17. // Strings
  18. //
  19. // None
  20. //
  21. // Constants
  22. //
  23. #define BACK_BUTTON 0x0001
  24. #define NEXT_BUTTON 0x0002
  25. #define CANCEL_BUTTON 0x0004
  26. #define FINISH_BUTTON 0x0008
  27. //
  28. // Macros
  29. //
  30. // None
  31. //
  32. // Types
  33. //
  34. // None
  35. //
  36. // Globals
  37. //
  38. // None
  39. //
  40. // Macro expansion list
  41. //
  42. // None
  43. //
  44. // Public function prototypes
  45. //
  46. HWND
  47. WndFindWindowInProcessA (
  48. IN DWORD ProcessId,
  49. IN PCSTR WindowTitle OPTIONAL
  50. );
  51. HWND
  52. WndFindWindowInProcessW (
  53. IN DWORD ProcessId,
  54. IN PCWSTR WindowTitle OPTIONAL
  55. );
  56. VOID
  57. WndCenterWindow (
  58. IN HWND WindowToCenter,
  59. IN HWND ParentToCenterIn OPTIONAL
  60. );
  61. VOID
  62. WndTurnOnWaitCursor (
  63. VOID
  64. );
  65. VOID
  66. WndTurnOffWaitCursor (
  67. VOID
  68. );
  69. VOID
  70. WndSetWizardButtonsA (
  71. IN HWND PageHandle,
  72. IN DWORD EnableButtons,
  73. IN DWORD DisableButtons,
  74. IN PCSTR AlternateFinishText OPTIONAL
  75. );
  76. VOID
  77. WndSetWizardButtonsW (
  78. IN HWND PageHandle,
  79. IN DWORD EnableButtons,
  80. IN DWORD DisableButtons,
  81. IN PCWSTR AlternateFinishText OPTIONAL
  82. );
  83. //
  84. // Macro expansion definition
  85. //
  86. // None
  87. //
  88. // ANSI/UNICODE macros
  89. //
  90. #ifdef UNICODE
  91. #define WndFindWindowInProcess WndFindWindowInProcessW
  92. #define WndSetWizardButtons WndSetWizardButtonsW
  93. #else
  94. #define WndFindWindowInProcess WndFindWindowInProcessA
  95. #define WndSetWizardButtons WndSetWizardButtonsA
  96. #endif