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.

262 lines
6.8 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.0352 */
  4. /* Compiler settings for xaddroot.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 __xaddroot_h__
  27. #define __xaddroot_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __Icaddroot_FWD_DEFINED__
  33. #define __Icaddroot_FWD_DEFINED__
  34. typedef interface Icaddroot Icaddroot;
  35. #endif /* __Icaddroot_FWD_DEFINED__ */
  36. #ifndef __caddroot_FWD_DEFINED__
  37. #define __caddroot_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class caddroot caddroot;
  40. #else
  41. typedef struct caddroot caddroot;
  42. #endif /* __cplusplus */
  43. #endif /* __caddroot_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. #ifndef __Icaddroot_INTERFACE_DEFINED__
  53. #define __Icaddroot_INTERFACE_DEFINED__
  54. /* interface Icaddroot */
  55. /* [unique][helpstring][dual][uuid][object] */
  56. EXTERN_C const IID IID_Icaddroot;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("8D80F65F-7404-44A2-99DA-E595796110E6")
  59. Icaddroot : public IDispatch
  60. {
  61. public:
  62. virtual HRESULT STDMETHODCALLTYPE AddRoots(
  63. BSTR wszCTL) = 0;
  64. virtual HRESULT STDMETHODCALLTYPE AddCA(
  65. BSTR wszX509) = 0;
  66. };
  67. #else /* C style interface */
  68. typedef struct IcaddrootVtbl
  69. {
  70. BEGIN_INTERFACE
  71. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  72. Icaddroot * This,
  73. /* [in] */ REFIID riid,
  74. /* [iid_is][out] */ void **ppvObject);
  75. ULONG ( STDMETHODCALLTYPE *AddRef )(
  76. Icaddroot * This);
  77. ULONG ( STDMETHODCALLTYPE *Release )(
  78. Icaddroot * This);
  79. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  80. Icaddroot * This,
  81. /* [out] */ UINT *pctinfo);
  82. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  83. Icaddroot * This,
  84. /* [in] */ UINT iTInfo,
  85. /* [in] */ LCID lcid,
  86. /* [out] */ ITypeInfo **ppTInfo);
  87. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  88. Icaddroot * This,
  89. /* [in] */ REFIID riid,
  90. /* [size_is][in] */ LPOLESTR *rgszNames,
  91. /* [in] */ UINT cNames,
  92. /* [in] */ LCID lcid,
  93. /* [size_is][out] */ DISPID *rgDispId);
  94. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  95. Icaddroot * This,
  96. /* [in] */ DISPID dispIdMember,
  97. /* [in] */ REFIID riid,
  98. /* [in] */ LCID lcid,
  99. /* [in] */ WORD wFlags,
  100. /* [out][in] */ DISPPARAMS *pDispParams,
  101. /* [out] */ VARIANT *pVarResult,
  102. /* [out] */ EXCEPINFO *pExcepInfo,
  103. /* [out] */ UINT *puArgErr);
  104. HRESULT ( STDMETHODCALLTYPE *AddRoots )(
  105. Icaddroot * This,
  106. BSTR wszCTL);
  107. HRESULT ( STDMETHODCALLTYPE *AddCA )(
  108. Icaddroot * This,
  109. BSTR wszX509);
  110. END_INTERFACE
  111. } IcaddrootVtbl;
  112. interface Icaddroot
  113. {
  114. CONST_VTBL struct IcaddrootVtbl *lpVtbl;
  115. };
  116. #ifdef COBJMACROS
  117. #define Icaddroot_QueryInterface(This,riid,ppvObject) \
  118. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  119. #define Icaddroot_AddRef(This) \
  120. (This)->lpVtbl -> AddRef(This)
  121. #define Icaddroot_Release(This) \
  122. (This)->lpVtbl -> Release(This)
  123. #define Icaddroot_GetTypeInfoCount(This,pctinfo) \
  124. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  125. #define Icaddroot_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  126. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  127. #define Icaddroot_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  128. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  129. #define Icaddroot_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  130. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  131. #define Icaddroot_AddRoots(This,wszCTL) \
  132. (This)->lpVtbl -> AddRoots(This,wszCTL)
  133. #define Icaddroot_AddCA(This,wszX509) \
  134. (This)->lpVtbl -> AddCA(This,wszX509)
  135. #endif /* COBJMACROS */
  136. #endif /* C style interface */
  137. HRESULT STDMETHODCALLTYPE Icaddroot_AddRoots_Proxy(
  138. Icaddroot * This,
  139. BSTR wszCTL);
  140. void __RPC_STUB Icaddroot_AddRoots_Stub(
  141. IRpcStubBuffer *This,
  142. IRpcChannelBuffer *_pRpcChannelBuffer,
  143. PRPC_MESSAGE _pRpcMessage,
  144. DWORD *_pdwStubPhase);
  145. HRESULT STDMETHODCALLTYPE Icaddroot_AddCA_Proxy(
  146. Icaddroot * This,
  147. BSTR wszX509);
  148. void __RPC_STUB Icaddroot_AddCA_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. #endif /* __Icaddroot_INTERFACE_DEFINED__ */
  154. #ifndef __XADDROOTLib_LIBRARY_DEFINED__
  155. #define __XADDROOTLib_LIBRARY_DEFINED__
  156. /* library XADDROOTLib */
  157. /* [helpstring][version][uuid] */
  158. EXTERN_C const IID LIBID_XADDROOTLib;
  159. EXTERN_C const CLSID CLSID_caddroot;
  160. #ifdef __cplusplus
  161. class DECLSPEC_UUID("C1422F20-C082-469D-B0B1-AD60CDBDC466")
  162. caddroot;
  163. #endif
  164. #endif /* __XADDROOTLib_LIBRARY_DEFINED__ */
  165. /* Additional Prototypes for ALL interfaces */
  166. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  167. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  168. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  169. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  170. /* end of Additional Prototypes */
  171. #ifdef __cplusplus
  172. }
  173. #endif
  174. #endif