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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: rowpos.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation          
  5. //
  6. // Contents:  OLE DB interface definition
  7. //
  8. // Comments: 
  9. //
  10. //-----------------------------------------------------------------------------
  11. #include "idlmulti.h"
  12. //
  13.     REMOTED_INTERFACE(0c733a94-2a1c-11ce-ade5-00aa0044773d)
  14. interface IRowPosition : IUnknown {
  15. typedef DWORD DBPOSITIONFLAGS;
  16. enum DBPOSITIONFLAGSENUM {
  17. DBPOSITION_OK,
  18. DBPOSITION_NOROW,
  19. DBPOSITION_BOF,
  20. DBPOSITION_EOF,
  21. };
  22. [local]
  23. HRESULT ClearRowPosition(
  24. );
  25. [call_as(ClearRowPosition)]
  26. HRESULT RemoteClearRowPosition(
  27. [out] IErrorInfo ** ppErrorInfoRem
  28. );
  29. [local]
  30. HRESULT GetRowPosition(
  31. [out] HCHAPTER * phChapter,
  32. [out] HROW * phRow,
  33. [out] DBPOSITIONFLAGS * pdwPositionFlags
  34. );
  35. [call_as(GetRowPosition)]
  36. HRESULT RemoteGetRowPosition(
  37. [out] HCHAPTER * phChapter,
  38. [out] HROW * phRow,
  39. [out] DBPOSITIONFLAGS * pdwPositionFlags,
  40. [out] IErrorInfo ** ppErrorInfoRem
  41. );
  42. [local]
  43. HRESULT GetRowset(
  44. [in] REFIID riid,
  45. [out, iid_is(riid)] IUnknown ** ppRowset
  46. );
  47. [call_as(GetRowset)]
  48. HRESULT RemoteGetRowset(
  49. [in] REFIID riid,
  50. [out, iid_is(riid)] IUnknown ** ppRowset,
  51. [out] IErrorInfo ** ppErrorInfoRem
  52. );
  53. [local]
  54. HRESULT Initialize(
  55. [in] IUnknown * pRowset
  56. );
  57. [call_as(Initialize)]
  58. HRESULT RemoteInitialize(
  59. [in] IUnknown * pRowset,
  60. [out] IErrorInfo ** ppErrorInfoRem
  61. );
  62. [local]
  63. HRESULT SetRowPosition(
  64. [in] HCHAPTER hChapter,
  65. [in] HROW hRow,
  66. [in] DBPOSITIONFLAGS dwPositionFlags
  67. );
  68. [call_as(SetRowPosition)]
  69. HRESULT RemoteSetRowPosition(
  70. [in] HCHAPTER hChapter,
  71. [in] HROW hRow,
  72. [in] DBPOSITIONFLAGS dwPositionFlags,
  73. [out] IErrorInfo ** ppErrorInfoRem
  74. );
  75. }