cmdprst.idl 816 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //-----------------------------------------------------------------------------
  2. // File: cmdprst.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. #if( OLEDBVER >= 0x0200 )
  14. REMOTED_INTERFACE(0c733aa7-2a1c-11ce-ade5-00aa0044773d)
  15. #else
  16. LOCAL_INTERFACE(0c733aa7-2a1c-11ce-ade5-00aa0044773d)
  17. #endif
  18. interface ICommandPersist : IUnknown {
  19. HRESULT DeleteCommand(
  20. [in] DBID * pCommandID
  21. );
  22. HRESULT GetCurrentCommand(
  23. [out] DBID ** ppCommandID
  24. );
  25. HRESULT LoadCommand(
  26. [in] DBID * pCommandID,
  27. [in] DWORD dwFlags
  28. );
  29. HRESULT SaveCommand(
  30. [in] DBID * pCommandID,
  31. [in] DWORD dwFlags
  32. );
  33. }