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.

285 lines
8.0 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.00.44 */
  3. /* at Mon Mar 03 15:18:06 1997
  4. */
  5. /* Compiler settings for acptntfy.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 __acptntfy_h__
  17. #define __acptntfy_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IAcceptNotify_FWD_DEFINED__
  23. #define __IAcceptNotify_FWD_DEFINED__
  24. typedef interface IAcceptNotify IAcceptNotify;
  25. #endif /* __IAcceptNotify_FWD_DEFINED__ */
  26. /* header files for imported files */
  27. #include "unknwn.h"
  28. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  29. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  30. #ifndef __IAcceptNotify_INTERFACE_DEFINED__
  31. #define __IAcceptNotify_INTERFACE_DEFINED__
  32. /****************************************
  33. * Generated header for interface: IAcceptNotify
  34. * at Mon Mar 03 15:18:06 1997
  35. * using MIDL 3.00.44
  36. ****************************************/
  37. /* [unique][uuid][object] */
  38. #ifndef _LPSINDEXNOTIFYDEFINED
  39. #define _LPSINDEXNOTIFYDEFINED
  40. typedef IAcceptNotify __RPC_FAR *LPACCEPTNOTIFY;
  41. #endif
  42. #ifndef __ACNTDEFS_H
  43. #define __ACNTDEFS_H
  44. typedef struct tagNOTIFYDATA
  45. {
  46. DWORD dwDataType;
  47. unsigned long cbData;
  48. /* [size_is] */ unsigned char __RPC_FAR *pvData;
  49. } NOTIFYDATA;
  50. typedef
  51. enum tagANDchAdvise
  52. { AND_ADD = 0x1,
  53. AND_DELETE = 0x2,
  54. AND_MODIFY = 0x4,
  55. ANDM_ADVISE_ACTION = 0x7,
  56. AND_TREATASDEEP = 0x100,
  57. AND_DELETE_WHEN_DONE = 0x200,
  58. ANDF_DATAINLINE = 0x20000
  59. } ANDchAdvise;
  60. typedef
  61. enum tagANMMapping
  62. { ANM_ADD = 0x1,
  63. ANM_DELETE = 0x2,
  64. ANM_MODIFY = 0x4,
  65. ANM_PHYSICALTOLOGICAL = 0x10,
  66. ANM_LOGICALTOPHYSICAL = 0x20
  67. } ANDMapping;
  68. typedef
  69. enum tagANSStatus
  70. { NSS_START = 0,
  71. NSS_BEGINBATCH = NSS_START + 1,
  72. NSS_INBATCH = NSS_BEGINBATCH + 1,
  73. NSS_ENDBATCH = NSS_INBATCH + 1,
  74. NSS_PAUSE = NSS_ENDBATCH + 1,
  75. NSS_STOP = NSS_PAUSE + 1,
  76. NSS_PAUSEPENDING = 0x10000,
  77. NSS_STOPPENDING = 0x20000
  78. } ANSStatus;
  79. #endif
  80. EXTERN_C const IID IID_IAcceptNotify;
  81. #if defined(__cplusplus) && !defined(CINTERFACE)
  82. interface IAcceptNotify : public IUnknown
  83. {
  84. public:
  85. virtual HRESULT STDMETHODCALLTYPE InitNotify(
  86. /* [string][in] */ LPCSTR pszScopeName,
  87. /* [string][in] */ LPCSTR pszServerName,
  88. /* [in] */ DWORD dwReserved) = 0;
  89. virtual HRESULT STDMETHODCALLTYPE SetMapping(
  90. /* [string][in] */ LPCSTR pszScopeName,
  91. /* [in] */ DWORD eANMSetting,
  92. /* [string][in] */ LPCSTR pszPhysicalPrefix,
  93. /* [string][in] */ LPCSTR pszLogicalPrefix) = 0;
  94. virtual HRESULT STDMETHODCALLTYPE OnDataChange(
  95. /* [string][in] */ LPCSTR pszScopeName,
  96. /* [in] */ DWORD eANDChAdvise,
  97. /* [string][in] */ LPCSTR pszPhysicaAddress,
  98. /* [string][in] */ LPCSTR pszLogicalAddress,
  99. /* [in] */ NOTIFYDATA __RPC_FAR *pndData) = 0;
  100. virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
  101. /* [string][in] */ LPCSTR pszScopeName,
  102. /* [in] */ DWORD eANSStatusChange) = 0;
  103. };
  104. #else /* C style interface */
  105. typedef struct IAcceptNotifyVtbl
  106. {
  107. BEGIN_INTERFACE
  108. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  109. IAcceptNotify __RPC_FAR * This,
  110. /* [in] */ REFIID riid,
  111. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  112. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  113. IAcceptNotify __RPC_FAR * This);
  114. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  115. IAcceptNotify __RPC_FAR * This);
  116. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitNotify )(
  117. IAcceptNotify __RPC_FAR * This,
  118. /* [string][in] */ LPCSTR pszScopeName,
  119. /* [string][in] */ LPCSTR pszServerName,
  120. /* [in] */ DWORD dwReserved);
  121. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMapping )(
  122. IAcceptNotify __RPC_FAR * This,
  123. /* [string][in] */ LPCSTR pszScopeName,
  124. /* [in] */ DWORD eANMSetting,
  125. /* [string][in] */ LPCSTR pszPhysicalPrefix,
  126. /* [string][in] */ LPCSTR pszLogicalPrefix);
  127. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDataChange )(
  128. IAcceptNotify __RPC_FAR * This,
  129. /* [string][in] */ LPCSTR pszScopeName,
  130. /* [in] */ DWORD eANDChAdvise,
  131. /* [string][in] */ LPCSTR pszPhysicaAddress,
  132. /* [string][in] */ LPCSTR pszLogicalAddress,
  133. /* [in] */ NOTIFYDATA __RPC_FAR *pndData);
  134. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStatusChange )(
  135. IAcceptNotify __RPC_FAR * This,
  136. /* [string][in] */ LPCSTR pszScopeName,
  137. /* [in] */ DWORD eANSStatusChange);
  138. END_INTERFACE
  139. } IAcceptNotifyVtbl;
  140. interface IAcceptNotify
  141. {
  142. CONST_VTBL struct IAcceptNotifyVtbl __RPC_FAR *lpVtbl;
  143. };
  144. #ifdef COBJMACROS
  145. #define IAcceptNotify_QueryInterface(This,riid,ppvObject) \
  146. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  147. #define IAcceptNotify_AddRef(This) \
  148. (This)->lpVtbl -> AddRef(This)
  149. #define IAcceptNotify_Release(This) \
  150. (This)->lpVtbl -> Release(This)
  151. #define IAcceptNotify_InitNotify(This,pszScopeName,pszServerName,dwReserved) \
  152. (This)->lpVtbl -> InitNotify(This,pszScopeName,pszServerName,dwReserved)
  153. #define IAcceptNotify_SetMapping(This,pszScopeName,eANMSetting,pszPhysicalPrefix,pszLogicalPrefix) \
  154. (This)->lpVtbl -> SetMapping(This,pszScopeName,eANMSetting,pszPhysicalPrefix,pszLogicalPrefix)
  155. #define IAcceptNotify_OnDataChange(This,pszScopeName,eANDChAdvise,pszPhysicaAddress,pszLogicalAddress,pndData) \
  156. (This)->lpVtbl -> OnDataChange(This,pszScopeName,eANDChAdvise,pszPhysicaAddress,pszLogicalAddress,pndData)
  157. #define IAcceptNotify_OnStatusChange(This,pszScopeName,eANSStatusChange) \
  158. (This)->lpVtbl -> OnStatusChange(This,pszScopeName,eANSStatusChange)
  159. #endif /* COBJMACROS */
  160. #endif /* C style interface */
  161. HRESULT STDMETHODCALLTYPE IAcceptNotify_InitNotify_Proxy(
  162. IAcceptNotify __RPC_FAR * This,
  163. /* [string][in] */ LPCSTR pszScopeName,
  164. /* [string][in] */ LPCSTR pszServerName,
  165. /* [in] */ DWORD dwReserved);
  166. void __RPC_STUB IAcceptNotify_InitNotify_Stub(
  167. IRpcStubBuffer *This,
  168. IRpcChannelBuffer *_pRpcChannelBuffer,
  169. PRPC_MESSAGE _pRpcMessage,
  170. DWORD *_pdwStubPhase);
  171. HRESULT STDMETHODCALLTYPE IAcceptNotify_SetMapping_Proxy(
  172. IAcceptNotify __RPC_FAR * This,
  173. /* [string][in] */ LPCSTR pszScopeName,
  174. /* [in] */ DWORD eANMSetting,
  175. /* [string][in] */ LPCSTR pszPhysicalPrefix,
  176. /* [string][in] */ LPCSTR pszLogicalPrefix);
  177. void __RPC_STUB IAcceptNotify_SetMapping_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. HRESULT STDMETHODCALLTYPE IAcceptNotify_OnDataChange_Proxy(
  183. IAcceptNotify __RPC_FAR * This,
  184. /* [string][in] */ LPCSTR pszScopeName,
  185. /* [in] */ DWORD eANDChAdvise,
  186. /* [string][in] */ LPCSTR pszPhysicaAddress,
  187. /* [string][in] */ LPCSTR pszLogicalAddress,
  188. /* [in] */ NOTIFYDATA __RPC_FAR *pndData);
  189. void __RPC_STUB IAcceptNotify_OnDataChange_Stub(
  190. IRpcStubBuffer *This,
  191. IRpcChannelBuffer *_pRpcChannelBuffer,
  192. PRPC_MESSAGE _pRpcMessage,
  193. DWORD *_pdwStubPhase);
  194. HRESULT STDMETHODCALLTYPE IAcceptNotify_OnStatusChange_Proxy(
  195. IAcceptNotify __RPC_FAR * This,
  196. /* [string][in] */ LPCSTR pszScopeName,
  197. /* [in] */ DWORD eANSStatusChange);
  198. void __RPC_STUB IAcceptNotify_OnStatusChange_Stub(
  199. IRpcStubBuffer *This,
  200. IRpcChannelBuffer *_pRpcChannelBuffer,
  201. PRPC_MESSAGE _pRpcMessage,
  202. DWORD *_pdwStubPhase);
  203. #endif /* __IAcceptNotify_INTERFACE_DEFINED__ */
  204. /* Additional Prototypes for ALL interfaces */
  205. /* end of Additional Prototypes */
  206. #ifdef __cplusplus
  207. }
  208. #endif
  209. #endif