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.

174 lines
4.7 KiB

  1. /* This file contains a few interfaces that were once part of OLE-DB
  2. but that Trident still uses. Cut-and-paste from oledb.h (version below).
  3. */
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5. /* File created by MIDL compiler version 3.01.75 */
  6. /* at Thu May 22 17:05:14 1997
  7. */
  8. /* Compiler settings for C:\oledb\PRIVATE\OLEDB\IDL\oledb.idl:
  9. Oicf (OptLev=i2), W1, Zp2, env=Win32, ms_ext, c_ext
  10. error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. #include "rpc.h"
  14. #include "rpcndr.h"
  15. #ifndef COM_NO_WINDOWS_H
  16. #include "windows.h"
  17. #include "ole2.h"
  18. #endif /*COM_NO_WINDOWS_H*/
  19. #ifdef WIN16
  20. #define OLEDBVER 0x0200
  21. #endif
  22. #ifndef __oledbtri_h__
  23. #define __oledbtri_h__
  24. #ifdef __cplusplus
  25. extern "C"{
  26. #endif
  27. #ifndef __IRowsetExactScroll_FWD_DEFINED__
  28. #define __IRowsetExactScroll_FWD_DEFINED__
  29. typedef interface IRowsetExactScroll IRowsetExactScroll;
  30. #endif /* __IRowsetExactScroll_FWD_DEFINED__ */
  31. #ifndef __IRowsetNewRowAfter_FWD_DEFINED__
  32. #define __IRowsetNewRowAfter_FWD_DEFINED__
  33. typedef interface IRowsetNewRowAfter IRowsetNewRowAfter;
  34. #endif /* __IRowsetNewRowAfter_FWD_DEFINED__ */
  35. /* header files for imported files */
  36. #ifndef WIN16
  37. #include "wtypes.h"
  38. #endif
  39. #include "oaidl.h"
  40. #include "transact.h"
  41. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  43. /****************************************
  44. * Generated header for interface: __MIDL_itf_oledb_0082
  45. * at Thu May 22 17:05:14 1997
  46. * using MIDL 3.01.75
  47. ****************************************/
  48. /* [local] */
  49. #if( OLEDBVER >= 0x0200 )
  50. extern RPC_IF_HANDLE __MIDL_itf_oledb_0082_v0_0_c_ifspec;
  51. extern RPC_IF_HANDLE __MIDL_itf_oledb_0082_v0_0_s_ifspec;
  52. #ifndef __IRowsetExactScroll_INTERFACE_DEFINED__
  53. #define __IRowsetExactScroll_INTERFACE_DEFINED__
  54. /****************************************
  55. * Generated header for interface: IRowsetExactScroll
  56. * at Thu May 22 17:05:14 1997
  57. * using MIDL 3.01.75
  58. ****************************************/
  59. /* [unique][uuid][object][local] */
  60. EXTERN_C const IID IID_IRowsetExactScroll;
  61. #if defined(__cplusplus) && !defined(CINTERFACE)
  62. interface DECLSPEC_UUID("0c733a7f-2a1c-11ce-ade5-00aa0044773d")
  63. IRowsetExactScroll : public IRowsetScroll
  64. {
  65. public:
  66. virtual HRESULT STDMETHODCALLTYPE GetExactPosition(
  67. /* [in] */ HCHAPTER hChapter,
  68. /* [in] */ DBBKMARK cbBookmark,
  69. /* [size_is][in] */ const BYTE __RPC_FAR *pBookmark,
  70. /* [out] */ DBCOUNTITEM __RPC_FAR *pulPosition,
  71. /* [out] */ DBCOUNTITEM __RPC_FAR *pcRows) = 0;
  72. };
  73. #else /* C style interface */
  74. #error "C style interface not maintained"
  75. #endif /* C style interface */
  76. #endif /* __IRowsetExactScroll_INTERFACE_DEFINED__ */
  77. #endif /* OLEDBVER >= 0200 */
  78. /****************************************
  79. * Generated header for interface: __MIDL_itf_oledb_0087
  80. * at Thu May 22 17:05:14 1997
  81. * using MIDL 3.01.75
  82. ****************************************/
  83. /* [local] */
  84. //@@@+ V2.0
  85. #if( OLEDBVER >= 0x0200 )
  86. extern RPC_IF_HANDLE __MIDL_itf_oledb_0087_v0_0_c_ifspec;
  87. extern RPC_IF_HANDLE __MIDL_itf_oledb_0087_v0_0_s_ifspec;
  88. #ifndef __IRowsetNewRowAfter_INTERFACE_DEFINED__
  89. #define __IRowsetNewRowAfter_INTERFACE_DEFINED__
  90. /****************************************
  91. * Generated header for interface: IRowsetNewRowAfter
  92. * at Thu May 22 17:05:14 1997
  93. * using MIDL 3.01.75
  94. ****************************************/
  95. /* [unique][uuid][object][local] */
  96. EXTERN_C const IID IID_IRowsetNewRowAfter;
  97. #if defined(__cplusplus) && !defined(CINTERFACE)
  98. interface DECLSPEC_UUID("0c733a71-2a1c-11ce-ade5-00aa0044773d")
  99. IRowsetNewRowAfter : public IUnknown
  100. {
  101. public:
  102. virtual HRESULT STDMETHODCALLTYPE SetNewDataAfter(
  103. /* [in] */ HCHAPTER hChapter,
  104. /* [in] */ DBBKMARK cbbmPrevious,
  105. /* [size_is][in] */ const BYTE __RPC_FAR *pbmPrevious,
  106. /* [in] */ HACCESSOR hAccessor,
  107. /* [in] */ BYTE __RPC_FAR *pData,
  108. /* [out] */ HROW __RPC_FAR *phRow) = 0;
  109. };
  110. #else /* C style interface */
  111. #error "C style interface not maintained"
  112. #endif /* C style interface */
  113. #endif /* __IRowsetNewRowAfter_INTERFACE_DEFINED__ */
  114. #endif /* OLEDBVER >= 0200 */
  115. #if( OLEDBVER >= 0x0200 )
  116. // IID_IRowsetExactScroll = {0x0c733a7f,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  117. // IID_IRowsetNewRowAfter = {0x0c733a71,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  118. #endif // OLEDBVER >= 0x0200
  119. #ifdef __cplusplus
  120. }
  121. #endif
  122. #endif