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.

213 lines
5.3 KiB

  1. /*++
  2. Copyright (C) 1997-2001 Microsoft Corporation
  3. Module Name:
  4. IDYNPROV.H
  5. Abstract:
  6. Declares the CProvStub class.
  7. History:
  8. a-davj 04-Mar-97 Created.
  9. --*/
  10. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  11. /* File created by MIDL compiler version 2.00.0102 */
  12. /* at Thu Aug 10 09:54:39 1995
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. #include "rpc.h"
  16. #include "rpcndr.h"
  17. #ifndef COM_NO_WINDOWS_H
  18. #include "windows.h"
  19. #include "ole2.h"
  20. #endif /*COM_NO_WINDOWS_H*/
  21. #ifndef __idynprov_h__
  22. #define __idynprov_h__
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif
  26. /* Forward Declarations */
  27. #ifndef __IMoDynPropProvider_FWD_DEFINED__
  28. #define __IMoDynPropProvider_FWD_DEFINED__
  29. typedef interface IMoDynPropProvider IMoDynPropProvider;
  30. #endif /* __IMoDynPropProvider_FWD_DEFINED__ */
  31. /* header files for imported files */
  32. #include "wtypes.h"
  33. #include "unknwn.h"
  34. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  35. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  36. /****************************************
  37. * Generated header for interface: __MIDL__intf_0000
  38. * at Thu Aug 10 09:54:39 1995
  39. * using MIDL 2.00.0102
  40. ****************************************/
  41. /* [local] */
  42. /* size is 36 */
  43. typedef struct tagMODYNPROP
  44. {
  45. DWORD dwStructSize;
  46. OLECHAR __RPC_FAR *pPropertySetName;
  47. OLECHAR __RPC_FAR *pPropertyName;
  48. OLECHAR __RPC_FAR *pProviderString;
  49. DWORD dwType;
  50. BYTE __RPC_FAR *pPropertyValue;
  51. DWORD dwBufferSize;
  52. DWORD dwOptArrayIndex;
  53. DWORD dwResult;
  54. } MODYNPROP;
  55. /* size is 4 */
  56. typedef struct tagMODYNPROP __RPC_FAR *LPMODYNPROP;
  57. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  58. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  59. #ifndef __IMoDynPropProvider_INTERFACE_DEFINED__
  60. #define __IMoDynPropProvider_INTERFACE_DEFINED__
  61. /****************************************
  62. * Generated header for interface: IMoDynPropProvider
  63. * at Thu Aug 10 09:54:39 1995
  64. * using MIDL 2.00.0102
  65. ****************************************/
  66. /* [object][uuid] */
  67. EXTERN_C const IID IID_IMoDynPropProvider;
  68. #if defined(__cplusplus) && !defined(CINTERFACE)
  69. interface IMoDynPropProvider : public IUnknown
  70. {
  71. public:
  72. virtual HRESULT __stdcall GetProperties(
  73. /* [in] */ LPMODYNPROP pPropList,
  74. /* [in] */ unsigned long dwListSize) = 0;
  75. virtual HRESULT __stdcall SetProperties(
  76. /* [in] */ LPMODYNPROP pPropList,
  77. /* [in] */ unsigned long dwListSize) = 0;
  78. };
  79. #else /* C style interface */
  80. typedef struct IMoDynPropProviderVtbl
  81. {
  82. HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
  83. IMoDynPropProvider __RPC_FAR * This,
  84. /* [in] */ REFIID riid,
  85. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  86. ULONG ( __stdcall __RPC_FAR *AddRef )(
  87. IMoDynPropProvider __RPC_FAR * This);
  88. ULONG ( __stdcall __RPC_FAR *Release )(
  89. IMoDynPropProvider __RPC_FAR * This);
  90. HRESULT ( __stdcall __RPC_FAR *GetProperties )(
  91. IMoDynPropProvider __RPC_FAR * This,
  92. /* [in] */ LPMODYNPROP pPropList,
  93. /* [in] */ unsigned long dwListSize);
  94. HRESULT ( __stdcall __RPC_FAR *SetProperties )(
  95. IMoDynPropProvider __RPC_FAR * This,
  96. /* [in] */ LPMODYNPROP pPropList,
  97. /* [in] */ unsigned long dwListSize);
  98. } IMoDynPropProviderVtbl;
  99. interface IMoDynPropProvider
  100. {
  101. CONST_VTBL struct IMoDynPropProviderVtbl __RPC_FAR *lpVtbl;
  102. };
  103. #ifdef COBJMACROS
  104. #define IMoDynPropProvider_QueryInterface(This,riid,ppvObject) \
  105. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  106. #define IMoDynPropProvider_AddRef(This) \
  107. (This)->lpVtbl -> AddRef(This)
  108. #define IMoDynPropProvider_Release(This) \
  109. (This)->lpVtbl -> Release(This)
  110. #define IMoDynPropProvider_GetProperties(This,pPropList,dwListSize) \
  111. (This)->lpVtbl -> GetProperties(This,pPropList,dwListSize)
  112. #define IMoDynPropProvider_SetProperties(This,pPropList,dwListSize) \
  113. (This)->lpVtbl -> SetProperties(This,pPropList,dwListSize)
  114. #endif /* COBJMACROS */
  115. #endif /* C style interface */
  116. HRESULT __stdcall IMoDynPropProvider_GetProperties_Proxy(
  117. IMoDynPropProvider __RPC_FAR * This,
  118. /* [in] */ LPMODYNPROP pPropList,
  119. /* [in] */ unsigned long dwListSize);
  120. void __RPC_STUB IMoDynPropProvider_GetProperties_Stub(
  121. IRpcStubBuffer *This,
  122. IRpcChannelBuffer *_pRpcChannelBuffer,
  123. PRPC_MESSAGE _pRpcMessage,
  124. DWORD *_pdwStubPhase);
  125. HRESULT __stdcall IMoDynPropProvider_SetProperties_Proxy(
  126. IMoDynPropProvider __RPC_FAR * This,
  127. /* [in] */ LPMODYNPROP pPropList,
  128. /* [in] */ unsigned long dwListSize);
  129. void __RPC_STUB IMoDynPropProvider_SetProperties_Stub(
  130. IRpcStubBuffer *This,
  131. IRpcChannelBuffer *_pRpcChannelBuffer,
  132. PRPC_MESSAGE _pRpcMessage,
  133. DWORD *_pdwStubPhase);
  134. #endif /* __IMoDynPropProvider_INTERFACE_DEFINED__ */
  135. /* Additional Prototypes for ALL interfaces */
  136. /* end of Additional Prototypes */
  137. #ifdef __cplusplus
  138. }
  139. #endif
  140. #endif