' ########################################################################################
' Microsoft Windows
' File: exdispid.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_ExDispid_PBI)
#DEFINE PBX_ExDispid_PBI
%EQUATE `EXDISPID_INC = 1
'//
'// Dispatch IDS for IExplorer Dispatch Events.
'//
%EQUATE `DISPID_BEFORENAVIGATE = 100 ' // this is sent before navigation to give a chance to abort
%EQUATE `DISPID_NAVIGATECOMPLETE = 101 ' // in async, this is sent when we have enough to show
%EQUATE `DISPID_STATUSTEXTCHANGE = 102
%EQUATE `DISPID_QUIT = 103
%EQUATE `DISPID_DOWNLOADCOMPLETE = 104
%EQUATE `DISPID_COMMANDSTATECHANGE = 105
%EQUATE `DISPID_DOWNLOADBEGIN = 106
%EQUATE `DISPID_NEWWINDOW = 107 ' // sent when a new window should be created
%EQUATE `DISPID_PROGRESSCHANGE = 108 ' // sent when download progress is updated
%EQUATE `DISPID_WINDOWMOVE = 109 ' // sent when main window has been moved
%EQUATE `DISPID_WINDOWRESIZE = 110 ' // sent when main window has been sized
%EQUATE `DISPID_WINDOWACTIVATE = 111 ' // sent when main window has been activated
%EQUATE `DISPID_PROPERTYCHANGE = 112 ' // sent when the PutProperty method is called
%EQUATE `DISPID_TITLECHANGE = 113 ' // sent when the document title changes
%EQUATE `DISPID_TITLEICONCHANGE = 114 ' // sent when the top level window icon may have changed.
%EQUATE `DISPID_FRAMEBEFORENAVIGATE = 200
%EQUATE `DISPID_FRAMENAVIGATECOMPLETE = 201
%EQUATE `DISPID_FRAMENEWWINDOW = 204
%EQUATE `DISPID_BEFORENAVIGATE2 = 250 ' // hyperlink clicked on
%EQUATE `DISPID_NEWWINDOW2 = 251
%EQUATE `DISPID_NAVIGATECOMPLETE2 = 252 ' // UIActivate new document
%EQUATE `DISPID_ONQUIT = 253
%EQUATE `DISPID_ONVISIBLE = 254 ' // sent when the window goes visible/hidden
%EQUATE `DISPID_ONTOOLBAR = 255 ' // sent when the toolbar should be shown/hidden
%EQUATE `DISPID_ONMENUBAR = 256 ' // sent when the menubar should be shown/hidden
%EQUATE `DISPID_ONSTATUSBAR = 257 ' // sent when the statusbar should be shown/hidden
%EQUATE `DISPID_ONFULLSCREEN = 258 ' // sent when kiosk mode should be on/off
%EQUATE `DISPID_DOCUMENTCOMPLETE = 259 ' // new document goes ReadyState_Complete
%EQUATE `DISPID_ONTHEATERMODE = 260 ' // sent when theater mode should be on/off
%EQUATE `DISPID_ONADDRESSBAR = 261 ' // sent when the address bar should be shown/hidden
%EQUATE `DISPID_WINDOWSETRESIZABLE = 262 ' // sent to set the style of the host window frame
%EQUATE `DISPID_WINDOWCLOSING = 263 ' // sent before script window.close closes the window
%EQUATE `DISPID_WINDOWSETLEFT = 264 ' // sent when the put_left method is called on the WebOC
%EQUATE `DISPID_WINDOWSETTOP = 265 ' // sent when the put_top method is called on the WebOC
%EQUATE `DISPID_WINDOWSETWIDTH = 266 ' // sent when the put_width method is called on the WebOC
%EQUATE `DISPID_WINDOWSETHEIGHT = 267 ' // sent when the put_height method is called on the WebOC
%EQUATE `DISPID_CLIENTTOHOSTWINDOW = 268 ' // sent during window.open to request conversion of dimensions
%EQUATE `DISPID_SETSECURELOCKICON = 269 ' // sent to suggest the appropriate security icon to show
%EQUATE `DISPID_FILEDOWNLOAD = 270 ' // Fired to indicate the File Download dialog is opening
%EQUATE `DISPID_NAVIGATEERROR = 271 ' // Fired to indicate the a binding error has occured
%EQUATE `DISPID_PRIVACYIMPACTEDSTATECHANGE = 272 ' // Fired when the user's browsing experience is impacted
%EQUATE `DISPID_NEWWINDOW3 = 273
%EQUATE `DISPID_VIEWUPDATE = 281 ' // Fired when the contents of a shell browser window change
%EQUATE `DISPID_SETPHISHINGFILTERSTATUS = 282 ' // Fired by the Phishing Filter API to signal what state the analysis is in
%EQUATE `DISPID_WINDOWSTATECHANGED = 283 ' // Fired to indicate that the browser window's visibility or enabled state has changed
%EQUATE `DISPID_NEWPROCESS = 284 ' // Fired when a navigation must be redirected due to Protected Mode
%EQUATE `DISPID_THIRDPARTYURLBLOCKED = 285 ' // Fired when a third-party url is blocked due to Privacy Advisor
%EQUATE `DISPID_REDIRECTXDOMAINBLOCKED = 286 ' // Fired when a x-domain redirect is blocked due to browser nav constant
'// Printing events
%EQUATE `DISPID_PRINTTEMPLATEINSTANTIATION = 225 ' // Fired to indicate that a print template is instantiated
%EQUATE `DISPID_PRINTTEMPLATETEARDOWN = 226 ' // Fired to indicate that a print templete is completely gone
%EQUATE `DISPID_UPDATEPAGESTATUS = 227 ' // Fired to indicate that the spooling status has changed
'// define the events for the shell wiwndow list
%EQUATE `DISPID_WINDOWREGISTERED = 200 ' // Window registered
%EQUATE `DISPID_WINDOWREVOKED = 201 ' // Window Revoked
%EQUATE `DISPID_RESETFIRSTBOOTMODE = 1
%EQUATE `DISPID_RESETSAFEMODE = 2
%EQUATE `DISPID_REFRESHOFFLINEDESKTOP = 3
%EQUATE `DISPID_ADDFAVORITE = 4
%EQUATE `DISPID_ADDCHANNEL = 5
%EQUATE `DISPID_ADDDESKTOPCOMPONENT = 6
%EQUATE `DISPID_ISSUBSCRIBED = 7
%EQUATE `DISPID_NAVIGATEANDFIND = 8
%EQUATE `DISPID_IMPORTEXPORTFAVORITES = 9
%EQUATE `DISPID_AUTOCOMPLETESAVEFORM = 10
%EQUATE `DISPID_AUTOSCAN = 11
%EQUATE `DISPID_AUTOCOMPLETEATTACH = 12
%EQUATE `DISPID_SHOWBROWSERUI = 13
%EQUATE `DISPID_ADDSEARCHPROVIDER = 14
%EQUATE `DISPID_RUNONCESHOWN = 15
%EQUATE `DISPID_SKIPRUNONCE = 16
%EQUATE `DISPID_CUSTOMIZESETTINGS = 17
%EQUATE `DISPID_SQMENABLED = 18
%EQUATE `DISPID_PHISHINGENABLED = 19
%EQUATE `DISPID_BRANDIMAGEURI = 20
%EQUATE `DISPID_SKIPTABSWELCOME = 21
%EQUATE `DISPID_DIAGNOSECONNECTION = 22
%EQUATE `DISPID_CUSTOMIZECLEARTYPE = 23
%EQUATE `DISPID_ISSEARCHPROVIDERINSTALLED = 24
%EQUATE `DISPID_ISSEARCHMIGRATED = 25
%EQUATE `DISPID_DEFAULTSEARCHPROVIDER = 26
%EQUATE `DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE = 27
%EQUATE `DISPID_RUNONCEHASSHOWN = 28
%EQUATE `DISPID_SEARCHGUIDEURL = 29
%EQUATE `DISPID_ADDSERVICE = 30
%EQUATE `DISPID_ISSERVICEINSTALLED = 31
%EQUATE `DISPID_ADDTOFAVORITESBAR = 32
%EQUATE `DISPID_BUILDNEWTABPAGE = 33
%EQUATE `DISPID_SETRECENTLYCLOSEDVISIBLE = 34
%EQUATE `DISPID_SETACTIVITIESVISIBLE = 35
%EQUATE `DISPID_CONTENTDISCOVERYRESET = 36
%EQUATE `DISPID_INPRIVATEFILTERINGENABLED = 37
%EQUATE `DISPID_SUGGESTEDSITESENABLED = 38
%EQUATE `DISPID_ENABLESUGGESTEDSITES = 39
%EQUATE `DISPID_NAVIGATETOSUGGESTEDSITES = 40
%EQUATE `DISPID_SHOWTABSHELP = 41
%EQUATE `DISPID_SHOWINPRIVATEHELP = 42
%EQUATE `DISPID_SHELLUIHELPERLAST = 43
%EQUATE `DISPID_ADVANCEERROR = 10
%EQUATE `DISPID_RETREATERROR = 11
%EQUATE `DISPID_CANADVANCEERROR = 12
%EQUATE `DISPID_CANRETREATERROR = 13
%EQUATE `DISPID_GETERRORLINE = 14
%EQUATE `DISPID_GETERRORCHAR = 15
%EQUATE `DISPID_GETERRORCODE = 16
%EQUATE `DISPID_GETERRORMSG = 17
%EQUATE `DISPID_GETERRORURL = 18
%EQUATE `DISPID_GETDETAILSSTATE = 19
%EQUATE `DISPID_SETDETAILSSTATE = 20
%EQUATE `DISPID_GETPERERRSTATE = 21
%EQUATE `DISPID_SETPERERRSTATE = 22
%EQUATE `DISPID_GETALWAYSSHOWLOCKSTATE = 23
'// Dispatch IDS for ShellFavoritesNameSpace Dispatch Events.
'//
%EQUATE `DISPID_FAVSELECTIONCHANGE = 1
%EQUATE `DISPID_SELECTIONCHANGE = 2
%EQUATE `DISPID_DOUBLECLICK = 3
%EQUATE `DISPID_INITIALIZED = 4
%EQUATE `DISPID_MOVESELECTIONUP = 1
%EQUATE `DISPID_MOVESELECTIONDOWN = 2
%EQUATE `DISPID_RESETSORT = 3
%EQUATE `DISPID_NEWFOLDER = 4
%EQUATE `DISPID_SYNCHRONIZE = 5
%EQUATE `DISPID_IMPORT = 6
%EQUATE `DISPID_EXPORT = 7
%EQUATE `DISPID_INVOKECONTEXTMENU = 8
%EQUATE `DISPID_MOVESELECTIONTO = 9
%EQUATE `DISPID_SUBSCRIPTIONSENABLED = 10
%EQUATE `DISPID_CREATESUBSCRIPTION = 11
%EQUATE `DISPID_DELETESUBSCRIPTION = 12
%EQUATE `DISPID_SETROOT = 13
%EQUATE `DISPID_ENUMOPTIONS = 14
%EQUATE `DISPID_SELECTEDITEM = 15
%EQUATE `DISPID_ROOT = 16
%EQUATE `DISPID_DEPTH = 17
%EQUATE `DISPID_MODE = 18
%EQUATE `DISPID_FLAGS = 19
%EQUATE `DISPID_TVFLAGS = 20
%EQUATE `DISPID_NSCOLUMNS = 21
%EQUATE `DISPID_COUNTVIEWTYPES = 22
%EQUATE `DISPID_SETVIEWTYPE = 23
%EQUATE `DISPID_SELECTEDITEMS = 24
%EQUATE `DISPID_EXPAND = 25
%EQUATE `DISPID_UNSELECTALL = 26
#ENDIF
