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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: regprv.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. REMOTED_INTERFACE(0c733ab9-2a1c-11ce-ade5-00aa0044773d)
  13. interface IRegisterProvider : IUnknown
  14. {
  15. [local]
  16. HRESULT GetURLMapping(
  17. [in] LPCOLESTR pwszURL,
  18. [in] DB_DWRESERVE dwReserved,
  19. [out] CLSID * pclsidProvider
  20. );
  21. [call_as(GetURLMapping)]
  22. HRESULT RemoteGetURLMapping(
  23. [in] LPCOLESTR pwszURL,
  24. [in] DB_DWRESERVE dwReserved,
  25. [out] CLSID * pclsidProvider
  26. );
  27. HRESULT SetURLMapping(
  28. [in, unique] LPCOLESTR pwszURL,
  29. [in] DB_DWRESERVE dwReserved,
  30. [in, unique] REFCLSID rclsidProvider
  31. );
  32. HRESULT UnregisterProvider(
  33. [in, unique] LPCOLESTR pwszURL,
  34. [in] DB_DWRESERVE dwReserved,
  35. [in, unique] REFCLSID rclsidProvider
  36. );
  37. };