MSDaIpp.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:17k
源码类别:

模拟服务器

开发平台:

C/C++

  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 Wed Jun 02 13:01:04 1999
  5.  */
  6. /* Compiler settings for msdaipp.idl:
  7.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  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__ 440
  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 __msdaipp_h__
  28. #define __msdaipp_h__
  29. /* Forward Declarations */ 
  30. #ifndef __ISynchronizeRow_FWD_DEFINED__
  31. #define __ISynchronizeRow_FWD_DEFINED__
  32. typedef interface ISynchronizeRow ISynchronizeRow;
  33. #endif  /* __ISynchronizeRow_FWD_DEFINED__ */
  34. #ifndef __MSDAIPP_DSO_FWD_DEFINED__
  35. #define __MSDAIPP_DSO_FWD_DEFINED__
  36. #ifdef __cplusplus
  37. typedef class MSDAIPP_DSO MSDAIPP_DSO;
  38. #else
  39. typedef struct MSDAIPP_DSO MSDAIPP_DSO;
  40. #endif /* __cplusplus */
  41. #endif  /* __MSDAIPP_DSO_FWD_DEFINED__ */
  42. #ifndef __MSDAIPP_BINDER_FWD_DEFINED__
  43. #define __MSDAIPP_BINDER_FWD_DEFINED__
  44. #ifdef __cplusplus
  45. typedef class MSDAIPP_BINDER MSDAIPP_BINDER;
  46. #else
  47. typedef struct MSDAIPP_BINDER MSDAIPP_BINDER;
  48. #endif /* __cplusplus */
  49. #endif  /* __MSDAIPP_BINDER_FWD_DEFINED__ */
  50. /* header files for imported files */
  51. #include "oledb.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif 
  55. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  57. /* interface __MIDL_itf_msdaipp_0000 */
  58. /* [local] */ 
  59.                                                                                                                      
  60. // Papyrus resource rowset                                                                                           
  61. #define MSDAIPP_MAX_URL_LENGTH 4096
  62.                                                                                                                      
  63. #define RESOURCE_PARSENAME                      L"RESOURCE_PARSENAME"                                              
  64. #define RESOURCE_PARSENAME_DBTYPE               DBTYPE_WSTR                                                          
  65. #define RESOURCE_PARSENAME_MAXLENGTH            MSDAIPP_MAX_URL_LENGTH                                              
  66.                                                                                                                      
  67. #define RESOURCE_PARENTNAME                     L"RESOURCE_PARENTNAME"                                             
  68. #define RESOURCE_PARENTNAME_DBTYPE              DBTYPE_WSTR                                                          
  69. #define RESOURCE_PARENTNAME_MAXLENGTH           MSDAIPP_MAX_URL_LENGTH                                               
  70.                                                                                                                      
  71. #define RESOURCE_ABSOLUTEPARSENAME              L"RESOURCE_ABSOLUTEPARSENAME"                                      
  72. #define RESOURCE_ABSOLUTEPARSENAME_DBTYPE       DBTYPE_WSTR                                                          
  73. #define RESOURCE_ABSOLUTEPARSENAME_MAXLENGTH    MSDAIPP_MAX_URL_LENGTH                                               
  74.                                                                                                                      
  75. #define RESOURCE_ISHIDDEN                       L"RESOURCE_ISHIDDEN"                                               
  76. #define RESOURCE_ISHIDDEN_DBTYPE                DBTYPE_BOOL                                                          
  77. #define RESOURCE_ISHIDDEN_MAXLENGTH             sizeof(VARIANT_BOOL)                                                 
  78.                                                                                                                      
  79. #define RESOURCE_ISREADONLY                     L"RESOURCE_ISREADONLY"                                             
  80. #define RESOURCE_ISREADONLY_DBTYPE              DBTYPE_BOOL                                                          
  81. #define RESOURCE_ISREADONLY_MAXLENGTH           sizeof(VARIANT_BOOL)                                                 
  82.                                                                                                                      
  83. #define RESOURCE_CONTENTTYPE                    L"RESOURCE_CONTENTTYPE"                                            
  84. #define RESOURCE_CONTENTTYPE_DBTYPE             DBTYPE_WSTR                                                          
  85. #define RESOURCE_CONTENTTYPE_MAXLENGTH          MSDAIPP_MAX_URL_LENGTH                                               
  86.                                                                                                                      
  87. #define RESOURCE_CONTENTCLASS                   L"RESOURCE_CONTENTCLASS"                                           
  88. #define RESOURCE_CONTENTCLASS_DBTYPE            DBTYPE_WSTR                                                          
  89. #define RESOURCE_CONTENTCLASS_MAXLENGTH         MSDAIPP_MAX_URL_LENGTH                                               
  90.                                                                                                                      
  91. #define RESOURCE_CONTENTLANGUAGE                L"RESOURCE_CONTENTLANGUAGE"                                        
  92. #define RESOURCE_CONTENTLANGUAGE_DBTYPE         DBTYPE_WSTR                                                          
  93. #define RESOURCE_CONTENTLANGUAGE_MAXLENGTH      MSDAIPP_MAX_URL_LENGTH                                               
  94.                                                                                                                      
  95. #define RESOURCE_CREATIONTIME                   L"RESOURCE_CREATIONTIME"                                           
  96. #define RESOURCE_CREATIONTIME_DBTYPE            DBTYPE_FILETIME                                                      
  97. #define RESOURCE_CREATIONTIME_MAXLENGTH         sizeof(FILETIME)                                                     
  98.                                                                                                                      
  99. #define RESOURCE_LASTACCESSTIME                 L"RESOURCE_LASTACCESSTIME"                                         
  100. #define RESOURCE_LASTACCESSTIME_DBTYPE          DBTYPE_FILETIME                                                      
  101. #define RESOURCE_LASTACCESSTIME_MAXLENGTH       sizeof(FILETIME)                                                     
  102.                                                                                                                      
  103. #define RESOURCE_LASTWRITETIME                  L"RESOURCE_LASTWRITETIME"                                          
  104. #define RESOURCE_LASTWRITETIME_DBTYPE           DBTYPE_FILETIME                                                      
  105. #define RESOURCE_LASTWRITETIME_MAXLENGTH        sizeof(FILETIME)                                                     
  106.                                                                                                                      
  107. #define RESOURCE_STREAMSIZE                     L"RESOURCE_STREAMSIZE"                                             
  108. #define RESOURCE_STREAMSIZE_DBTYPE              DBTYPE_UI8                                                           
  109. #define RESOURCE_STREAMSIZE_MAXLENGTH           sizeof(DWORDLONG)                                                    
  110.                                                                                                                      
  111. #define RESOURCE_ISCOLLECTION                   L"RESOURCE_ISCOLLECTION"                                           
  112. #define RESOURCE_ISCOLLECTION_DBTYPE            DBTYPE_BOOL                                                          
  113. #define RESOURCE_ISCOLLECTION_MAXLENGTH         sizeof(VARIANT_BOOL)                                                 
  114.                                                                                                                      
  115. #define RESOURCE_ISSTRUCTUREDDOCUMENT           L"RESOURCE_ISSTRUCTUREDDOCUMENT"                                   
  116. #define RESOURCE_ISSTRUCTUREDDOCUMENT_DBTYPE    DBTYPE_BOOL                                                          
  117. #define RESOURCE_ISSTRUCTUREDDOCUMENT_MAXLENGTH sizeof(VARIANT_BOOL)                                                 
  118.                                                                                                                      
  119. #define RESOURCE_DEFAULTDOCUMENT                L"DEFAULT_DOCUMENT"                                                
  120. #define RESOURCE_DEFAULTDOCUMENT_DBTYPE         DBTYPE_WSTR                                                          
  121. #define RESOURCE_DEFAULTDOCUMENT_MAXLENGTH      MSDAIPP_MAX_URL_LENGTH                                               
  122.                                                                                                                      
  123. #define RESOURCE_DISPLAYNAME                    L"RESOURCE_DISPLAYNAME"                                            
  124. #define RESOURCE_DISPLAYNAME_DBTYPE             DBTYPE_WSTR                                                          
  125. #define RESOURCE_DISPLAYNAME_MAXLENGTH          MSDAIPP_MAX_URL_LENGTH                                               
  126.                                                                                                                      
  127. #define RESOURCE_ISROOT                         L"RESOURCE_ISROOT"                                                 
  128. #define RESOURCE_ISROOT_DBTYPE                  DBTYPE_BOOL                                                          
  129. #define RESOURCE_ISROOT_MAXLENGTH               sizeof(VARIANT_BOOL)                                                 
  130. // MSDAIPP-specific properties
  131. const GUID DBPROPSET_MSDAIPP_INIT = {0x8f1033e3,0xb2cd,0x11d1,{0x9c,0x74,0x0,0x0,0xf8,0x75,0xac,0x61}};
  132. #define DBPROP_INIT_IGNORECACHEDDATA     2L      // VT_BOOL
  133. #define DBPROP_INIT_CACHEAGGRESSIVELY    3L      // VT_BOOL
  134. #define DBPROP_INIT_TREATASOFFLINE       4L      // VT_BOOL
  135. #define DBPROP_INIT_MARKFOROFFLINE       5L      // VT_I4
  136. #define DBPROP_INIT_PROTOCOLPROVIDER     6L      // VT_CLSID
  137. /* size is 2 */
  138. enum MFO
  139.     { MFO_DONTCHANGE = 0,
  140. MFO_MARK = 1,
  141. MFO_UNMARK = 2
  142.     };
  143. // Standard properties specific to MSDAIPP
  144. #define RESOURCE_ISMARKEDFOROFFLINE             L"RESOURCE_ISMARKEDFOROFFLINE"                                     
  145. #define RESOURCE_ISMARKEDFOROFFLINE_DBTYPE      DBTYPE_BOOL                                                          
  146. #define RESOURCE_ISMARKEDFOROFFLINE_MAXLENGTH   sizeof(VARIANT_BOOL)                                                 
  147. #define DBGUID_RESOURCE_ISMARKEDFOROFFLINE      {0x3c5d1c61,0x111e,0x11d2,{0x9c,0xda,0x0,0x0,0xf8,0x75,0xac,0x61}}   
  148. #ifdef DBINITCONSTANTS
  149. extern const DBID DBROWCOL_ISMARKEDFOROFFLINE = { DBGUID_RESOURCE_ISMARKEDFOROFFLINE, DBKIND_GUID, 0};
  150. #else
  151. extern const DBID DBROWCOL_ISMARKEDFOROFFLINE; 
  152. #endif
  153. // MSDAIPP alternate names for Resource Rowset columns
  154. //   Form DBID as { 0, DBKIND_NAME, <altname> }
  155. #define RESOURCE_PARSENAME_ALTNAME              L"DAV:name"                   
  156. #define RESOURCE_PARENTNAME_ALTNAME             L"DAV:parentname"             
  157. #define RESOURCE_ABSOLUTEPARSENAME_ALTNAME      L"DAV:href"                   
  158. #define RESOURCE_ISHIDDEN_ALTNAME               L"DAV:ishidden"               
  159. #define RESOURCE_ISREADONLY_ALTNAME             L"DAV:isreadonly"             
  160. #define RESOURCE_CONTENTTYPE_ALTNAME            L"DAV:getcontenttype"         
  161. #define RESOURCE_CONTENTCLASS_ALTNAME           L"DAV:contentclass"           
  162. #define RESOURCE_CONTENTLANGUAGE_ALTNAME        L"DAV:getcontentlanguage"     
  163. #define RESOURCE_CREATIONTIME_ALTNAME           L"DAV:creationdate"           
  164. #define RESOURCE_LASTACCESSTIME_ALTNAME         L"DAV:lastaccessed"           
  165. #define RESOURCE_LASTWRITETIME_ALTNAME          L"DAV:getlastmodified"        
  166. #define RESOURCE_STREAMSIZE_ALTNAME             L"DAV:getcontentlength"       
  167. #define RESOURCE_ISCOLLECTION_ALTNAME           L"DAV:iscollection"           
  168. #define RESOURCE_ISSTRUCTUREDDOCUMENT_ALTNAME   L"DAV:isstructureddocument"   
  169. #define RESOURCE_DEFAULTDOCUMENT_ALTNAME        L"DAV:defaultdocument"        
  170. #define RESOURCE_DISPLAYNAME_ALTNAME            L"DAV:displayname"            
  171. #define RESOURCE_ISROOT_ALTNAME                 L"DAV:isroot"                 
  172. #define RESOURCE_ISMARKEDFOROFFLINE_ALTNAME     L"MSDAIPP:ismarkedforoffline" 
  173. const GUID GUID_IPPCOMMAND = { 0xd395c253, 0x6511, 0x11d1, { 0x9c, 0x9, 0x0, 0x0, 0xf8, 0x75, 0xac, 0x61 } };
  174. // String representation of GUIDs for MSDAIPP protocol providers
  175. const GUID GUID_DAV_PROVIDER  = {0x9FECD570, 0xB9D4, 0x11d1, 0x9C, 0x78, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x61};
  176. const GUID GUID_WEC_PROVIDER  = {0x9FECD571, 0xB9D4, 0x11d1, 0x9C, 0x78, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x61};
  177. const GUID GUID_HTTP_PROVIDER = {0x9FECD572, 0xB9D4, 0x11d1, 0x9C, 0x78, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x61};
  178. extern RPC_IF_HANDLE __MIDL_itf_msdaipp_0000_v0_0_c_ifspec;
  179. extern RPC_IF_HANDLE __MIDL_itf_msdaipp_0000_v0_0_s_ifspec;
  180. #ifndef __ISynchronizeRow_INTERFACE_DEFINED__
  181. #define __ISynchronizeRow_INTERFACE_DEFINED__
  182. /* interface ISynchronizeRow */
  183. /* [unique][uuid][object][local] */ 
  184. /* size is 4 */
  185. typedef DWORD MSDAIPP_SYNC_FLAGS;
  186. /* size is 2 */
  187. enum MSDAIPP_SYNCFLAGSENUM
  188.     { MSDAIPP_SYNC_NONE = 0,
  189. MSDAIPP_SYNC_ABANDON_SERVER = 0x1,
  190. MSDAIPP_SYNC_ABANDON_LOCAL = 0x2,
  191. MSDAIPP_SYNC_MERGE = 0x4
  192.     };
  193. EXTERN_C const IID IID_ISynchronizeRow;
  194. #if defined(__cplusplus) && !defined(CINTERFACE)
  195.     
  196.     MIDL_INTERFACE("70546361-1177-11d2-9CDB-0000F875AC61")
  197.     ISynchronizeRow : public IUnknown
  198.     {
  199.     public:
  200.         virtual HRESULT STDMETHODCALLTYPE Synchronize( 
  201.             /* [in] */ MSDAIPP_SYNC_FLAGS dwFlags) = 0;
  202.         
  203.     };
  204.     
  205. #else  /* C style interface */
  206.     typedef struct ISynchronizeRowVtbl
  207.     {
  208.         BEGIN_INTERFACE
  209.         
  210.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  211.             ISynchronizeRow __RPC_FAR * This,
  212.             /* [in] */ REFIID riid,
  213.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  214.         
  215.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  216.             ISynchronizeRow __RPC_FAR * This);
  217.         
  218.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  219.             ISynchronizeRow __RPC_FAR * This);
  220.         
  221.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Synchronize )( 
  222.             ISynchronizeRow __RPC_FAR * This,
  223.             /* [in] */ MSDAIPP_SYNC_FLAGS dwFlags);
  224.         
  225.         END_INTERFACE
  226.     } ISynchronizeRowVtbl;
  227.     interface ISynchronizeRow
  228.     {
  229.         CONST_VTBL struct ISynchronizeRowVtbl __RPC_FAR *lpVtbl;
  230.     };
  231.     
  232. #ifdef COBJMACROS
  233. #define ISynchronizeRow_QueryInterface(This,riid,ppvObject)
  234.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  235. #define ISynchronizeRow_AddRef(This)
  236.     (This)->lpVtbl -> AddRef(This)
  237. #define ISynchronizeRow_Release(This)
  238.     (This)->lpVtbl -> Release(This)
  239. #define ISynchronizeRow_Synchronize(This,dwFlags)
  240.     (This)->lpVtbl -> Synchronize(This,dwFlags)
  241. #endif /* COBJMACROS */
  242. #endif  /* C style interface */
  243. HRESULT STDMETHODCALLTYPE ISynchronizeRow_Synchronize_Proxy( 
  244.     ISynchronizeRow __RPC_FAR * This,
  245.     /* [in] */ MSDAIPP_SYNC_FLAGS dwFlags);
  246. void __RPC_STUB ISynchronizeRow_Synchronize_Stub(
  247.     IRpcStubBuffer *This,
  248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  249.     PRPC_MESSAGE _pRpcMessage,
  250.     DWORD *_pdwStubPhase);
  251. #endif  /* __ISynchronizeRow_INTERFACE_DEFINED__ */
  252. #ifndef __MSDAIPPLib_LIBRARY_DEFINED__
  253. #define __MSDAIPPLib_LIBRARY_DEFINED__
  254. /* library MSDAIPPLib */
  255. /* [helpstring][version][uuid] */ 
  256. EXTERN_C const IID LIBID_MSDAIPPLib;
  257. EXTERN_C const CLSID CLSID_MSDAIPP_DSO;
  258. #ifdef __cplusplus
  259. class DECLSPEC_UUID("AF320921-9381-11d1-9C3C-0000F875AC61")
  260. MSDAIPP_DSO;
  261. #endif
  262. EXTERN_C const CLSID CLSID_MSDAIPP_BINDER;
  263. #ifdef __cplusplus
  264. class DECLSPEC_UUID("E1D2BF40-A96B-11d1-9C6B-0000F875AC61")
  265. MSDAIPP_BINDER;
  266. #endif
  267. #endif /* __MSDAIPPLib_LIBRARY_DEFINED__ */
  268. /* Additional Prototypes for ALL interfaces */
  269. /* end of Additional Prototypes */
  270. #ifdef __cplusplus
  271. }
  272. #endif
  273. #endif