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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: binres.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(0c733ab1-2a1c-11ce-ade5-00aa0044773d)
  13. interface IBindResource : IUnknown
  14. {
  15. [local]
  16. HRESULT Bind(
  17. [in]                     IUnknown*           pUnkOuter,
  18. [in]                            LPCOLESTR      pwszURL,
  19. [in]                            DBBINDURLFLAG       dwBindURLFlags,
  20. [in]                            REFGUID         rguid,
  21. [in]                            REFIID          riid,
  22. [in]                     IAuthenticate*      pAuthenticate,
  23. [in, out, unique]               DBIMPLICITSESSION*  pImplSession,
  24. [in, out, unique]               DBBINDURLSTATUS*    pdwBindStatus,
  25. [out, iid_is(riid)]             IUnknown**          ppUnk
  26.     );
  27. [call_as(Bind)]
  28. HRESULT RemoteBind(
  29. [in] IUnknown * pUnkOuter,
  30. [in] LPCOLESTR pwszURL,
  31. [in] DBBINDURLFLAG dwBindURLFlags,
  32. [in] REFGUID rguid,
  33. [in] REFIID riid,
  34. [in] IAuthenticate * pAuthenticate,
  35. [in] IUnknown *pSessionUnkOuter,
  36. [in, unique] IID *piid,
  37. [in, out, unique, iid_is(piid)] IUnknown **ppSession,
  38. [in, out, unique] DBBINDURLSTATUS * pdwBindStatus,
  39. [out, iid_is(riid)] IUnknown ** ppUnk
  40. );
  41. };