asynot.idl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //-----------------------------------------------------------------------------
  2. // File: asynot.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(0c733a96-2a1c-11ce-ade5-00aa0044773d)
  14. interface IDBAsynchNotify : IUnknown {
  15. [local]
  16. HRESULT OnLowResource(
  17. [in] DB_DWRESERVE dwReserved
  18. );
  19. [call_as(OnLowResource)]
  20. HRESULT RemoteOnLowResource(
  21. [in] DB_DWRESERVE dwReserved
  22. );
  23. [local]
  24. HRESULT OnProgress(
  25. [in] HCHAPTER hChapter,
  26. [in] DBASYNCHOP eOperation,
  27. [in] DBCOUNTITEM ulProgress,
  28. [in] DBCOUNTITEM ulProgressMax,
  29. [in] DBASYNCHPHASE eAsynchPhase,
  30. [in] LPOLESTR pwszStatusText
  31. );
  32. [call_as(OnProgress)]
  33. HRESULT RemoteOnProgress(
  34. [in] HCHAPTER hChapter,
  35. [in] DBASYNCHOP eOperation,
  36. [in] DBCOUNTITEM ulProgress,
  37. [in] DBCOUNTITEM ulProgressMax,
  38. [in] DBASYNCHPHASE eAsynchPhase,
  39. [in,unique,string] LPOLESTR pwszStatusText
  40. );
  41. [local]
  42. HRESULT OnStop(
  43. [in] HCHAPTER hChapter,
  44. [in] DBASYNCHOP eOperation,
  45. [in] HRESULT hrStatus,
  46. [in] LPOLESTR pwszStatusText
  47. );
  48. [call_as(OnStop)]
  49. HRESULT RemoteOnStop(
  50. [in] HCHAPTER hChapter,
  51. [in] DBASYNCHOP eOperation,
  52. [in] HRESULT hrStatus,
  53. [in,unique,string] LPOLESTR pwszStatusText
  54. );
  55. }