Leaked source code of windows server 2003
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.

94 lines
2.6 KiB

  1. #include "NmAppletDispID.h"
  2. [
  3. uuid(D7D2064E-21C0-11d2-92EE-0000F875AE17),
  4. helpstring("NetMeeting Applet Client Site Interface"),
  5. ]
  6. interface INmAppletClientSite : IUnknown
  7. {
  8. HRESULT SetStatusBarVisible( [in] BOOL bShow );
  9. HRESULT SetIcons( [in] HICON hIconSmall, [in] HICON hIconBig );
  10. HRESULT SetWindowText( [in] LPCTSTR lpszCaption );
  11. }
  12. typedef
  13. [
  14. uuid(561C0EDD-F98A-11d1-92C9-0000F875AE17),
  15. helpstring("Component Window Creation Flags"),
  16. ]
  17. enum NmAppletCapsFlags
  18. {
  19. [helpstring("Applet can save")] NmAppletCapsFlag_CanSave = 0x00000001,
  20. [helpstring("Applet can load")] NmAppletCapsFlag_CanLoad = 0x00000002,
  21. } NmAppletCapsFlags;
  22. [
  23. object,
  24. uuid(93590E10-09EA-11d2-92D3-0000F875AE17),
  25. helpstring("INmApplet Interface"),
  26. pointer_default(unique)
  27. ]
  28. interface INmApplet : IUnknown
  29. {
  30. [propget, id(1), helpstring("property NmAppletCaps")]
  31. HRESULT NmAppletCaps([out] DWORD* pdwCaps );
  32. [id(2), helpstring("method SaveDialog")]
  33. HRESULT SaveDialog( [in, out] LPTSTR lpszFile, [in] DWORD dwFlags, [out] LPWORD pnFileOffset );
  34. [id(3), helpstring("method OpenDialog")]
  35. HRESULT OpenDialog();
  36. [id(4), helpstring("method GetIconData")]
  37. HRESULT GetIconData( [in] int cxBitmap, [in] int cyBitmap,
  38. [out] int* pcStates,
  39. [out] HBITMAP** pphBitmapIcon,
  40. [out] HBITMAP** pphBitmapIconHot,
  41. [out] HBITMAP** pphBitmapIconDisabled
  42. );
  43. [id(5), helpstring("method GetIconLabel")]
  44. HRESULT GetIconLabel( [out] BSTR* pLabel );
  45. [id(6), helpstring("method OnContainerActivating")]
  46. HRESULT OnContainerActivating( [in] BOOL bAppActivating );
  47. [id(7), helpstring("method SetFocus")]
  48. HRESULT SetFocus();
  49. [id(8), helpstring("method SetClientSite")]
  50. HRESULT SetClientSite( [in] INmAppletClientSite* pClientSite );
  51. [id(9), helpstring("method ShiftFocus")]
  52. HRESULT ShiftFocus( [in] HWND hWndCur, BOOL bForward );
  53. [id(10), helpstring("method IsChild")]
  54. HRESULT IsChild( [in] HWND hWnd );
  55. [id(11), helpstring("method QueryEndSession")]
  56. HRESULT QueryEndSession( [out,ref] BOOL* pbCancelTermination );
  57. [id(12), helpstring("method OnMenuSelect")]
  58. HRESULT OnMenuSelect( [in] DWORD wParam, [in] DWORD lParam );
  59. [id(13), helpstring("method OnCommand")]
  60. HRESULT OnCommand( [in] DWORD wParam, [in] DWORD lParam );
  61. [id(14), helpstring("method OnGetMinMax")]
  62. HRESULT OnGetMinMax( [in] DWORD lParam );
  63. };
  64. [
  65. uuid(755655EC-1126-11d2-92D9-0000F875AE17),
  66. helpstring("NetMeeting Applet Notification Interface"),
  67. ]
  68. interface INmAppletNotify : IUnknown
  69. {
  70. HRESULT OnStateChanged( [in] int State );
  71. }