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.

362 lines
11 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 trkwks.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 __trkwks_h__
  23. #define __trkwks_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. #include "trksvr.h"
  31. #ifdef __cplusplus
  32. extern "C"{
  33. #endif
  34. void * __RPC_USER MIDL_user_allocate(size_t);
  35. void __RPC_USER MIDL_user_free( void * );
  36. /* interface __MIDL_itf_trkwks_0000 */
  37. /* [local] */
  38. /* [v1_enum] */
  39. enum RGO_ENUM
  40. { RGO_GET_OBJECTID = 1,
  41. RGO_READ_OBJECTID = RGO_GET_OBJECTID + 1
  42. } ;
  43. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_trkwks_0000_0001
  44. {
  45. long volindex;
  46. CVolumeId volume;
  47. } TRK_VOLUME_TRACKING_INFORMATION;
  48. /* [v1_enum] */
  49. enum ObjectOwnership
  50. { OBJOWN_UNKNOWN = 1,
  51. OBJOWN_DOESNT_EXIST = 2,
  52. OBJOWN_OWNED = 3,
  53. OBJOWN_NOT_OWNED = 4,
  54. OBJOWN_NO_ID = 5
  55. } ;
  56. typedef /* [v1_enum] */
  57. enum TrkInfoScope
  58. { TRKINFOSCOPE_ONE_FILE = 1,
  59. TRKINFOSCOPE_DIRECTORY = 2,
  60. TRKINFOSCOPE_VOLUME = 3,
  61. TRKINFOSCOPE_MACHINE = 4
  62. } TrkInfoScope;
  63. // 'Restrictions' flags
  64. typedef
  65. enum _TrkMendRestrictions
  66. { TRK_MEND_DEFAULT = 0,
  67. TRK_MEND_DONT_USE_LOG = 2,
  68. TRK_MEND_DONT_USE_DC = 4,
  69. TRK_MEND_SLEEP_DURING_MEND = 8,
  70. TRK_MEND_DONT_SEARCH_ALL_VOLUMES = 16,
  71. TRK_MEND_DONT_USE_VOLIDS = 32,
  72. TRK_MEND_DONT_SEARCH_LAST_MACHINE = 64
  73. } TrkMendRestrictions;
  74. typedef struct pipe_TCHAR_PIPE
  75. {
  76. void (__RPC_USER * pull) (
  77. char * state,
  78. TCHAR * buf,
  79. unsigned long esize,
  80. unsigned long * ecount );
  81. void (__RPC_USER * push) (
  82. char * state,
  83. TCHAR * buf,
  84. unsigned long ecount );
  85. void (__RPC_USER * alloc) (
  86. char * state,
  87. unsigned long bsize,
  88. TCHAR * * buf,
  89. unsigned long * bcount );
  90. char * state;
  91. } TCHAR_PIPE;
  92. typedef struct pipe_TRK_VOLUME_TRACKING_INFORMATION_PIPE
  93. {
  94. void (__RPC_USER * pull) (
  95. char * state,
  96. TRK_VOLUME_TRACKING_INFORMATION * buf,
  97. unsigned long esize,
  98. unsigned long * ecount );
  99. void (__RPC_USER * push) (
  100. char * state,
  101. TRK_VOLUME_TRACKING_INFORMATION * buf,
  102. unsigned long ecount );
  103. void (__RPC_USER * alloc) (
  104. char * state,
  105. unsigned long bsize,
  106. TRK_VOLUME_TRACKING_INFORMATION * * buf,
  107. unsigned long * bcount );
  108. char * state;
  109. } TRK_VOLUME_TRACKING_INFORMATION_PIPE;
  110. typedef struct pipe_TRK_FILE_TRACKING_INFORMATION_PIPE
  111. {
  112. void (__RPC_USER * pull) (
  113. char * state,
  114. TRK_FILE_TRACKING_INFORMATION * buf,
  115. unsigned long esize,
  116. unsigned long * ecount );
  117. void (__RPC_USER * push) (
  118. char * state,
  119. TRK_FILE_TRACKING_INFORMATION * buf,
  120. unsigned long ecount );
  121. void (__RPC_USER * alloc) (
  122. char * state,
  123. unsigned long bsize,
  124. TRK_FILE_TRACKING_INFORMATION * * buf,
  125. unsigned long * bcount );
  126. char * state;
  127. } TRK_FILE_TRACKING_INFORMATION_PIPE;
  128. extern RPC_IF_HANDLE __MIDL_itf_trkwks_0000_v0_0_c_ifspec;
  129. extern RPC_IF_HANDLE Stub__MIDL_itf_trkwks_0000_v0_0_s_ifspec;
  130. #ifndef __trkwks_INTERFACE_DEFINED__
  131. #define __trkwks_INTERFACE_DEFINED__
  132. /* interface trkwks */
  133. /* [explicit_handle][unique][version][uuid] */
  134. /* client prototype */
  135. HRESULT old_LnkMendLink(
  136. /* [in] */ handle_t IDL_handle,
  137. /* [in] */ FILETIME ftLimit,
  138. /* [in] */ ULONG Restrictions,
  139. /* [in] */ const CDomainRelativeObjId *pdroidBirth,
  140. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  141. /* [out] */ CDomainRelativeObjId *pdroidCurrent,
  142. /* [string][out] */ WCHAR wsz[ 261 ]);
  143. /* server prototype */
  144. HRESULT Stubold_LnkMendLink(
  145. /* [in] */ handle_t IDL_handle,
  146. /* [in] */ FILETIME ftLimit,
  147. /* [in] */ ULONG Restrictions,
  148. /* [in] */ const CDomainRelativeObjId *pdroidBirth,
  149. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  150. /* [out] */ CDomainRelativeObjId *pdroidCurrent,
  151. /* [string][out] */ WCHAR wsz[ 261 ]);
  152. /* client prototype */
  153. HRESULT old_LnkSearchMachine(
  154. /* [in] */ handle_t IDL_handle,
  155. /* [in] */ ULONG Restrictions,
  156. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  157. /* [out] */ CDomainRelativeObjId *pdroidReferral,
  158. /* [string][out] */ TCHAR tsz[ 261 ]);
  159. /* server prototype */
  160. HRESULT Stubold_LnkSearchMachine(
  161. /* [in] */ handle_t IDL_handle,
  162. /* [in] */ ULONG Restrictions,
  163. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  164. /* [out] */ CDomainRelativeObjId *pdroidReferral,
  165. /* [string][out] */ TCHAR tsz[ 261 ]);
  166. /* client prototype */
  167. HRESULT old_LnkCallSvrMessage(
  168. /* [in] */ handle_t IDL_handle,
  169. /* [out][in] */ TRKSVR_MESSAGE_UNION_OLD *pMsg);
  170. /* server prototype */
  171. HRESULT Stubold_LnkCallSvrMessage(
  172. /* [in] */ handle_t IDL_handle,
  173. /* [out][in] */ TRKSVR_MESSAGE_UNION_OLD *pMsg);
  174. /* client prototype */
  175. HRESULT LnkSetVolumeId(
  176. /* [in] */ handle_t IDL_handle,
  177. ULONG volumeIndex,
  178. const CVolumeId VolId);
  179. /* server prototype */
  180. HRESULT StubLnkSetVolumeId(
  181. /* [in] */ handle_t IDL_handle,
  182. ULONG volumeIndex,
  183. const CVolumeId VolId);
  184. /* client prototype */
  185. HRESULT LnkRestartDcSynchronization(
  186. /* [in] */ handle_t IDL_handle);
  187. /* server prototype */
  188. HRESULT StubLnkRestartDcSynchronization(
  189. /* [in] */ handle_t IDL_handle);
  190. /* client prototype */
  191. HRESULT GetVolumeTrackingInformation(
  192. /* [in] */ handle_t IDL_handle,
  193. /* [in] */ CVolumeId volid,
  194. /* [in] */ TrkInfoScope scope,
  195. /* [out] */ TRK_VOLUME_TRACKING_INFORMATION_PIPE pipeVolInfo);
  196. /* server prototype */
  197. HRESULT StubGetVolumeTrackingInformation(
  198. /* [in] */ handle_t IDL_handle,
  199. /* [in] */ CVolumeId volid,
  200. /* [in] */ TrkInfoScope scope,
  201. /* [out] */ TRK_VOLUME_TRACKING_INFORMATION_PIPE pipeVolInfo);
  202. /* client prototype */
  203. HRESULT GetFileTrackingInformation(
  204. /* [in] */ handle_t IDL_handle,
  205. /* [in] */ CDomainRelativeObjId droidCurrent,
  206. /* [in] */ TrkInfoScope scope,
  207. /* [out] */ TRK_FILE_TRACKING_INFORMATION_PIPE pipeFileInfo);
  208. /* server prototype */
  209. HRESULT StubGetFileTrackingInformation(
  210. /* [in] */ handle_t IDL_handle,
  211. /* [in] */ CDomainRelativeObjId droidCurrent,
  212. /* [in] */ TrkInfoScope scope,
  213. /* [out] */ TRK_FILE_TRACKING_INFORMATION_PIPE pipeFileInfo);
  214. /* client prototype */
  215. HRESULT TriggerVolumeClaims(
  216. /* [in] */ handle_t IDL_handle,
  217. /* [range][in] */ ULONG cVolumes,
  218. /* [size_is][in] */ const CVolumeId *rgvolid);
  219. /* server prototype */
  220. HRESULT StubTriggerVolumeClaims(
  221. /* [in] */ handle_t IDL_handle,
  222. /* [range][in] */ ULONG cVolumes,
  223. /* [size_is][in] */ const CVolumeId *rgvolid);
  224. /* client prototype */
  225. HRESULT LnkOnRestore(
  226. /* [in] */ handle_t IDL_handle);
  227. /* server prototype */
  228. HRESULT StubLnkOnRestore(
  229. /* [in] */ handle_t IDL_handle);
  230. typedef /* [range] */ ULONG CBPATH;
  231. /* client prototype */
  232. /* [async] */ void LnkMendLink(
  233. /* [in] */ PRPC_ASYNC_STATE LnkMendLink_AsyncHandle,
  234. /* [in] */ handle_t IDL_handle,
  235. /* [in] */ FILETIME ftLimit,
  236. /* [in] */ DWORD Restrictions,
  237. /* [in] */ const CDomainRelativeObjId *pdroidBirth,
  238. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  239. /* [in] */ const CMachineId *pmcidLast,
  240. /* [out] */ CDomainRelativeObjId *pdroidCurrent,
  241. /* [out] */ CMachineId *pmcidCurrent,
  242. /* [out][in] */ CBPATH *pcbPath,
  243. /* [string][size_is][out] */ WCHAR *pwszPath);
  244. /* server prototype */
  245. /* [async] */ void StubLnkMendLink(
  246. /* [in] */ PRPC_ASYNC_STATE LnkMendLink_AsyncHandle,
  247. /* [in] */ handle_t IDL_handle,
  248. /* [in] */ FILETIME ftLimit,
  249. /* [in] */ DWORD Restrictions,
  250. /* [in] */ const CDomainRelativeObjId *pdroidBirth,
  251. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  252. /* [in] */ const CMachineId *pmcidLast,
  253. /* [out] */ CDomainRelativeObjId *pdroidCurrent,
  254. /* [out] */ CMachineId *pmcidCurrent,
  255. /* [out][in] */ CBPATH *pcbPath,
  256. /* [string][size_is][out] */ WCHAR *pwszPath);
  257. /* client prototype */
  258. HRESULT old2_LnkSearchMachine(
  259. /* [in] */ handle_t IDL_handle,
  260. /* [in] */ DWORD Restrictions,
  261. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  262. /* [out] */ CDomainRelativeObjId *pdroidNext,
  263. /* [out] */ CMachineId *pmcidNext,
  264. /* [string][max_is][out] */ TCHAR *ptszPath);
  265. /* server prototype */
  266. HRESULT Stubold2_LnkSearchMachine(
  267. /* [in] */ handle_t IDL_handle,
  268. /* [in] */ DWORD Restrictions,
  269. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  270. /* [out] */ CDomainRelativeObjId *pdroidNext,
  271. /* [out] */ CMachineId *pmcidNext,
  272. /* [string][max_is][out] */ TCHAR *ptszPath);
  273. /* client prototype */
  274. HRESULT LnkCallSvrMessage(
  275. /* [in] */ handle_t IDL_handle,
  276. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  277. /* server prototype */
  278. HRESULT StubLnkCallSvrMessage(
  279. /* [in] */ handle_t IDL_handle,
  280. /* [out][in] */ TRKSVR_MESSAGE_UNION *pMsg);
  281. /* client prototype */
  282. HRESULT LnkSearchMachine(
  283. /* [in] */ handle_t IDL_handle,
  284. /* [in] */ DWORD Restrictions,
  285. /* [in] */ const CDomainRelativeObjId *pdroidBirthLast,
  286. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  287. /* [out] */ CDomainRelativeObjId *pdroidBirthNext,
  288. /* [out] */ CDomainRelativeObjId *pdroidNext,
  289. /* [out] */ CMachineId *pmcidNext,
  290. /* [string][max_is][out] */ TCHAR *ptszPath);
  291. /* server prototype */
  292. HRESULT StubLnkSearchMachine(
  293. /* [in] */ handle_t IDL_handle,
  294. /* [in] */ DWORD Restrictions,
  295. /* [in] */ const CDomainRelativeObjId *pdroidBirthLast,
  296. /* [in] */ const CDomainRelativeObjId *pdroidLast,
  297. /* [out] */ CDomainRelativeObjId *pdroidBirthNext,
  298. /* [out] */ CDomainRelativeObjId *pdroidNext,
  299. /* [out] */ CMachineId *pmcidNext,
  300. /* [string][max_is][out] */ TCHAR *ptszPath);
  301. extern RPC_IF_HANDLE trkwks_v1_2_c_ifspec;
  302. extern RPC_IF_HANDLE Stubtrkwks_v1_2_s_ifspec;
  303. #endif /* __trkwks_INTERFACE_DEFINED__ */
  304. /* Additional Prototypes for ALL interfaces */
  305. /* end of Additional Prototypes */
  306. #ifdef __cplusplus
  307. }
  308. #endif
  309. #endif