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.

289 lines
9.7 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for filemgmt.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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 COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __filemgmt_h__
  27. #define __filemgmt_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISvcMgmtStartStopHelper_FWD_DEFINED__
  33. #define __ISvcMgmtStartStopHelper_FWD_DEFINED__
  34. typedef interface ISvcMgmtStartStopHelper ISvcMgmtStartStopHelper;
  35. #endif /* __ISvcMgmtStartStopHelper_FWD_DEFINED__ */
  36. #ifndef __SvcMgmt_FWD_DEFINED__
  37. #define __SvcMgmt_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class SvcMgmt SvcMgmt;
  40. #else
  41. typedef struct SvcMgmt SvcMgmt;
  42. #endif /* __cplusplus */
  43. #endif /* __SvcMgmt_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #ifdef __cplusplus
  47. extern "C"{
  48. #endif
  49. void * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void * );
  51. #ifndef __ISvcMgmtStartStopHelper_INTERFACE_DEFINED__
  52. #define __ISvcMgmtStartStopHelper_INTERFACE_DEFINED__
  53. /* interface ISvcMgmtStartStopHelper */
  54. /* [unique][helpstring][uuid][object] */
  55. EXTERN_C const IID IID_ISvcMgmtStartStopHelper;
  56. #if defined(__cplusplus) && !defined(CINTERFACE)
  57. MIDL_INTERFACE("F62DEC25-E3CB-4D45-9E98-933DB95BCAEA")
  58. ISvcMgmtStartStopHelper : public IUnknown
  59. {
  60. public:
  61. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE StartServiceHelper(
  62. HWND hwndParent,
  63. BSTR pszMachineName,
  64. BSTR pszServiceName,
  65. DWORD dwNumServiceArgs,
  66. BSTR *lpServiceArgVectors) = 0;
  67. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ControlServiceHelper(
  68. HWND hwndParent,
  69. BSTR pszMachineName,
  70. BSTR pszServiceName,
  71. DWORD dwControlCode) = 0;
  72. };
  73. #else /* C style interface */
  74. typedef struct ISvcMgmtStartStopHelperVtbl
  75. {
  76. BEGIN_INTERFACE
  77. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  78. ISvcMgmtStartStopHelper * This,
  79. /* [in] */ REFIID riid,
  80. /* [iid_is][out] */ void **ppvObject);
  81. ULONG ( STDMETHODCALLTYPE *AddRef )(
  82. ISvcMgmtStartStopHelper * This);
  83. ULONG ( STDMETHODCALLTYPE *Release )(
  84. ISvcMgmtStartStopHelper * This);
  85. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *StartServiceHelper )(
  86. ISvcMgmtStartStopHelper * This,
  87. HWND hwndParent,
  88. BSTR pszMachineName,
  89. BSTR pszServiceName,
  90. DWORD dwNumServiceArgs,
  91. BSTR *lpServiceArgVectors);
  92. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlServiceHelper )(
  93. ISvcMgmtStartStopHelper * This,
  94. HWND hwndParent,
  95. BSTR pszMachineName,
  96. BSTR pszServiceName,
  97. DWORD dwControlCode);
  98. END_INTERFACE
  99. } ISvcMgmtStartStopHelperVtbl;
  100. interface ISvcMgmtStartStopHelper
  101. {
  102. CONST_VTBL struct ISvcMgmtStartStopHelperVtbl *lpVtbl;
  103. };
  104. #ifdef COBJMACROS
  105. #define ISvcMgmtStartStopHelper_QueryInterface(This,riid,ppvObject) \
  106. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  107. #define ISvcMgmtStartStopHelper_AddRef(This) \
  108. (This)->lpVtbl -> AddRef(This)
  109. #define ISvcMgmtStartStopHelper_Release(This) \
  110. (This)->lpVtbl -> Release(This)
  111. #define ISvcMgmtStartStopHelper_StartServiceHelper(This,hwndParent,pszMachineName,pszServiceName,dwNumServiceArgs,lpServiceArgVectors) \
  112. (This)->lpVtbl -> StartServiceHelper(This,hwndParent,pszMachineName,pszServiceName,dwNumServiceArgs,lpServiceArgVectors)
  113. #define ISvcMgmtStartStopHelper_ControlServiceHelper(This,hwndParent,pszMachineName,pszServiceName,dwControlCode) \
  114. (This)->lpVtbl -> ControlServiceHelper(This,hwndParent,pszMachineName,pszServiceName,dwControlCode)
  115. #endif /* COBJMACROS */
  116. #endif /* C style interface */
  117. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISvcMgmtStartStopHelper_StartServiceHelper_Proxy(
  118. ISvcMgmtStartStopHelper * This,
  119. HWND hwndParent,
  120. BSTR pszMachineName,
  121. BSTR pszServiceName,
  122. DWORD dwNumServiceArgs,
  123. BSTR *lpServiceArgVectors);
  124. void __RPC_STUB ISvcMgmtStartStopHelper_StartServiceHelper_Stub(
  125. IRpcStubBuffer *This,
  126. IRpcChannelBuffer *_pRpcChannelBuffer,
  127. PRPC_MESSAGE _pRpcMessage,
  128. DWORD *_pdwStubPhase);
  129. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISvcMgmtStartStopHelper_ControlServiceHelper_Proxy(
  130. ISvcMgmtStartStopHelper * This,
  131. HWND hwndParent,
  132. BSTR pszMachineName,
  133. BSTR pszServiceName,
  134. DWORD dwControlCode);
  135. void __RPC_STUB ISvcMgmtStartStopHelper_ControlServiceHelper_Stub(
  136. IRpcStubBuffer *This,
  137. IRpcChannelBuffer *_pRpcChannelBuffer,
  138. PRPC_MESSAGE _pRpcMessage,
  139. DWORD *_pdwStubPhase);
  140. #endif /* __ISvcMgmtStartStopHelper_INTERFACE_DEFINED__ */
  141. #ifndef __SvcMgmt_LIBRARY_DEFINED__
  142. #define __SvcMgmt_LIBRARY_DEFINED__
  143. /* library SvcMgmt */
  144. /* [helpstring][version][uuid] */
  145. EXTERN_C const IID LIBID_SvcMgmt;
  146. EXTERN_C const CLSID CLSID_SvcMgmt;
  147. #ifdef __cplusplus
  148. class DECLSPEC_UUID("863FA3AC-9D97-4560-9587-7FA58727608B")
  149. SvcMgmt;
  150. #endif
  151. #endif /* __SvcMgmt_LIBRARY_DEFINED__ */
  152. /* interface __MIDL_itf_filemgmt_0111 */
  153. /* [local] */
  154. #define struuidNodetypeRoot "{4e410f0e-abc1-11d0-b944-00c04fd8d5b0}"
  155. #define struuidNodetypeShares "{4e410f0f-abc1-11d0-b944-00c04fd8d5b0}"
  156. #define struuidNodetypeSessions "{4e410f10-abc1-11d0-b944-00c04fd8d5b0}"
  157. #define struuidNodetypeResources "{4e410f11-abc1-11d0-b944-00c04fd8d5b0}"
  158. #define struuidNodetypeServices "{4e410f12-abc1-11d0-b944-00c04fd8d5b0}"
  159. #define struuidNodetypeShare "{4e410f13-abc1-11d0-b944-00c04fd8d5b0}"
  160. #define struuidNodetypeSession "{4e410f14-abc1-11d0-b944-00c04fd8d5b0}"
  161. #define struuidNodetypeResource "{4e410f15-abc1-11d0-b944-00c04fd8d5b0}"
  162. #define struuidNodetypeService "{4e410f16-abc1-11d0-b944-00c04fd8d5b0}"
  163. #define lstruuidNodetypeRoot L"{4e410f0e-abc1-11d0-b944-00c04fd8d5b0}"
  164. #define lstruuidNodetypeShares L"{4e410f0f-abc1-11d0-b944-00c04fd8d5b0}"
  165. #define lstruuidNodetypeSessions L"{4e410f10-abc1-11d0-b944-00c04fd8d5b0}"
  166. #define lstruuidNodetypeResources L"{4e410f11-abc1-11d0-b944-00c04fd8d5b0}"
  167. #define lstruuidNodetypeServices L"{4e410f12-abc1-11d0-b944-00c04fd8d5b0}"
  168. #define lstruuidNodetypeShare L"{4e410f13-abc1-11d0-b944-00c04fd8d5b0}"
  169. #define lstruuidNodetypeSession L"{4e410f14-abc1-11d0-b944-00c04fd8d5b0}"
  170. #define lstruuidNodetypeResource L"{4e410f15-abc1-11d0-b944-00c04fd8d5b0}"
  171. #define lstruuidNodetypeService L"{4e410f16-abc1-11d0-b944-00c04fd8d5b0}"
  172. #define structuuidNodetypeRoot \
  173. { 0x4e410f0e, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  174. #define structuuidNodetypeShares \
  175. { 0x4e410f0f, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  176. #define structuuidNodetypeSessions \
  177. { 0x4e410f10, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  178. #define structuuidNodetypeResources \
  179. { 0x4e410f11, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  180. #define structuuidNodetypeServices \
  181. { 0x4e410f12, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  182. #define structuuidNodetypeShare \
  183. { 0x4e410f13, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  184. #define structuuidNodetypeSession \
  185. { 0x4e410f14, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  186. #define structuuidNodetypeResource \
  187. { 0x4e410f15, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  188. #define structuuidNodetypeService \
  189. { 0x4e410f16, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }
  190. extern RPC_IF_HANDLE __MIDL_itf_filemgmt_0111_v0_0_c_ifspec;
  191. extern RPC_IF_HANDLE __MIDL_itf_filemgmt_0111_v0_0_s_ifspec;
  192. /* Additional Prototypes for ALL interfaces */
  193. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  194. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  195. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  196. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  197. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  198. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  199. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  200. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  201. /* end of Additional Prototypes */
  202. #ifdef __cplusplus
  203. }
  204. #endif
  205. #endif