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.

227 lines
12 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: display.h
  7. //
  8. // Contents: Defines the functions used to convert values to strings
  9. // for display purposes
  10. //
  11. // History: 17-Oct-2000 JeffJon Created
  12. //
  13. //
  14. //--------------------------------------------------------------------------
  15. //
  16. // All these functions are of type PGETDISPLAYSTRINGFUNC as defined in
  17. // gettable.h
  18. //
  19. HRESULT CommonDisplayStringFunc(PCWSTR pszDN,
  20. CDSCmdBasePathsInfo& refBasePathsInfo,
  21. const CDSCmdCredentialObject& refCredentialObject,
  22. _DSGetObjectTableEntry* pEntry,
  23. ARG_RECORD* pRecord,
  24. PADS_ATTR_INFO pAttrInfo,
  25. CComPtr<IDirectoryObject>& spDirObject,
  26. PDSGET_DISPLAY_INFO pDisplayInfo);
  27. HRESULT DisplayCanChangePassword(PCWSTR pszDN,
  28. CDSCmdBasePathsInfo& refBasePathsInfo,
  29. const CDSCmdCredentialObject& refCredentialObject,
  30. _DSGetObjectTableEntry* pEntry,
  31. ARG_RECORD* pRecord,
  32. PADS_ATTR_INFO pAttrInfo,
  33. CComPtr<IDirectoryObject>& spDirObject,
  34. PDSGET_DISPLAY_INFO pDisplayInfo);
  35. HRESULT DisplayMustChangePassword(PCWSTR pszDN,
  36. CDSCmdBasePathsInfo& refBasePathsInfo,
  37. const CDSCmdCredentialObject& refCredentialObject,
  38. _DSGetObjectTableEntry* pEntry,
  39. ARG_RECORD* pRecord,
  40. PADS_ATTR_INFO pAttrInfo,
  41. CComPtr<IDirectoryObject>& spDirObject,
  42. PDSGET_DISPLAY_INFO pDisplayInfo);
  43. HRESULT DisplayAccountDisabled(PCWSTR pszDN,
  44. CDSCmdBasePathsInfo& refBasePathsInfo,
  45. const CDSCmdCredentialObject& refCredentialObject,
  46. _DSGetObjectTableEntry* pEntry,
  47. ARG_RECORD* pRecord,
  48. PADS_ATTR_INFO pAttrInfo,
  49. CComPtr<IDirectoryObject>& spDirObject,
  50. PDSGET_DISPLAY_INFO pDisplayInfo);
  51. HRESULT DisplayPasswordNeverExpires(PCWSTR pszDN,
  52. CDSCmdBasePathsInfo& refBasePathsInfo,
  53. const CDSCmdCredentialObject& refCredentialObject,
  54. _DSGetObjectTableEntry* pEntry,
  55. ARG_RECORD* pRecord,
  56. PADS_ATTR_INFO pAttrInfo,
  57. CComPtr<IDirectoryObject>& spDirObject,
  58. PDSGET_DISPLAY_INFO pDisplayInfo);
  59. HRESULT DisplayReversiblePassword(PCWSTR pszDN,
  60. CDSCmdBasePathsInfo& refBasePathsInfo,
  61. const CDSCmdCredentialObject& refCredentialObject,
  62. _DSGetObjectTableEntry* pEntry,
  63. ARG_RECORD* pRecord,
  64. PADS_ATTR_INFO pAttrInfo,
  65. CComPtr<IDirectoryObject>& spDirObject,
  66. PDSGET_DISPLAY_INFO pDisplayInfo);
  67. HRESULT DisplayAccountExpires(PCWSTR pszDN,
  68. CDSCmdBasePathsInfo& refBasePathsInfo,
  69. const CDSCmdCredentialObject& refCredentialObject,
  70. _DSGetObjectTableEntry* pEntry,
  71. ARG_RECORD* pRecord,
  72. PADS_ATTR_INFO pAttrInfo,
  73. CComPtr<IDirectoryObject>& spDirObject,
  74. PDSGET_DISPLAY_INFO pDisplayInfo);
  75. HRESULT DisplayGroupScope(PCWSTR pszDN,
  76. CDSCmdBasePathsInfo& refBasePathsInfo,
  77. const CDSCmdCredentialObject& refCredentialObject,
  78. _DSGetObjectTableEntry* pEntry,
  79. ARG_RECORD* pRecord,
  80. PADS_ATTR_INFO pAttrInfo,
  81. CComPtr<IDirectoryObject>& spDirObject,
  82. PDSGET_DISPLAY_INFO pDisplayInfo);
  83. HRESULT DisplayGroupSecurityEnabled(PCWSTR pszDN,
  84. CDSCmdBasePathsInfo& refBasePathsInfo,
  85. const CDSCmdCredentialObject& refCredentialObject,
  86. _DSGetObjectTableEntry* pEntry,
  87. ARG_RECORD* pRecord,
  88. PADS_ATTR_INFO pAttrInfo,
  89. CComPtr<IDirectoryObject>& spDirObject,
  90. PDSGET_DISPLAY_INFO pDisplayInfo);
  91. HRESULT DisplayGroupMembers(PCWSTR pszDN,
  92. CDSCmdBasePathsInfo& refBasePathsInfo,
  93. const CDSCmdCredentialObject& refCredentialObject,
  94. _DSGetObjectTableEntry* pEntry,
  95. ARG_RECORD* pCommandArgs,
  96. PADS_ATTR_INFO pAttrInfo,
  97. CComPtr<IDirectoryObject>& spDirObject,
  98. PDSGET_DISPLAY_INFO pDisplayInfo);
  99. HRESULT DisplayPartitions(PCWSTR pszDN,
  100. CDSCmdBasePathsInfo& refBasePathsInfo,
  101. const CDSCmdCredentialObject& refCredentialObject,
  102. _DSGetObjectTableEntry* pEntry,
  103. ARG_RECORD* pRecord,
  104. PADS_ATTR_INFO pAttrInfo,
  105. CComPtr<IDirectoryObject>& spDirObject,
  106. PDSGET_DISPLAY_INFO pDisplayInfo);
  107. HRESULT DisplayUserMemberOf(PCWSTR pszDN,
  108. CDSCmdBasePathsInfo& refBasePathsInfo,
  109. const CDSCmdCredentialObject& refCredentialObject,
  110. _DSGetObjectTableEntry* pEntry,
  111. ARG_RECORD* pRecord,
  112. PADS_ATTR_INFO pAttrInfo,
  113. CComPtr<IDirectoryObject>& spDirObject,
  114. PDSGET_DISPLAY_INFO pDisplayInfo);
  115. HRESULT DisplayComputerMemberOf(PCWSTR pszDN,
  116. CDSCmdBasePathsInfo& refBasePathsInfo,
  117. const CDSCmdCredentialObject& refCredentialObject,
  118. _DSGetObjectTableEntry* pEntry,
  119. ARG_RECORD* pRecord,
  120. PADS_ATTR_INFO pAttrInfo,
  121. CComPtr<IDirectoryObject>& /*spDirObject*/,
  122. PDSGET_DISPLAY_INFO pDisplayInfo);
  123. HRESULT DisplayGroupMemberOf(PCWSTR pszDN,
  124. CDSCmdBasePathsInfo& refBasePathsInfo,
  125. const CDSCmdCredentialObject& refCredentialObject,
  126. _DSGetObjectTableEntry* pEntry,
  127. ARG_RECORD* pRecord,
  128. PADS_ATTR_INFO pAttrInfo,
  129. CComPtr<IDirectoryObject>& spDirObject,
  130. PDSGET_DISPLAY_INFO pDisplayInfo);
  131. HRESULT DisplayGrandparentRDN(PCWSTR pszDN,
  132. CDSCmdBasePathsInfo& refBasePathsInfo,
  133. const CDSCmdCredentialObject& refCredentialObject,
  134. _DSGetObjectTableEntry* pEntry,
  135. ARG_RECORD* pRecord,
  136. PADS_ATTR_INFO pAttrInfo,
  137. CComPtr<IDirectoryObject>& spDirObject,
  138. PDSGET_DISPLAY_INFO pDisplayInfo);
  139. HRESULT DisplayObjectAttributeAsRDN(PCWSTR pszDN,
  140. CDSCmdBasePathsInfo& refBasePathsInfo,
  141. const CDSCmdCredentialObject& refCredentialObject,
  142. _DSGetObjectTableEntry* pEntry,
  143. ARG_RECORD* pRecord,
  144. PADS_ATTR_INFO pAttrInfo,
  145. CComPtr<IDirectoryObject>& spDirObject,
  146. PDSGET_DISPLAY_INFO pDisplayInfo);
  147. HRESULT IsServerGCDisplay(PCWSTR pszDN,
  148. CDSCmdBasePathsInfo& refBasePathsInfo,
  149. const CDSCmdCredentialObject& refCredentialObject,
  150. _DSGetObjectTableEntry* pEntry,
  151. ARG_RECORD* pRecord,
  152. PADS_ATTR_INFO pAttrInfo,
  153. CComPtr<IDirectoryObject>& spDirObject,
  154. PDSGET_DISPLAY_INFO pDisplayInfo);
  155. HRESULT IsAutotopologyEnabledSite(PCWSTR pszDN,
  156. CDSCmdBasePathsInfo& refBasePathsInfo,
  157. const CDSCmdCredentialObject& refCredentialObject,
  158. _DSGetObjectTableEntry* pEntry,
  159. ARG_RECORD* pRecord,
  160. PADS_ATTR_INFO pAttrInfo,
  161. CComPtr<IDirectoryObject>& spDirObject,
  162. PDSGET_DISPLAY_INFO pDisplayInfo);
  163. HRESULT IsCacheGroupsEnabledSite(PCWSTR pszDN,
  164. CDSCmdBasePathsInfo& refBasePathsInfo,
  165. const CDSCmdCredentialObject& refCredentialObject,
  166. _DSGetObjectTableEntry* pEntry,
  167. ARG_RECORD* pRecord,
  168. PADS_ATTR_INFO pAttrInfo,
  169. CComPtr<IDirectoryObject>& spDirObject,
  170. PDSGET_DISPLAY_INFO pDisplayInfo);
  171. HRESULT DisplayPreferredGC(PCWSTR pszDN,
  172. CDSCmdBasePathsInfo& refBasePathsInfo,
  173. const CDSCmdCredentialObject& refCredentialObject,
  174. _DSGetObjectTableEntry* pEntry,
  175. ARG_RECORD* pRecord,
  176. PADS_ATTR_INFO pAttrInfo,
  177. CComPtr<IDirectoryObject>& spDirObject,
  178. PDSGET_DISPLAY_INFO pDisplayInfo);
  179. HRESULT DisplayUserFromSidFunc(PCWSTR pszDN,
  180. CDSCmdBasePathsInfo& refBasePathsInfo,
  181. const CDSCmdCredentialObject& refCredentialObject,
  182. _DSGetObjectTableEntry* pEntry,
  183. ARG_RECORD* pRecord,
  184. PADS_ATTR_INFO pAttrInfo,
  185. CComPtr<IDirectoryObject>& spDirObject,
  186. PDSGET_DISPLAY_INFO pDisplayInfo);
  187. HRESULT DisplayQuotaInfoFunc(PCWSTR pszDN,
  188. CDSCmdBasePathsInfo& refBasePathsInfo,
  189. const CDSCmdCredentialObject& refCredentialObject,
  190. _DSGetObjectTableEntry* pEntry,
  191. ARG_RECORD* pRecord,
  192. PADS_ATTR_INFO pAttrInfo,
  193. CComPtr<IDirectoryObject>& spDirObject,
  194. PDSGET_DISPLAY_INFO pDisplayInfo);
  195. HRESULT DisplayTopObjOwner(PCWSTR pszDN,
  196. CDSCmdBasePathsInfo& refBasePathsInfo,
  197. const CDSCmdCredentialObject& refCredentialObject,
  198. _DSGetObjectTableEntry* pEntry,
  199. ARG_RECORD* pRecord,
  200. PADS_ATTR_INFO pAttrInfo,
  201. CComPtr<IDirectoryObject>& spDirObject,
  202. PDSGET_DISPLAY_INFO pDisplayInfo);