Article ID: 160957
Article Last Modified on 6/14/2007
ApplicationName : iexplore DDE Transaction Type: XTYP_EXECUTE or XTYP_REQUESTTopic and item names and expected return values for each verb are described below. Note that Internet Explorer version 2.0 and earlier used "mosaic" as its service name, instead of "iexplore."
topicName: WWW_OpenURL itemName : URL <Example: "<WWLINK TYPE="GENERIC" VALUE="http://www.microsoft.com">">http://www.microsoft.com"></WWLINK> returnValue: -2 for acknowledgment, -3 for errorIn the 32-bit versions of Internet Explorer, all other parameters specified in the SDI spec are ignored.
itemName: URL,[FileSpec],WindowID <Example: "<WWLINK TYPE="GENERIC" VALUE="http://www.microsoft.com",,0>">http://www.microsoft.com",,0></WWLINK>
topicName: WWW_ShowFile itemName: FileSpec returnValue: -2 for acknowledgment, -3 for error
topicName: WWW_Activate itemName: WindowID <any value> returnValue: WindowIDAll other parameters are ignored.
topicName: WWW_Exit itemName: WWW_Exit returnValue: 0
topicName: WWW_RegisterURLEcho itemName: ApplicationName (enclosed in double quotes) returnValue: Non-Zero for success, 0 for failureApplicationName is a DDE server that is registered to receive WWW_URLEcho notifications from the browser with the following information:
topicName (hsz1): WWW_URLEcho itemName (hsz2): URL,MIMEType,WindowID <Example: "<WWLINK TYPE="GENERIC" VALUE="http://www.home.com","text/html",-1>">http://www.home.com","text/html",-1></WWLINK> Transaction: XTYP_POKE
topicName: WWW_UnRegisterURLEcho itemName: ApplicationName (enclosed in double quotes) returnValue: 0Internet Explorer 4 returns success/failure on this (instead of ALWAYS 0).
topic Name: WWW_RegisterProtocol item Name: AppName,Protocol <Example:"AppName","mailto">Where "AppName" is Server.exe's registered Service Name, and "mailto" is the protocol to be registered.
"\"AppName\",\"mailto\"" returnValue: Non-Zero for success, 0 for failureServer.exe will then get notifications from the browser with the following information:
topic Name (hsz1): WWW_OpenURL item Name (hsz2): URL,[FileSpec],WindowID,Flags <Example:"mailto:billg@ms.com",,-1,0> Transaction: XTYP_REQUEST
topicName: WWW_UnRegisterProtocol itemName: ApplicationName (enclosed in double quotes) returnValue: 0
topicName: WWW_ListWindows itemName: WWW_ListWindows returns: NumItemsInTheList,ArrayOfWindowIDs (ie [count,winID,winID,winID])Currently Internet Explorer does not return a list of window IDs, but rather a list corresponding to the number of instances of the browser that are currently opened. For additional information, please see the following article in the Microsoft Knowledge Base:
191508 PRB: Confusing Return Values from DDE topic WWW_ListWindows
topicName: WWW_GetWindowInfo itemName: WWW_GetWindowInfo returnValue: URL,WindowText <Example: "<WWLINK TYPE="GENERIC" VALUE="http://www.microsoft.com/","Microsoft">http://www.microsoft.com/","Microsoft</WWLINK> Home Page">Note that the strings are quoted; therefore, double quotes are denoted with backslashes. For example, if the title consists of the three characters !"!, the title portion of the returned string as the six characters "!\"!".
16bit 16bit SP1 Beta
3.02 3.03 4.0 4.0 4.01 4.01 5.0
DDE Topic Status * 1712 PP2 2106 3110 626
___________________________ ________ __________________________________
WWW_Activate SpyGlass X X X X X X X
WWW_BeginProgress SpyGlass X
WWW_CancelTransaction SpyGlass X X
WWW_EndProgress SpyGlass X
WWW_Exit SpyGlass X X X X X X X
WWW_GetWindowInfo SpyGlass X X X X X X X
WWW_ListWindows SpyGlass X X X X X X X
WWW_MakingProgress SpyGlass X
WWW_OpenURL SpyGlass X X X X X X X
WWW_OpenURLResult SpyGlass X
WWW_ParseAnchor SpyGlass X X
WWW_QueryVersion SpyGlass X X
WWW_RegisterAppClose SpyGlass X
WWW_RegisterDone SpyGlass X X
WWW_RegisterProtocol SpyGlass X X
WWW_RegisterURLEcho SpyGlass X X X X X X X
WWW_RegisterViewer SpyGlass X X
WWW_RegisterWindowClose SpyGlass X X
WWW_SetProgressRange SpyGlass X
WWW_ShowFile SpyGlass X X X X X X X
WWW_UnRegisterAppClose SpyGlass X
WWW_UnRegisterProtocol SpyGlass X X
WWW_UnRegisterURLEcho SpyGlass X X X X X X X
WWW_UnRegisterWindowClose SpyGlass X X
WWW_UnRegisterViewer SpyGlass X X
For additional information, please see the following articles in the
Microsoft Knowledge Base:
160976 How to Control the Currently Running Instance of IE3 via DDE
191508 Confusing Return Values from DDE topic WWW_ListWindows
Additional query words: DDE kbDSupport kbdsi ie2 ie
Keywords: kbdde kbinfo KB160957