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.

179 lines
4.9 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.00.39 */
  3. /* at Wed May 22 10:54:51 1996
  4. */
  5. /* Compiler settings for .\BstrProxy\bstr.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __bstr_h__
  17. #define __bstr_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IDocFileMarshal_FWD_DEFINED__
  23. #define __IDocFileMarshal_FWD_DEFINED__
  24. typedef interface IDocFileMarshal IDocFileMarshal;
  25. #endif /* __IDocFileMarshal_FWD_DEFINED__ */
  26. /* header files for imported files */
  27. #include "objidl.h"
  28. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  29. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  30. #ifndef __IDocFileMarshal_INTERFACE_DEFINED__
  31. #define __IDocFileMarshal_INTERFACE_DEFINED__
  32. /****************************************
  33. * Generated header for interface: IDocFileMarshal
  34. * at Wed May 22 10:54:51 1996
  35. * using MIDL 3.00.39
  36. ****************************************/
  37. /* [unique][object][uuid] */
  38. EXTERN_C const IID IID_IDocFileMarshal;
  39. #if defined(__cplusplus) && !defined(CINTERFACE)
  40. interface IDocFileMarshal : public IUnknown
  41. {
  42. public:
  43. virtual HRESULT STDMETHODCALLTYPE StgOpenPropStg(
  44. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  45. /* [in] */ REFFMTID fmtid,
  46. /* [in] */ DWORD grfMode,
  47. /* [out] */ IPropertyStorage __RPC_FAR *__RPC_FAR *pppstg) = 0;
  48. virtual HRESULT STDMETHODCALLTYPE StgOpenPropSetStg(
  49. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  50. /* [in] */ DWORD grfMode,
  51. /* [out] */ IPropertySetStorage __RPC_FAR *__RPC_FAR *pppsstg) = 0;
  52. };
  53. #else /* C style interface */
  54. typedef struct IDocFileMarshalVtbl
  55. {
  56. BEGIN_INTERFACE
  57. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  58. IDocFileMarshal __RPC_FAR * This,
  59. /* [in] */ REFIID riid,
  60. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  61. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  62. IDocFileMarshal __RPC_FAR * This);
  63. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  64. IDocFileMarshal __RPC_FAR * This);
  65. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StgOpenPropStg )(
  66. IDocFileMarshal __RPC_FAR * This,
  67. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  68. /* [in] */ REFFMTID fmtid,
  69. /* [in] */ DWORD grfMode,
  70. /* [out] */ IPropertyStorage __RPC_FAR *__RPC_FAR *pppstg);
  71. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StgOpenPropSetStg )(
  72. IDocFileMarshal __RPC_FAR * This,
  73. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  74. /* [in] */ DWORD grfMode,
  75. /* [out] */ IPropertySetStorage __RPC_FAR *__RPC_FAR *pppsstg);
  76. END_INTERFACE
  77. } IDocFileMarshalVtbl;
  78. interface IDocFileMarshal
  79. {
  80. CONST_VTBL struct IDocFileMarshalVtbl __RPC_FAR *lpVtbl;
  81. };
  82. #ifdef COBJMACROS
  83. #define IDocFileMarshal_QueryInterface(This,riid,ppvObject) \
  84. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  85. #define IDocFileMarshal_AddRef(This) \
  86. (This)->lpVtbl -> AddRef(This)
  87. #define IDocFileMarshal_Release(This) \
  88. (This)->lpVtbl -> Release(This)
  89. #define IDocFileMarshal_StgOpenPropStg(This,pwcsName,fmtid,grfMode,pppstg) \
  90. (This)->lpVtbl -> StgOpenPropStg(This,pwcsName,fmtid,grfMode,pppstg)
  91. #define IDocFileMarshal_StgOpenPropSetStg(This,pwcsName,grfMode,pppsstg) \
  92. (This)->lpVtbl -> StgOpenPropSetStg(This,pwcsName,grfMode,pppsstg)
  93. #endif /* COBJMACROS */
  94. #endif /* C style interface */
  95. HRESULT STDMETHODCALLTYPE IDocFileMarshal_StgOpenPropStg_Proxy(
  96. IDocFileMarshal __RPC_FAR * This,
  97. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  98. /* [in] */ REFFMTID fmtid,
  99. /* [in] */ DWORD grfMode,
  100. /* [out] */ IPropertyStorage __RPC_FAR *__RPC_FAR *pppstg);
  101. void __RPC_STUB IDocFileMarshal_StgOpenPropStg_Stub(
  102. IRpcStubBuffer *This,
  103. IRpcChannelBuffer *_pRpcChannelBuffer,
  104. PRPC_MESSAGE _pRpcMessage,
  105. DWORD *_pdwStubPhase);
  106. HRESULT STDMETHODCALLTYPE IDocFileMarshal_StgOpenPropSetStg_Proxy(
  107. IDocFileMarshal __RPC_FAR * This,
  108. /* [string][in] */ const OLECHAR __RPC_FAR *pwcsName,
  109. /* [in] */ DWORD grfMode,
  110. /* [out] */ IPropertySetStorage __RPC_FAR *__RPC_FAR *pppsstg);
  111. void __RPC_STUB IDocFileMarshal_StgOpenPropSetStg_Stub(
  112. IRpcStubBuffer *This,
  113. IRpcChannelBuffer *_pRpcChannelBuffer,
  114. PRPC_MESSAGE _pRpcMessage,
  115. DWORD *_pdwStubPhase);
  116. #endif /* __IDocFileMarshal_INTERFACE_DEFINED__ */
  117. /* Additional Prototypes for ALL interfaces */
  118. /* end of Additional Prototypes */
  119. #ifdef __cplusplus
  120. }
  121. #endif
  122. #endif