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.

168 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. migui.h
  5. Abstract:
  6. Prototypes for Windows 95 user interface functions.
  7. See w95upg\ui for implementation.
  8. Author:
  9. Jim Schmidt (jimschm) 26-Nov-1996
  10. Revision History:
  11. marcw 14-Apr-1997 Took out UI_* functions related to progress bar.
  12. jimschm 04-Mar-1997 Added compatibility table API
  13. mikeco 05-Feb-1997 Removing dead stuff
  14. --*/
  15. #pragma once
  16. //
  17. // Code in report.c
  18. //
  19. BOOL
  20. AddBadSoftware (
  21. IN PCTSTR Component,
  22. IN PCTSTR Message,
  23. IN BOOL IncludeOnShortReport
  24. );
  25. typedef struct {
  26. TCHAR MsgGroup[MEMDB_MAX];
  27. PCTSTR Message;
  28. // private enumeration fields
  29. MEMDB_ENUM e;
  30. UINT Index;
  31. DWORD EnumLevel;
  32. } REPORT_MESSAGE_ENUM, *PREPORT_MESSAGE_ENUM;
  33. BOOL
  34. EnumFirstRootMsgGroup (
  35. OUT PREPORT_MESSAGE_ENUM EnumPtr,
  36. IN DWORD Level
  37. );
  38. BOOL
  39. EnumNextRootMsgGroup (
  40. IN OUT PREPORT_MESSAGE_ENUM EnumPtr
  41. );
  42. BOOL
  43. EnumFirstMessage (
  44. OUT PREPORT_MESSAGE_ENUM EnumPtr,
  45. IN PCTSTR RootMsgGroup, OPTIONAL
  46. IN DWORD Level
  47. );
  48. BOOL
  49. EnumNextMessage (
  50. IN OUT PREPORT_MESSAGE_ENUM EnumPtr
  51. );
  52. PCTSTR
  53. BuildMessageGroup (
  54. IN UINT RootGroupId,
  55. IN UINT SubGroupId, OPTIONAL
  56. IN PCTSTR Item
  57. );
  58. BOOL
  59. IsPreDefinedMessageGroup (
  60. IN PCTSTR Group
  61. );
  62. PCTSTR
  63. GetPreDefinedMessageGroupText (
  64. IN UINT GroupNumber
  65. );
  66. //
  67. // ui.c
  68. //
  69. extern HWND g_ParentWndAlwaysValid;
  70. //
  71. // APIs to retrieve strings from incompatability item
  72. //
  73. PCTSTR GetComponentString (IN PVOID IncompatPtr);
  74. PCTSTR GetDescriptionString (IN PVOID IncompatPtr);
  75. // Use MemFree to free return ptr
  76. PCTSTR
  77. CreateIndentedString (
  78. IN PCTSTR UnwrappedStr,
  79. IN UINT Indent,
  80. IN INT HangingIndentAdjustment,
  81. IN UINT LineLen
  82. );
  83. //
  84. // UI in ui.c in w95upg\ui
  85. //
  86. DWORD
  87. UI_GetWizardPages (
  88. OUT UINT *FirstCountPtr,
  89. OUT PROPSHEETPAGE **FirstArray,
  90. OUT UINT *SecondCountPtr,
  91. OUT PROPSHEETPAGE **SecondArray,
  92. OUT UINT *ThirdCountPtr,
  93. OUT PROPSHEETPAGE **ThirdArray
  94. );
  95. VOID
  96. UI_Cleanup (
  97. VOID
  98. );
  99. PCTSTR
  100. UI_GetMemDbDat (
  101. VOID
  102. );
  103. // utility for report-view list ctrls
  104. VOID
  105. UI_InsertItemsIntoListCtrl (
  106. HWND ListCtrl,
  107. INT Item, // zero-based index
  108. PTSTR ItemStrs, // tab-separated list
  109. LPARAM lParam // lParam for item
  110. );
  111. UINT
  112. UI_UntrustedDll (
  113. IN PCTSTR DllPath
  114. );
  115. //
  116. // Message symbols in dll (msg.h created by mc)
  117. //
  118. #include "msg.h"
  119. //
  120. // Background copy thread routines
  121. //
  122. VOID StartCopyThread (VOID);
  123. VOID EndCopyThread (VOID);
  124. BOOL DidCopyThreadFail (VOID);