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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: vwsrt.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(0c733a9a-2a1c-11ce-ade5-00aa0044773d)
  14. interface IViewSort : IUnknown {
  15. [local]
  16. HRESULT GetSortOrder(
  17. [out] DBORDINAL * pcValues,
  18. [out] DBORDINAL * prgColumns[],
  19. [out] DBSORT * prgOrders[]
  20. );
  21. #ifndef NO_REMOTE
  22. [call_as(GetSortOrder)]
  23. HRESULT RemoteGetSortOrder(
  24. [in, out] DBORDINAL * pcValues,
  25. [out, size_is(,(ULONG)*pcValues)] DBORDINAL ** prgColumns,
  26. [out, size_is(,(ULONG)*pcValues)] DBSORT ** prgOrders,
  27. [out] IErrorInfo ** ppErrorInfoRem
  28. );
  29. #endif
  30. [local]
  31. HRESULT SetSortOrder(
  32. [in] DBORDINAL cValues,
  33. [in, size_is((ULONG)cValues)] const DBORDINAL rgColumns[],
  34. [in, size_is((ULONG)cValues)] const DBSORT rgOrders[]
  35. );
  36. #ifndef NO_REMOTE
  37. [call_as(SetSortOrder)]
  38. HRESULT RemoteSetSortOrder(
  39. [in] DBORDINAL cValues,
  40. [in, size_is((ULONG)cValues)] const DBORDINAL * rgColumns,
  41. [in, size_is((ULONG)cValues)] const DBSORT * rgOrders,
  42. [out] IErrorInfo ** ppErrorInfoRem
  43. );
  44. #endif
  45. }