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.

74 lines
1.9 KiB

  1. cpp_quote("DEFINE_GUID(IID_IServerBinding,0x9fc9efd0,0xa535,0x11d0,0x89,0x6f,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  2. cpp_quote("DEFINE_GUID(IID_IServerBindings,0x9fc9efd1,0xa535,0x11d0,0x89,0x6f,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  3. import "oaidl.idl";
  4. [
  5. object,
  6. uuid(9fc9efd0-a535-11d0-896f-00aa00a74bf2),
  7. dual,
  8. helpstring("IServerBinding Interface"),
  9. pointer_default(unique)
  10. ]
  11. interface IServerBinding : IDispatch
  12. {
  13. //////////////////////////////////////////////////////////////////////
  14. // Properties:
  15. //////////////////////////////////////////////////////////////////////
  16. [propget, helpstring("")]
  17. HRESULT IpAddress ( [out, retval] BSTR * pstrIpAddress );
  18. [propput]
  19. HRESULT IpAddress ( [in] BSTR strIpAddress );
  20. [propget, helpstring("")]
  21. HRESULT TcpPort ( [out, retval] long * pdwTcpPort );
  22. [propput]
  23. HRESULT TcpPort ( [in] long dwTcpPort );
  24. [propget, helpstring("")]
  25. HRESULT SslPort ( [out, retval] long * plSslPort );
  26. [propput]
  27. HRESULT SslPort ( [in] long lSslPort );
  28. }
  29. [
  30. object,
  31. uuid(9fc9efd1-a535-11d0-896f-00aa00a74bf2),
  32. dual,
  33. helpstring("IServerBindings Interface"),
  34. pointer_default(unique)
  35. ]
  36. interface IServerBindings : IDispatch
  37. {
  38. //
  39. // Standard collection methods & properties:
  40. //
  41. [propget, helpstring("")]
  42. HRESULT Count ( [out, retval] long * pdwCount );
  43. [helpstring("")]
  44. HRESULT Item ( [in] long index, [out, retval] IServerBinding ** ppBinding );
  45. [helpstring("")]
  46. HRESULT ItemDispatch ( [in] long index, [out, retval] IDispatch ** ppBinding );
  47. [helpstring("")]
  48. HRESULT Add ( [in] BSTR strIpAddress, [in] long dwTcpPort, [in] long dwSslPort );
  49. [helpstring("")]
  50. HRESULT ChangeBinding ( [in] long index, [in] IServerBinding * pBinding );
  51. [helpstring("")]
  52. HRESULT ChangeBindingDispatch ( [in] long index, [in] IDispatch * pBinding );
  53. [helpstring("")]
  54. HRESULT Remove ( [in] long index );
  55. [helpstring("")]
  56. HRESULT Clear ( );
  57. }