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.

133 lines
6.6 KiB

  1. #ifndef EXDISPID_H_
  2. //+-------------------------------------------------------------------------
  3. //
  4. // Microsoft Windows
  5. // Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  6. //
  7. // File: exdispid.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // Dispatch IDS for IExplorer Dispatch Events.
  12. //
  13. #define DISPID_BEFORENAVIGATE 100 // this is sent before navigation to give a chance to abort
  14. #define DISPID_NAVIGATECOMPLETE 101 // in async, this is sent when we have enough to show
  15. #define DISPID_STATUSTEXTCHANGE 102
  16. #define DISPID_QUIT 103
  17. #define DISPID_DOWNLOADCOMPLETE 104
  18. #define DISPID_COMMANDSTATECHANGE 105
  19. #define DISPID_DOWNLOADBEGIN 106
  20. #define DISPID_NEWWINDOW 107 // sent when a new window should be created
  21. #define DISPID_PROGRESSCHANGE 108 // sent when download progress is updated
  22. #define DISPID_WINDOWMOVE 109 // sent when main window has been moved
  23. #define DISPID_WINDOWRESIZE 110 // sent when main window has been sized
  24. #define DISPID_WINDOWACTIVATE 111 // sent when main window has been activated
  25. #define DISPID_PROPERTYCHANGE 112 // sent when the PutProperty method is called
  26. #define DISPID_TITLECHANGE 113 // sent when the document title changes
  27. #define DISPID_TITLEICONCHANGE 114 // sent when the top level window icon may have changed.
  28. #define DISPID_FRAMEBEFORENAVIGATE 200
  29. #define DISPID_FRAMENAVIGATECOMPLETE 201
  30. #define DISPID_FRAMENEWWINDOW 204
  31. #define DISPID_BEFORENAVIGATE2 250 // hyperlink clicked on
  32. #define DISPID_NEWWINDOW2 251
  33. #define DISPID_NAVIGATECOMPLETE2 252 // UIActivate new document
  34. #define DISPID_ONQUIT 253
  35. #define DISPID_ONVISIBLE 254 // sent when the window goes visible/hidden
  36. #define DISPID_ONTOOLBAR 255 // sent when the toolbar should be shown/hidden
  37. #define DISPID_ONMENUBAR 256 // sent when the menubar should be shown/hidden
  38. #define DISPID_ONSTATUSBAR 257 // sent when the statusbar should be shown/hidden
  39. #define DISPID_ONFULLSCREEN 258 // sent when kiosk mode should be on/off
  40. #define DISPID_DOCUMENTCOMPLETE 259 // new document goes ReadyState_Complete
  41. #define DISPID_ONTHEATERMODE 260 // sent when theater mode should be on/off
  42. #define DISPID_ONADDRESSBAR 261 // sent when the address bar should be shown/hidden
  43. #define DISPID_WINDOWSETRESIZABLE 262 // sent to set the style of the host window frame
  44. #define DISPID_WINDOWCLOSING 263 // sent before script window.close closes the window
  45. #define DISPID_WINDOWSETLEFT 264 // sent when the put_left method is called on the WebOC
  46. #define DISPID_WINDOWSETTOP 265 // sent when the put_top method is called on the WebOC
  47. #define DISPID_WINDOWSETWIDTH 266 // sent when the put_width method is called on the WebOC
  48. #define DISPID_WINDOWSETHEIGHT 267 // sent when the put_height method is called on the WebOC
  49. #define DISPID_CLIENTTOHOSTWINDOW 268 // sent during window.open to request conversion of dimensions
  50. #define DISPID_SETSECURELOCKICON 269 // sent to suggest the appropriate security icon to show
  51. #define DISPID_FILEDOWNLOAD 270 // Fired to indicate the File Download dialog is opening
  52. #define DISPID_NAVIGATEERROR 271 // Fired to indicate the a binding error has occured
  53. #define DISPID_PRIVACYIMPACTEDSTATECHANGE 272 // Fired when the user's browsing experience is impacted
  54. // Printing events
  55. #define DISPID_PRINTTEMPLATEINSTANTIATION 225 // Fired to indicate that a print template is instantiated
  56. #define DISPID_PRINTTEMPLATETEARDOWN 226 // Fired to indicate that a print templete is completely gone
  57. #define DISPID_UPDATEPAGESTATUS 227 // Fired to indicate that the spooling status has changed
  58. // define the events for the shell wiwndow list
  59. #define DISPID_WINDOWREGISTERED 200 // Window registered
  60. #define DISPID_WINDOWREVOKED 201 // Window Revoked
  61. #define DISPID_RESETFIRSTBOOTMODE 1
  62. #define DISPID_RESETSAFEMODE 2
  63. #define DISPID_REFRESHOFFLINEDESKTOP 3
  64. #define DISPID_ADDFAVORITE 4
  65. #define DISPID_ADDCHANNEL 5
  66. #define DISPID_ADDDESKTOPCOMPONENT 6
  67. #define DISPID_ISSUBSCRIBED 7
  68. #define DISPID_NAVIGATEANDFIND 8
  69. #define DISPID_IMPORTEXPORTFAVORITES 9
  70. #define DISPID_AUTOCOMPLETESAVEFORM 10
  71. #define DISPID_AUTOSCAN 11
  72. #define DISPID_AUTOCOMPLETEATTACH 12
  73. #define DISPID_SHOWBROWSERUI 13
  74. #define DISPID_SHELLUIHELPERLAST 13
  75. #define DISPID_ADVANCEERROR 10
  76. #define DISPID_RETREATERROR 11
  77. #define DISPID_CANADVANCEERROR 12
  78. #define DISPID_CANRETREATERROR 13
  79. #define DISPID_GETERRORLINE 14
  80. #define DISPID_GETERRORCHAR 15
  81. #define DISPID_GETERRORCODE 16
  82. #define DISPID_GETERRORMSG 17
  83. #define DISPID_GETERRORURL 18
  84. #define DISPID_GETDETAILSSTATE 19
  85. #define DISPID_SETDETAILSSTATE 20
  86. #define DISPID_GETPERERRSTATE 21
  87. #define DISPID_SETPERERRSTATE 22
  88. #define DISPID_GETALWAYSSHOWLOCKSTATE 23
  89. // Dispatch IDS for ShellFavoritesNameSpace Dispatch Events.
  90. //
  91. #define DISPID_FAVSELECTIONCHANGE 1
  92. #define DISPID_SELECTIONCHANGE 2
  93. #define DISPID_DOUBLECLICK 3
  94. #define DISPID_INITIALIZED 4
  95. #define DISPID_MOVESELECTIONUP 1
  96. #define DISPID_MOVESELECTIONDOWN 2
  97. #define DISPID_RESETSORT 3
  98. #define DISPID_NEWFOLDER 4
  99. #define DISPID_SYNCHRONIZE 5
  100. #define DISPID_IMPORT 6
  101. #define DISPID_EXPORT 7
  102. #define DISPID_INVOKECONTEXTMENU 8
  103. #define DISPID_MOVESELECTIONTO 9
  104. #define DISPID_SUBSCRIPTIONSENABLED 10
  105. #define DISPID_CREATESUBSCRIPTION 11
  106. #define DISPID_DELETESUBSCRIPTION 12
  107. #define DISPID_SETROOT 13
  108. #define DISPID_ENUMOPTIONS 14
  109. #define DISPID_SELECTEDITEM 15
  110. #define DISPID_ROOT 16
  111. #define DISPID_DEPTH 17
  112. #define DISPID_MODE 18
  113. #define DISPID_FLAGS 19
  114. #define DISPID_TVFLAGS 20
  115. #define DISPID_NSCOLUMNS 21
  116. #define DISPID_COUNTVIEWTYPES 22
  117. #define DISPID_SETVIEWTYPE 23
  118. #define DISPID_SELECTEDITEMS 24
  119. #define DISPID_EXPAND 25
  120. #define DISPID_UNSELECTALL 26
  121. #define EXDISPID_H_
  122. #endif // EXDISPID_H_