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.

314 lines
9.3 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for trksvr.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __trksvr_h__
  23. #define __trksvr_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. /* header files for imported files */
  29. #include "trk.h"
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. void * __RPC_USER MIDL_user_allocate(size_t);
  34. void __RPC_USER MIDL_user_free( void * );
  35. /* interface __MIDL_itf_trksvr_0000 */
  36. /* [local] */
  37. typedef long SequenceNumber;
  38. typedef /* [public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0001
  39. {
  40. TCHAR tszFilePath[ 257 ];
  41. CDomainRelativeObjId droidBirth;
  42. CDomainRelativeObjId droidLast;
  43. HRESULT hr;
  44. } old_TRK_FILE_TRACKING_INFORMATION;
  45. typedef /* [public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0002
  46. {
  47. CDomainRelativeObjId droidBirth;
  48. CDomainRelativeObjId droidLast;
  49. CMachineId mcidLast;
  50. HRESULT hr;
  51. } TRK_FILE_TRACKING_INFORMATION;
  52. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0003
  53. {
  54. /* [range] */ ULONG cSearch;
  55. /* [size_is] */ old_TRK_FILE_TRACKING_INFORMATION *pSearches;
  56. } old_TRKSVR_CALL_SEARCH;
  57. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0004
  58. {
  59. /* [range] */ ULONG cSearch;
  60. /* [size_is] */ TRK_FILE_TRACKING_INFORMATION *pSearches;
  61. } TRKSVR_CALL_SEARCH;
  62. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0005
  63. {
  64. /* [range] */ ULONG cNotifications;
  65. ULONG cProcessed;
  66. SequenceNumber seq;
  67. BOOL fForceSeqNumber;
  68. CVolumeId *pvolid;
  69. /* [size_is] */ CObjId *rgobjidCurrent;
  70. /* [size_is] */ CDomainRelativeObjId *rgdroidBirth;
  71. /* [size_is] */ CDomainRelativeObjId *rgdroidNew;
  72. } TRKSVR_CALL_MOVE_NOTIFICATION;
  73. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0006
  74. {
  75. /* [range] */ ULONG cSources;
  76. /* [size_is] */ CDomainRelativeObjId *adroidBirth;
  77. /* [range] */ ULONG cVolumes;
  78. /* [size_is] */ CVolumeId *avolid;
  79. } TRKSVR_CALL_REFRESH;
  80. typedef struct _DROID_LIST_ELEMENT
  81. {
  82. struct _DROID_LIST_ELEMENT *pNext;
  83. CDomainRelativeObjId droid;
  84. } DROID_LIST_ELEMENT;
  85. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0007
  86. {
  87. /* [range] */ ULONG cdroidBirth;
  88. /* [size_is] */ CDomainRelativeObjId *adroidBirth;
  89. /* [range] */ ULONG cVolumes;
  90. /* [size_is] */ CVolumeId *pVolumes;
  91. } TRKSVR_CALL_DELETE;
  92. typedef /* [public][public][public][public][public][public][public][v1_enum] */
  93. enum __MIDL___MIDL_itf_trksvr_0000_0008
  94. { CREATE_VOLUME = 0,
  95. QUERY_VOLUME = CREATE_VOLUME + 1,
  96. CLAIM_VOLUME = QUERY_VOLUME + 1,
  97. FIND_VOLUME = CLAIM_VOLUME + 1,
  98. TEST_VOLUME = FIND_VOLUME + 1,
  99. DELETE_VOLUME = TEST_VOLUME + 1
  100. } TRKSVR_SYNC_TYPE;
  101. typedef /* [public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0009
  102. {
  103. HRESULT hr;
  104. TRKSVR_SYNC_TYPE SyncType;
  105. CVolumeId volume;
  106. CVolumeSecret secret;
  107. CVolumeSecret secretOld;
  108. SequenceNumber seq;
  109. FILETIME ftLastRefresh;
  110. CMachineId machine;
  111. } TRKSVR_SYNC_VOLUME;
  112. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0010
  113. {
  114. /* [range] */ ULONG cVolumes;
  115. /* [size_is] */ TRKSVR_SYNC_VOLUME *pVolumes;
  116. } TRKSVR_CALL_SYNC_VOLUMES;
  117. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0011
  118. {
  119. ULONG cSyncVolumeRequests;
  120. ULONG cSyncVolumeErrors;
  121. ULONG cSyncVolumeThreads;
  122. ULONG cCreateVolumeRequests;
  123. ULONG cCreateVolumeErrors;
  124. ULONG cClaimVolumeRequests;
  125. ULONG cClaimVolumeErrors;
  126. ULONG cQueryVolumeRequests;
  127. ULONG cQueryVolumeErrors;
  128. ULONG cFindVolumeRequests;
  129. ULONG cFindVolumeErrors;
  130. ULONG cTestVolumeRequests;
  131. ULONG cTestVolumeErrors;
  132. ULONG cSearchRequests;
  133. ULONG cSearchErrors;
  134. ULONG cSearchThreads;
  135. ULONG cMoveNotifyRequests;
  136. ULONG cMoveNotifyErrors;
  137. ULONG cMoveNotifyThreads;
  138. ULONG cRefreshRequests;
  139. ULONG cRefreshErrors;
  140. ULONG cRefreshThreads;
  141. ULONG cDeleteNotifyRequests;
  142. ULONG cDeleteNotifyErrors;
  143. ULONG cDeleteNotifyThreads;
  144. ULONG ulGCIterationPeriod;
  145. FILETIME ftLastSuccessfulRequest;
  146. HRESULT hrLastError;
  147. ULONG dwMoveLimit;
  148. LONG lRefreshCounter;
  149. ULONG dwCachedVolumeTableCount;
  150. ULONG dwCachedMoveTableCount;
  151. FILETIME ftCacheLastUpdated;
  152. BOOL fIsDesignatedDc;
  153. FILETIME ftNextGC;
  154. FILETIME ftServiceStart;
  155. ULONG cMaxRpcThreads;
  156. ULONG cAvailableRpcThreads;
  157. ULONG cLowestAvailableRpcThreads;
  158. ULONG cNumThreadPoolThreads;
  159. ULONG cMostThreadPoolThreads;
  160. SHORT cEntriesToGC;
  161. SHORT cEntriesGCed;
  162. SHORT cMaxDsWriteEvents;
  163. SHORT cCurrentFailedWrites;
  164. struct
  165. {
  166. DWORD dwMajor;
  167. DWORD dwMinor;
  168. DWORD dwBuildNumber;
  169. } Version;
  170. } TRKSVR_STATISTICS;
  171. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0013
  172. {
  173. DWORD dwParameter;
  174. DWORD dwNewValue;
  175. } TRKWKS_CONFIG;
  176. typedef /* [public][public][public][public][public][v1_enum] */
  177. enum __MIDL___MIDL_itf_trksvr_0000_0014
  178. { old_SEARCH = 0,
  179. MOVE_NOTIFICATION = old_SEARCH + 1,
  180. REFRESH = MOVE_NOTIFICATION + 1,
  181. SYNC_VOLUMES = REFRESH + 1,
  182. DELETE_NOTIFY = SYNC_VOLUMES + 1,
  183. STATISTICS = DELETE_NOTIFY + 1,
  184. SEARCH = STATISTICS + 1,
  185. WKS_CONFIG = SEARCH + 1,
  186. WKS_VOLUME_REFRESH = WKS_CONFIG + 1
  187. } TRKSVR_MESSAGE_TYPE;
  188. typedef /* [public] */ struct __MIDL___MIDL_itf_trksvr_0000_0015
  189. {
  190. TRKSVR_MESSAGE_TYPE MessageType;
  191. /* [switch_is] */ /* [switch_type] */ union
  192. {
  193. /* [case()] */ old_TRKSVR_CALL_SEARCH old_Search;
  194. /* [case()] */ TRKSVR_CALL_MOVE_NOTIFICATION MoveNotification;
  195. /* [case()] */ TRKSVR_CALL_REFRESH Refresh;
  196. /* [case()] */ TRKSVR_CALL_SYNC_VOLUMES SyncVolumes;
  197. /* [case()] */ TRKSVR_CALL_DELETE Delete;
  198. /* [case()] */ TRKSVR_CALL_SEARCH Search;
  199. } ;
  200. /* [string] */ TCHAR *ptszMachineID;
  201. } TRKSVR_MESSAGE_UNION_OLD;
  202. typedef /* [public][public][public][public][v1_enum] */
  203. enum __MIDL___MIDL_itf_trksvr_0000_0017
  204. { PRI_0 = 0,
  205. PRI_1 = 1,
  206. PRI_2 = 2,
  207. PRI_3 = 3,
  208. PRI_4 = 4,
  209. PRI_5 = 5,
  210. PRI_6 = 6,
  211. PRI_7 = 7,
  212. PRI_8 = 8,
  213. PRI_9 = 9
  214. } TRKSVR_MESSAGE_PRIORITY;
  215. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_trksvr_0000_0018
  216. {
  217. TRKSVR_MESSAGE_TYPE MessageType;
  218. TRKSVR_MESSAGE_PRIORITY Priority;
  219. /* [switch_is] */ /* [switch_type] */ union
  220. {
  221. /* [case()] */ old_TRKSVR_CALL_SEARCH old_Search;
  222. /* [case()] */ TRKSVR_CALL_MOVE_NOTIFICATION MoveNotification;
  223. /* [case()] */ TRKSVR_CALL_REFRESH Refresh;
  224. /* [case()] */ TRKSVR_CALL_SYNC_VOLUMES SyncVolumes;
  225. /* [case()] */ TRKSVR_CALL_DELETE Delete;
  226. /* [case()] */ TRKSVR_STATISTICS Statistics;
  227. /* [case()] */ TRKSVR_CALL_SEARCH Search;
  228. /* [case()] */ TRKWKS_CONFIG WksConfig;
  229. /* [case()] */ DWORD WksRefresh;
  230. } ;
  231. /* [string] */ TCHAR *ptszMachineID;
  232. } TRKSVR_MESSAGE_UNION;
  233. extern RPC_IF_HANDLE __MIDL_itf_trksvr_0000_v0_0_c_ifspec;
  234. extern RPC_IF_HANDLE Stub__MIDL_itf_trksvr_0000_v0_0_s_ifspec;
  235. #ifndef __trksvr_INTERFACE_DEFINED__
  236. #define __trksvr_INTERFACE_DEFINED__
  237. /* interface trksvr */
  238. /* [implicit_handle][unique][version][uuid] */
  239. /* client prototype */
  240. HRESULT LnkSvrMessage(
  241. /* [in] */ handle_t IDL_handle,
  242. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  243. /* server prototype */
  244. HRESULT StubLnkSvrMessage(
  245. /* [in] */ handle_t IDL_handle,
  246. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  247. /* client prototype */
  248. /* [callback] */ HRESULT LnkSvrMessageCallback(
  249. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  250. /* server prototype */
  251. /* [callback] */ HRESULT StubLnkSvrMessageCallback(
  252. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  253. extern handle_t notused;
  254. extern RPC_IF_HANDLE trksvr_v1_0_c_ifspec;
  255. extern RPC_IF_HANDLE Stubtrksvr_v1_0_s_ifspec;
  256. #endif /* __trksvr_INTERFACE_DEFINED__ */
  257. /* Additional Prototypes for ALL interfaces */
  258. /* end of Additional Prototypes */
  259. #ifdef __cplusplus
  260. }
  261. #endif
  262. #endif