cmdtxt.idl 992 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //-----------------------------------------------------------------------------
  2. // File: cmdtxt.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(0c733a27-2a1c-11ce-ade5-00aa0044773d)
  14. interface ICommandText : ICommand {
  15. [local]
  16. HRESULT GetCommandText(
  17. [in, out] GUID * pguidDialect,
  18. [out] LPOLESTR * ppwszCommand
  19. );
  20. [call_as(GetCommandText)]
  21. HRESULT RemoteGetCommandText(
  22. [in, out, unique] GUID * pguidDialect,
  23. [out] LPOLESTR * ppwszCommand,
  24. [out] IErrorInfo ** ppErrorInfoRem
  25. );
  26. [local]
  27. HRESULT SetCommandText(
  28. [in] REFGUID rguidDialect,
  29. [in, unique] LPCOLESTR pwszCommand
  30. );
  31. [call_as(SetCommandText)]
  32. HRESULT RemoteSetCommandText(
  33. [in] REFGUID rguidDialect,
  34. [in, unique] LPCOLESTR pwszCommand,
  35. [out] IErrorInfo ** ppErrorInfoRem
  36. );
  37. }