Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB

  1. #pragma once
  2. #include <oledb.h>
  3. #include <cmdtree.h>
  4. #if 0
  5. DEFINE_GUID(IID_IService, 0xeef35580, 0x7b0a, 0x11d0, 0xad, 0x6b, 0x0, 0xa0, 0xc9, 0x5, 0x5d, 0x8f);
  6. interface IService : public IUnknown
  7. {
  8. public:
  9. virtual HRESULT STDMETHODCALLTYPE Cancel(void) = 0;
  10. virtual HRESULT STDMETHODCALLTYPE InvokeService(
  11. /* [in] */ REFIID riid,
  12. /* [in] */ IUnknown __RPC_FAR *punkNotSoFunctionalInterface,
  13. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkMoreFunctionalInterface) = 0;
  14. };
  15. #endif
  16. DEFINE_GUID(IID_IServiceProperties, 0xeef35581, 0x7b0a, 0x11d0, 0xad, 0x6b, 0x0, 0xa0, 0xc9, 0x5, 0x5d, 0x8f);
  17. interface IServiceProperties : public IUnknown
  18. {
  19. public:
  20. virtual HRESULT STDMETHODCALLTYPE GetProperties(
  21. /* [in] */ const ULONG cPropertyIDSets,
  22. /* [size_is][in] */ const DBPROPIDSET __RPC_FAR rgPropertyIDSets[ ],
  23. /* [out][in] */ ULONG __RPC_FAR *pcPropertySets,
  24. /* [size_is][size_is][out] */ DBPROPSET __RPC_FAR *__RPC_FAR *prgPropertySets) = 0;
  25. virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo(
  26. /* [in] */ ULONG cPropertyIDSets,
  27. /* [size_is][in] */ const DBPROPIDSET __RPC_FAR rgPropertyIDSets[ ],
  28. /* [out][in] */ ULONG __RPC_FAR *pcPropertyInfoSets,
  29. /* [size_is][size_is][out] */ DBPROPINFOSET __RPC_FAR *__RPC_FAR *prgPropertyInfoSets,
  30. /* [out] */ OLECHAR __RPC_FAR *__RPC_FAR *ppDescBuffer) = 0;
  31. virtual HRESULT STDMETHODCALLTYPE SetRequestedProperties(
  32. /* [in] */ ULONG cPropertySets,
  33. /* [size_is][out][in] */ DBPROPSET __RPC_FAR rgPropertySets[ ]) = 0;
  34. virtual HRESULT STDMETHODCALLTYPE SetSuppliedProperties(
  35. /* [in] */ ULONG cPropertySets,
  36. /* [size_is][out][in] */ DBPROPSET __RPC_FAR rgPropertySets[ ]) = 0;
  37. };