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.

91 lines
2.4 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // h323priv.idl : IDL source for H323 msp private interfaces
  3. /////////////////////////////////////////////////////////////////////////////
  4. #ifndef __H323__PRIVATE_IDL__
  5. #define __H323__PRIVATE_IDL__
  6. import "ipmsp.idl";
  7. /*
  8. Object identifer constants, beginning with
  9. iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) microsoft (311)
  10. software OBJECT IDENTIFIER ::= { microsoft 1 }
  11. */
  12. // ipTelephony OBJECT IDENTIFIER ::= { software 19 }
  13. #define MSOID_IPTEL 19 // 1.3.6.1.4.1.311.19
  14. /*
  15. intrinsicallyDefinedCap OBJECT IDENTIFIER ::= { ipTelephony 1 }
  16. This identifies a unique nonstandard capability with intrinsic parameters
  17. In other words, the GUID alone defines the capability and its compatibility
  18. with remote capabilities having the same GUID. If the GUIDS match, the
  19. capabilities are deemed identical.
  20. The following is possible, but may not be necessary: Extra parameters may be passed
  21. in the capability set, in the OLC, and in the OLC Ack. The extra parameters are defined
  22. as an array of bytes, and the semantics of the contents are further defined by
  23. the definition of each intrinsically defined capability.
  24. */
  25. #define MSOID_IPTEL_INTRINSICALLY_DEFINED_CAP 1 // Full OID = 1.3.6.1.4.1.311.19.1
  26. #define MSOID_IPTEL_INTRINSICALLY_DEFINED_CAP_STRING "1.3.6.1.4.1.311.19.1"
  27. typedef enum H245_CAPABILITY
  28. {
  29. HC_G711,
  30. HC_G723,
  31. HC_H263QCIF,
  32. HC_H261QCIF
  33. } H245_CAPABILITY;
  34. [
  35. object,
  36. local,
  37. uuid(44cf6a9d-cb40-4bbc-b2d3-b6aa93322c71),
  38. pointer_default(unique),
  39. hidden
  40. ]
  41. interface IH323LineEx : IUnknown
  42. {
  43. HRESULT SetExternalT120Address (
  44. [in] BOOL fEnable,
  45. [in] DWORD dwIP,
  46. [in] WORD wPort
  47. );
  48. HRESULT SetDefaultCapabilityPreferrence (
  49. [in] DWORD dwNumCaps,
  50. [in] H245_CAPABILITY * pCapabilities,
  51. [in] DWORD * pWeights
  52. );
  53. HRESULT SetAlias (
  54. [in] WCHAR *strAlias,
  55. [in] DWORD dwLength
  56. );
  57. };
  58. [
  59. object,
  60. local,
  61. uuid(c3341386-af91-4ef9-83b6-be3762e42ecb),
  62. pointer_default(unique),
  63. hidden
  64. ]
  65. interface IKeyFrameControl : IUnknown
  66. {
  67. HRESULT UpdatePicture ();
  68. HRESULT PeriodicUpdatePicture (
  69. [in] BOOL fEnable,
  70. [in] DWORD dwInterval
  71. );
  72. };
  73. #define IID_IKeyFrameControl (__uuidof(IKeyFrameControl))
  74. #endif // __H323_PRIVATE_IDL__