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.

79 lines
2.2 KiB

  1. // NetMeeting.idl : IDL source for NetMeeting.dll
  2. //
  3. import "ocidl.idl";
  4. #include "NmDispID.h"
  5. cpp_quote("#include \"NmDispID.h\"")
  6. #define UUID_INetMeeting 5572984E-7A76-11d2-9334-0000F875AE17
  7. #define UUID_NetMeetingLib 5CE55CD7-5179-11D2-931D-0000F875AE17
  8. #define UUID__INetMeetingEvents 3E9BAF2C-7A79-11d2-9334-0000F875AE17
  9. #define UUID_NetMeeting 3E9BAF2D-7A79-11d2-9334-0000F875AE17
  10. [
  11. object,
  12. uuid(UUID_INetMeeting),
  13. dual, // Supports early and late binding
  14. hidden, // Default interfaces should be marked as "hidden"
  15. nonextensible, // Allows VB to use Early Binding...
  16. helpstring("NetMeeting Application Interface")
  17. ]
  18. interface INetMeeting : IDispatch
  19. {
  20. [id(DISPID_Version), helpstring("Get the build number for NetMeeting on the local machine")]
  21. HRESULT Version([out,retval] long* pdwBuildNumber);
  22. [id(DISPID_UnDock), helpstring("Undock a copy of the UI")]
  23. HRESULT UnDock();
  24. [id(DISPID_IsInConference), helpstring("Is the local user in a conference")]
  25. HRESULT IsInConference([out,retval] BOOL *pbInConference);
  26. [id(DISPID_CallTo), helpstring("Place a NetMeeting call using CallTo addressing")]
  27. HRESULT CallTo([in] BSTR strCallToString);
  28. [id(DISPID_LeaveConference), helpstring("Leave the current conference")]
  29. HRESULT LeaveConference();
  30. };
  31. // These version numbers should match the version attribute in the library definitoen below
  32. cpp_quote("enum { NetMeetingLib_Ver_Major = 1};")
  33. cpp_quote("enum { NetMeetingLib_Ver_Minor = 1};")
  34. [
  35. uuid(UUID_NetMeetingLib),
  36. version(1.1),
  37. helpstring("NetMeeting 1.1 Type Library")
  38. ]
  39. library NetMeetingLib
  40. {
  41. importlib("stdole2.tlb");
  42. [
  43. uuid(UUID__INetMeetingEvents),
  44. helpstring("NetMeeting Events Interface"),
  45. ]
  46. dispinterface _INetMeetingEvents
  47. {
  48. properties:
  49. methods:
  50. [id(DISPID_ConferenceStarted), helpstring("Event triggered when a call is accepted")]
  51. void ConferenceStarted();
  52. [id(DISPID_ConferenceEnded), helpstring("Event triggered when the current call is over")]
  53. void ConferenceEnded();
  54. }
  55. [
  56. uuid(UUID_NetMeeting),
  57. helpstring("NetMeeting Application")
  58. ]
  59. coclass NetMeeting
  60. {
  61. [default] interface INetMeeting;
  62. [default, source] dispinterface _INetMeetingEvents;
  63. };
  64. };