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.

242 lines
6.4 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  3. #pragma warning( disable: 4211 ) /* redefine extent to static */
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5. /* File created by MIDL compiler version 6.00.0358 */
  6. /* Compiler settings for smcyscom.idl:
  7. Oicf, W1, Zp8, env=Win32 (32b run)
  8. protocol : dce , ms_ext, c_ext, robust
  9. error checks: allocation ref bounds_check enum stub_data
  10. VC __declspec() decoration level:
  11. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  12. DECLSPEC_UUID(), MIDL_INTERFACE()
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __smcyscom_h__
  29. #define __smcyscom_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __ISMCys_FWD_DEFINED__
  35. #define __ISMCys_FWD_DEFINED__
  36. typedef interface ISMCys ISMCys;
  37. #endif /* __ISMCys_FWD_DEFINED__ */
  38. #ifndef __SMCys_FWD_DEFINED__
  39. #define __SMCys_FWD_DEFINED__
  40. #ifdef __cplusplus
  41. typedef class SMCys SMCys;
  42. #else
  43. typedef struct SMCys SMCys;
  44. #endif /* __cplusplus */
  45. #endif /* __SMCys_FWD_DEFINED__ */
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. void * __RPC_USER MIDL_user_allocate(size_t);
  53. void __RPC_USER MIDL_user_free( void * );
  54. #ifndef __ISMCys_INTERFACE_DEFINED__
  55. #define __ISMCys_INTERFACE_DEFINED__
  56. /* interface ISMCys */
  57. /* [unique][helpstring][dual][uuid][object] */
  58. EXTERN_C const IID IID_ISMCys;
  59. #if defined(__cplusplus) && !defined(CINTERFACE)
  60. MIDL_INTERFACE("61EC2B7B-CBD9-4ff7-B479-9F98F4054299")
  61. ISMCys : public IDispatch
  62. {
  63. public:
  64. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Install(
  65. BSTR bstrDiskName) = 0;
  66. };
  67. #else /* C style interface */
  68. typedef struct ISMCysVtbl
  69. {
  70. BEGIN_INTERFACE
  71. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  72. ISMCys * This,
  73. /* [in] */ REFIID riid,
  74. /* [iid_is][out] */ void **ppvObject);
  75. ULONG ( STDMETHODCALLTYPE *AddRef )(
  76. ISMCys * This);
  77. ULONG ( STDMETHODCALLTYPE *Release )(
  78. ISMCys * This);
  79. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  80. ISMCys * This,
  81. /* [out] */ UINT *pctinfo);
  82. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  83. ISMCys * This,
  84. /* [in] */ UINT iTInfo,
  85. /* [in] */ LCID lcid,
  86. /* [out] */ ITypeInfo **ppTInfo);
  87. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  88. ISMCys * 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. ISMCys * 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. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Install )(
  105. ISMCys * This,
  106. BSTR bstrDiskName);
  107. END_INTERFACE
  108. } ISMCysVtbl;
  109. interface ISMCys
  110. {
  111. CONST_VTBL struct ISMCysVtbl *lpVtbl;
  112. };
  113. #ifdef COBJMACROS
  114. #define ISMCys_QueryInterface(This,riid,ppvObject) \
  115. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  116. #define ISMCys_AddRef(This) \
  117. (This)->lpVtbl -> AddRef(This)
  118. #define ISMCys_Release(This) \
  119. (This)->lpVtbl -> Release(This)
  120. #define ISMCys_GetTypeInfoCount(This,pctinfo) \
  121. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  122. #define ISMCys_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  123. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  124. #define ISMCys_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  125. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  126. #define ISMCys_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  127. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  128. #define ISMCys_Install(This,bstrDiskName) \
  129. (This)->lpVtbl -> Install(This,bstrDiskName)
  130. #endif /* COBJMACROS */
  131. #endif /* C style interface */
  132. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISMCys_Install_Proxy(
  133. ISMCys * This,
  134. BSTR bstrDiskName);
  135. void __RPC_STUB ISMCys_Install_Stub(
  136. IRpcStubBuffer *This,
  137. IRpcChannelBuffer *_pRpcChannelBuffer,
  138. PRPC_MESSAGE _pRpcMessage,
  139. DWORD *_pdwStubPhase);
  140. #endif /* __ISMCys_INTERFACE_DEFINED__ */
  141. #ifndef __SMCysComLib_LIBRARY_DEFINED__
  142. #define __SMCysComLib_LIBRARY_DEFINED__
  143. /* library SMCysComLib */
  144. /* [helpstring][version][uuid] */
  145. EXTERN_C const IID LIBID_SMCysComLib;
  146. EXTERN_C const CLSID CLSID_SMCys;
  147. #ifdef __cplusplus
  148. class DECLSPEC_UUID("9436DA1F-7F32-43ac-A48C-F6F813882BE8")
  149. SMCys;
  150. #endif
  151. #endif /* __SMCysComLib_LIBRARY_DEFINED__ */
  152. /* Additional Prototypes for ALL interfaces */
  153. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  154. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  155. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  156. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  157. /* end of Additional Prototypes */
  158. #ifdef __cplusplus
  159. }
  160. #endif
  161. #endif