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.

195 lines
4.9 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 5.02.0221 */
  4. /* at Thu Feb 04 17:08:08 1999
  5. */
  6. /* Compiler settings for comtest.idl:
  7. Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __RPCNDR_H_VERSION__
  21. #error this stub requires an updated version of <rpcndr.h>
  22. #endif // __RPCNDR_H_VERSION__
  23. #ifndef COM_NO_WINDOWS_H
  24. #include "windows.h"
  25. #include "ole2.h"
  26. #endif /*COM_NO_WINDOWS_H*/
  27. #ifndef __comtest_h__
  28. #define __comtest_h__
  29. /* Forward Declarations */
  30. #ifndef __IHelloWorld_FWD_DEFINED__
  31. #define __IHelloWorld_FWD_DEFINED__
  32. typedef interface IHelloWorld IHelloWorld;
  33. #endif /* __IHelloWorld_FWD_DEFINED__ */
  34. #ifndef __HelloWorld_FWD_DEFINED__
  35. #define __HelloWorld_FWD_DEFINED__
  36. #ifdef __cplusplus
  37. typedef class HelloWorld HelloWorld;
  38. #else
  39. typedef struct HelloWorld HelloWorld;
  40. #endif /* __cplusplus */
  41. #endif /* __HelloWorld_FWD_DEFINED__ */
  42. /* header files for imported files */
  43. #include "oaidl.h"
  44. #include "ocidl.h"
  45. #ifdef __cplusplus
  46. extern "C"{
  47. #endif
  48. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  49. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  50. #ifndef __IHelloWorld_INTERFACE_DEFINED__
  51. #define __IHelloWorld_INTERFACE_DEFINED__
  52. /* interface IHelloWorld */
  53. /* [unique][helpstring][uuid][object] */
  54. EXTERN_C const IID IID_IHelloWorld;
  55. #if defined(__cplusplus) && !defined(CINTERFACE)
  56. MIDL_INTERFACE("FEE1509A-BC8F-11D2-9D5E-0000F81EF32E")
  57. IHelloWorld : public IUnknown
  58. {
  59. public:
  60. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Print(
  61. /* [in] */ BSTR message) = 0;
  62. };
  63. #else /* C style interface */
  64. typedef struct IHelloWorldVtbl
  65. {
  66. BEGIN_INTERFACE
  67. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  68. IHelloWorld __RPC_FAR * This,
  69. /* [in] */ REFIID riid,
  70. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  71. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  72. IHelloWorld __RPC_FAR * This);
  73. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  74. IHelloWorld __RPC_FAR * This);
  75. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Print )(
  76. IHelloWorld __RPC_FAR * This,
  77. /* [in] */ BSTR message);
  78. END_INTERFACE
  79. } IHelloWorldVtbl;
  80. interface IHelloWorld
  81. {
  82. CONST_VTBL struct IHelloWorldVtbl __RPC_FAR *lpVtbl;
  83. };
  84. #ifdef COBJMACROS
  85. #define IHelloWorld_QueryInterface(This,riid,ppvObject) \
  86. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  87. #define IHelloWorld_AddRef(This) \
  88. (This)->lpVtbl -> AddRef(This)
  89. #define IHelloWorld_Release(This) \
  90. (This)->lpVtbl -> Release(This)
  91. #define IHelloWorld_Print(This,message) \
  92. (This)->lpVtbl -> Print(This,message)
  93. #endif /* COBJMACROS */
  94. #endif /* C style interface */
  95. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHelloWorld_Print_Proxy(
  96. IHelloWorld __RPC_FAR * This,
  97. /* [in] */ BSTR message);
  98. void __RPC_STUB IHelloWorld_Print_Stub(
  99. IRpcStubBuffer *This,
  100. IRpcChannelBuffer *_pRpcChannelBuffer,
  101. PRPC_MESSAGE _pRpcMessage,
  102. DWORD *_pdwStubPhase);
  103. #endif /* __IHelloWorld_INTERFACE_DEFINED__ */
  104. #ifndef __COMTESTLib_LIBRARY_DEFINED__
  105. #define __COMTESTLib_LIBRARY_DEFINED__
  106. /* library COMTESTLib */
  107. /* [helpstring][version][uuid] */
  108. EXTERN_C const IID LIBID_COMTESTLib;
  109. EXTERN_C const CLSID CLSID_HelloWorld;
  110. #ifdef __cplusplus
  111. class DECLSPEC_UUID("0B7E1310-BC90-11D2-9D5E-0000F81EF32E")
  112. HelloWorld;
  113. #endif
  114. #endif /* __COMTESTLib_LIBRARY_DEFINED__ */
  115. /* Additional Prototypes for ALL interfaces */
  116. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  117. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  118. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  119. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  120. /* end of Additional Prototypes */
  121. #ifdef __cplusplus
  122. }
  123. #endif
  124. #endif