找回密码
 加入
搜索
查看: 10396|回复: 18

[原创] 希望对做软件批量下载的有帮助

  [复制链接]
发表于 2008-9-7 13:01:46 | 显示全部楼层 |阅读模式
;网上现在很多一键安装软件的程序,迅雷的呀。超级兔子的呀。一大堆。

;本来这个文章我很久以前就写好了,但是我搞丢了。。。
;现在重新来,没关系。

;原先想的是用迅雷直接下载,多快。。。后来发现调用迅雷每次必须手动确认。要分一个线程出来模拟鼠标点击。
;我喜欢遨游浏览器。只是老假死。靠。
;废话不多说。

;遨游浏览器使用的迅雷的下载技术。(内幕?我不知道哦。)

;来看看遨游的下载是怎样的:
;进程名称:MxDownloadServer.exe
;WEB页面路径:...\Maxthon2\template\Download\index.htm
;OBJ名称:MxDownloadServer.ThunderMx  或者MxDownloadServer.ThunderMx.1
;OBJ接口代码(C++样式):
;原先也写过AU3版本的迅雷简单添加脚本,参考汉化版本中的userinclude目录。
;不会改为AU3的,对照着改下。

 
[
  odl,
  uuid(41906A82-C6BE-4329-96D5-543B29A18BA9),
  helpstring("IThunderMx Interface"),
  dual,
  oleautomation
]
interface IThunderMx : IDispatch {
    [id(0x00000001), helpstring("method CommitTask")]
    HRESULT CommitTask(
                    [in] int nCmd, 
                    [in] BSTR pUrl, 
                    [in] BSTR pPath, 
                    [out, retval] int* pnResult);
     
    [id(0x00000002), helpstring("method GetTaskCount")]
    HRESULT GetTaskCount(
                    [in] BSTR pCategoryId, 
                    [out, retval] int* pnResult);
     
    [id(0x00000003), helpstring("method GetTaskList")]
    HRESULT GetTaskList(
                    [in] BSTR pCategoryId, 
                    [in] int nBeginIndex, 
                    [in] int nCount, 
                    [in] int nSortType, 
                    [out, retval] BSTR* ppResult);
     
    [id(0x00000004), helpstring("method SetCallbackEntry")]
    HRESULT SetCallbackEntry(
                    [in] int nDispId, 
                    [in] VARIANT vFunc, 
                    [out, retval] long* pbResult);

    [id(0x00000005), helpstring("method GetRunningTaskCount")]
    HRESULT GetRunningTaskCount(
                    [in] BSTR pCategoryId, 
                    [out, retval] int* pnResult);

    [id(0x00000006), helpstring("method CallAddTask")]
    HRESULT CallAddTask(
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] int nIsAsync, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [out, retval] int* pnResult);
    [id(0x00000007), helpstring("method test")]
    HRESULT test(
                    [in] int x, 
                    [out, retval] int* y);
    [id(0x00000008), helpstring("method CancelCallbackEntry")]
    HRESULT CancelCallbackEntry([in] int nDispId);
    [id(0x00000009), helpstring("method GetVariable")]
    HRESULT GetVariable(
                    [in] BSTR pName, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000000a), helpstring("method SetVariable")]
    HRESULT SetVariable(
                    [in] BSTR pName, 
                    [in] BSTR pValue);
    [id(0x0000000b), helpstring("method GetConfig")]
    HRESULT GetConfig(
                    [in] BSTR pSectionName, 
                    [in] BSTR pKeyName, 
                    [in] BSTR pDefaultValue, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000000c), helpstring("method SetConfig")]
    HRESULT SetConfig(
                    [in] BSTR pSectionName, 
                    [in] BSTR pKeyName, 
                    [in] BSTR pValue, 
                    [out, retval] int* pnResult);
    [id(0x0000000d), helpstring("method StartTask")]
    HRESULT StartTask(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x0000000e), helpstring("method StopTask")]
    HRESULT StopTask(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x0000000f), helpstring("method DeleteTask")]
    HRESULT DeleteTask(
                    [in] BSTR pTaskId, 
                    [in] int nDeleteFile, 
                    [out, retval] int* pnResult);
    [id(0x00000010), helpstring("method ParseUrl")]
    HRESULT ParseUrl(
                    [in] BSTR pUrl, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000011), helpstring("method SelectFolder")]
    HRESULT SelectFolder(
                    [in] BSTR pTitle, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000012), helpstring("method SelectFile")]
    HRESULT SelectFile(
                    [in] BSTR pTitle, 
                    [in] BSTR pExtList, 
                    [in] int nIsOpen, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000013), helpstring("method OpenTaskFolder")]
    HRESULT OpenTaskFolder(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000014), helpstring("method OpenTaskFile")]
    HRESULT OpenTaskFile(
                    [in] BSTR pTaskId, 
                    [in, optional, defaultvalue(-1)] int nIndex, 
                    [out, retval] int* pnResult);
    [id(0x00000015), helpstring("method OpenUrl")]
    HRESULT OpenUrl(
                    [in] BSTR pUrl, 
                    [in] int nIsHide, 
                    [out, retval] int* pnResult);
    [id(0x00000016), helpstring("method ApplySettings")]
    HRESULT ApplySettings([out, retval] int* pnResult);
    [id(0x00000017), helpstring("method GetTaskProperties")]
    HRESULT GetTaskProperties(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000018), helpstring("method SetTaskProperties")]
    HRESULT SetTaskProperties(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000019), helpstring("method QueryDeleteTask")]
    HRESULT QueryDeleteTask([out, retval] int* pnResult);
    [id(0x0000001a), helpstring("method GetIntelligentName")]
    HRESULT GetIntelligentName(
                    [in] BSTR pFileName, 
                    [in] BSTR pComments, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000001b), helpstring("method DownloadAgain")]
    HRESULT DownloadAgain(
                    [in] BSTR pTaskId, 
                    [in] int nFromOrigin, 
                    [out, retval] int* pnResult);
    [id(0x0000001c), helpstring("method GetTaskListInfo")]
    HRESULT GetTaskListInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000001d), helpstring("method GetGeneralErrorString")]
    HRESULT GetGeneralErrorString(
                    [in] int nErrorCode, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000001e), helpstring("method GetErrorCodeAndBase64Url")]
    HRESULT GetErrorCodeAndBase64Url(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000001f), helpstring("method GetDownloadErrorString")]
    HRESULT GetDownloadErrorString(
                    [in] int nErrorCode, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000020), helpstring("method GetResourceInfo")]
    HRESULT GetResourceInfo(
                    [in] BSTR pTaskId, 
                    [in] int nNeedUpdate, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000021), helpstring("method Debug")]
    HRESULT Debug(
                    [in] BSTR pString, 
                    [out, retval] int* pnResult);
    [id(0x00000022), helpstring("method GetVersion")]
    HRESULT GetVersion([out, retval] BSTR* ppResult);
    [id(0x00000023), helpstring("method GetServerPath")]
    HRESULT GetServerPath([out, retval] BSTR* ppResult);
    [id(0x00000024), helpstring("method GetSubCategory")]
    HRESULT GetSubCategory([out, retval] BSTR* ppResult);
    [id(0x00000025), helpstring("method AddCategory")]
    HRESULT AddCategory(
                    [in] BSTR pName, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000026), helpstring("method DeleteCategory")]
    HRESULT DeleteCategory(
                    [in] BSTR pCategoryId, 
                    [out, retval] int* pnResult);
    [id(0x00000027), helpstring("method ModifyCategoryName")]
    HRESULT ModifyCategoryName(
                    [in] BSTR pCategoryId, 
                    [in] BSTR pNewName, 
                    [out, retval] int* pnResult);
    [id(0x00000028), helpstring("method GetTaskInfoSnap")]
    HRESULT GetTaskInfoSnap(
                    [in] BSTR pTaskIdList, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000029), helpstring("method GetGlobalSpeed")]
    HRESULT GetGlobalSpeed([out, retval] VARIANT* pvResult);
    [id(0x0000002a), helpstring("method SetBrowserWindowData")]
    HRESULT SetBrowserWindowData(
                    [in] BSTR pUrl, 
                    [in] BSTR pTitle, 
                    [out, retval] int* pnResult);
    [id(0x0000002b), helpstring("method GetBrowserWindowSize")]
    HRESULT GetBrowserWindowSize([out, retval] BSTR* ppResult);
    [id(0x0000002c), helpstring("method SetBrowserWindowSize")]
    HRESULT SetBrowserWindowSize(
                    [in] int nLeft, 
                    [in] int nTop, 
                    [in] int nWidth, 
                    [in] int nHeight, 
                    [out, retval] int* pnResult);
    [id(0x0000002d), helpstring("method IsBrowserWindowVisible")]
    HRESULT IsBrowserWindowVisible([out, retval] int* pnResult);
    [id(0x0000002e), helpstring("method ShowBrowserWindow")]
    HRESULT ShowBrowserWindow([out, retval] int* pnResult);
    [id(0x0000002f), helpstring("method HideBrowserWindow")]
    HRESULT HideBrowserWindow(
                    [in, optional, defaultvalue(-1)] int nFlag, 
                    [out, retval] int* pnResult);
    [id(0x00000030), helpstring("method AdjustCategoryIndex")]
    HRESULT AdjustCategoryIndex(
                    [in] BSTR pCategoryId, 
                    [in] int nDelta, 
                    [out, retval] int* pnResult);
    [id(0x00000031), helpstring("method ShowRepeatDownload")]
    HRESULT ShowRepeatDownload([out, retval] int* pnResult);
    [id(0x00000032), helpstring("method GetAutoStart")]
    HRESULT GetAutoStart([out, retval] int* pnResult);
    [id(0x00000033), helpstring("method SetAutoStart")]
    HRESULT SetAutoStart(
                    [in] int nAutoStart, 
                    [out, retval] int* pnResult);
    [id(0x00000034), helpstring("method DoPreDownload")]
    HRESULT DoPreDownload();
    [id(0x00000035), helpstring("method GetConnectInfoCount")]
    HRESULT GetConnectInfoCount(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000036), helpstring("method RenameTaskFile")]
    HRESULT RenameTaskFile(
                    [in] BSTR pTaskId, 
                    [in] int nRenameMethod, 
                    [out, retval] int* pnResult);
    [id(0x00000037), helpstring("method SearchTask")]
    HRESULT SearchTask(
                    [in] int nMask, 
                    [in] BSTR pUrl, 
                    [in] BSTR pFileName, 
                    [in] BSTR pRes, 
                    [out, retval] int* pnResult);
    [id(0x00000038), helpstring("method BeginBatchTask")]
    HRESULT BeginBatchTask([out, retval] int* pnResult);
    [id(0x00000039), helpstring("method AddTaskToBatch")]
    HRESULT AddTaskToBatch(
                    [in] int nBatchId, 
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in, optional, defaultvalue("")] BSTR pCID, 
                    [in, optional, defaultvalue("")] BSTR pStatURL, 
                    [out, retval] int* pnResult);
    [id(0x0000003a), helpstring("method EndBatchTask")]
    HRESULT EndBatchTask(
                    [in] int nBatchId, 
                    [out, retval] int* pnResult);
    [id(0x0000003b), helpstring("method Login")]
    HRESULT Login(
                    [in] int nLoginType, 
                    [in] int nNameType, 
                    [in] BSTR pUserName, 
                    [in] BSTR pPassword, 
                    [out, retval] int* pnResult);
    [id(0x0000003c), helpstring("method GetLoginStatus")]
    HRESULT GetLoginStatus([out, retval] int* pnResult);
    [id(0x0000003d), helpstring("method GetLoginResponse")]
    HRESULT GetLoginResponse([out, retval] BSTR* ppResult);
    [id(0x0000003e), helpstring("method Logout")]
    HRESULT Logout([out, retval] int* pnResult);
    [id(0x0000003f), helpstring("method GetLoginUserName")]
    HRESULT GetLoginUserName([out, retval] BSTR* ppResult);
    [id(0x00000040), helpstring("method CallAddTask2")]
    HRESULT CallAddTask2(
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] int nIsAsync, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [in] BSTR pCookie, 
                    [out, retval] int* pnResult);
    [id(0x00000041), helpstring("method MakeResourcePublishKey")]
    HRESULT MakeResourcePublishKey(
                    [in] BSTR pString, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000042), helpstring("method UpdateResourceInfo")]
    HRESULT UpdateResourceInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000043), helpstring("method CanPublishResource")]
    HRESULT CanPublishResource(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000044), helpstring("method GetFileIcon")]
    HRESULT GetFileIcon(
                    [in] BSTR pFilePath, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000045), helpstring("method ExportDownloadList")]
    HRESULT ExportDownloadList(
                    [in] BSTR pTaskIdList, 
                    [out, retval] int* pnResult);
    [id(0x00000046), helpstring("method SetCurrentViewCategory")]
    HRESULT SetCurrentViewCategory(
                    [in] BSTR pCategoryId, 
                    [out, retval] int* pnResult);
    [id(0x00000047), helpstring("method GetJumpKey")]
    HRESULT GetJumpKey([out, retval] BSTR* ppResult);
    [id(0x00000048), helpstring("method CheckOnline")]
    HRESULT CheckOnline([out, retval] int* pnResult);
    [id(0x00000049), helpstring("method GetPartnerId")]
    HRESULT GetPartnerId([out, retval] BSTR* ppResult);
    [id(0x0000004a), helpstring("method MoveTask")]
    HRESULT MoveTask(
                    [in] BSTR pIdList, 
                    [in, optional, defaultvalue(0)] int nCancel, 
                    [out, retval] int* pnResult);
    [id(0x0000004b), helpstring("method GetSystemConnectionLimit")]
    HRESULT GetSystemConnectionLimit([out, retval] int* pnResult);
    [id(0x0000004c), helpstring("method SetSystemConnectionLimit")]
    HRESULT SetSystemConnectionLimit(
                    [in] int nLimitCount, 
                    [out, retval] int* pnResult);
    [id(0x0000004d), helpstring("method OpenWebThunder")]
    HRESULT OpenWebThunder([out, retval] int* pnResult);
    [id(0x0000004e), helpstring("method UpdateWebThunder")]
    HRESULT UpdateWebThunder(
                    [in] int nUpdateMode, 
                    [in] int nVersion, 
                    [out, retval] int* pnResult);
    [id(0x0000004f), helpstring("method GetTaskFileStatus")]
    HRESULT GetTaskFileStatus(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000050), helpstring("method GetRegisterLastError")]
    HRESULT GetRegisterLastError([out, retval] int* pnResult);
    [id(0x00000051), helpstring("method TestProxy")]
    HRESULT TestProxy(
                    [in] int nProxyType, 
                    [in] BSTR pServerIP, 
                    [in] int nPortNumber, 
                    [in] BSTR pUserName, 
                    [in] BSTR pPassword, 
                    [out, retval] int* pnResult);
    [id(0x00000052), helpstring("method IsIEProxyExists")]
    HRESULT IsIEProxyExists([out, retval] int* pnResult);
    [id(0x00000053), helpstring("method GetShutdownOnFinished")]
    HRESULT GetShutdownOnFinished([out, retval] int* pnResult);
    [id(0x00000054), helpstring("method SetShutdownOnFinished")]
    HRESULT SetShutdownOnFinished(
                    [in] int nEnabled, 
                    [out, retval] int* pnResult);
    [id(0x00000055), helpstring("method IsResourceCollected")]
    HRESULT IsResourceCollected(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000056), helpstring("method GetBlogInfo")]
    HRESULT GetBlogInfo([out, retval] BSTR* ppResult);
    [id(0x00000057), helpstring("method GetTaskBlogInfo")]
    HRESULT GetTaskBlogInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000058), helpstring("method AddItemToLocalBlogInfo")]
    HRESULT AddItemToLocalBlogInfo(
                    [in] BSTR pTaskId, 
                    [in] int nBlogCategoryId, 
                    [out, retval] int* pnResult);
    [id(0x00000059), helpstring("method UpdateBlogInfo")]
    HRESULT UpdateBlogInfo([out, retval] int* pnResult);
    [id(0x0000005a), helpstring("method RepairBHO")]
    HRESULT RepairBHO(
                    [in] int nShowMessage, 
                    [out, retval] int* pnResult);
    [id(0x0000005b), helpstring("method GetTaskPlayUrl")]
    HRESULT GetTaskPlayUrl(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000005c), helpstring("method GetIEMajorVersion")]
    HRESULT GetIEMajorVersion([out, retval] int* pnResult);
    [id(0x0000005d), helpstring("method GetOptimizeConnectionCount")]
    HRESULT GetOptimizeConnectionCount([out, retval] int* pnResult);
    [id(0x0000005e), helpstring("method AddTaskToBatch2")]
    HRESULT AddTaskToBatch2(
                    [in] int nBatchId, 
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [in] BSTR pCookie, 
                    [out, retval] int* pnResult);
    [id(0x0000005f), helpstring("method GetDiskInfo")]
    HRESULT GetDiskInfo(
                    [in] BSTR pDiskRoot, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000060), helpstring("method OpenDirectory")]
    HRESULT OpenDirectory(
                    [in] BSTR pDirectory, 
                    [out, retval] int* pnResult);
    [id(0x00000061), helpstring("method SetDownloadMode")]
    HRESULT SetDownloadMode(
                    [in] BSTR pTaskId, 
                    [in] int nMode);
    [id(0x00000062), helpstring("method StartPlay")]
    HRESULT StartPlay([in] BSTR pTaskId);
    [id(0x00000063), helpstring("method ImportTask")]
    HRESULT ImportTask([out, retval] int* pnResult);
    [id(0x00000064), helpstring("method ImportList")]
    HRESULT ImportList([out, retval] int* pnResult);
    [id(0x00000065), helpstring("method SetTaskPriority")]
    HRESULT SetTaskPriority(
                    [in] BSTR pTaskId, 
                    [in] int nPriority, 
                    [out, retval] int* pnResult);
    [id(0x00000066), helpstring("method CreatePathTree")]
    HRESULT CreatePathTree(
                    [in] BSTR pPathTree, 
                    [out, retval] int* pnResult);
    [id(0x00000067), helpstring("method ImportBtTorrentFile")]
    HRESULT ImportBtTorrentFile([out, retval] int* pnResult);
    [id(0x00000068), helpstring("method RevertTask")]
    HRESULT RevertTask(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000069), helpstring("method OperateAllTask")]
    HRESULT OperateAllTask(
                    [in] BSTR pCategoryId, 
                    [in] int nOperation, 
                    [in] int nParameter, 
                    [out, retval] int* pnResult);
    [id(0x0000006a), helpstring("method GetConnectInfo")]
    HRESULT GetConnectInfo(
                    [in] BSTR pTaskId, 
                    [in] int nCntIndex, 
                    [in] int nBegIndex, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000006b), helpstring("method SetProperty")]
    HRESULT SetProperty(
                    [in] BSTR pKey, 
                    [in] BSTR pValue);
    [id(0x0000006c), helpstring("method GetProperty")]
    HRESULT GetProperty(
                    [in] BSTR pKey, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000006d), helpstring("method UpdateUpload")]
    HRESULT UpdateUpload(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x0000006e), helpstring("method SaveSeedFile")]
    HRESULT SaveSeedFile(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x0000006f), helpstring("method GetBlogAddInfo")]
    HRESULT GetBlogAddInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000070), helpstring("method GetPublishInfo")]
    HRESULT GetPublishInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000071), helpstring("method ReadWriteResourceInfo")]
    HRESULT ReadWriteResourceInfo(
                    [in] BSTR pCID, 
                    [in] BSTR pInfo, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000072), helpstring("method GetFileIconPath")]
    HRESULT GetFileIconPath(
                    [in] BSTR pFilePath, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000073), helpstring("method GetTaskInfo")]
    HRESULT GetTaskInfo(
                    [in] BSTR pTaskId, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000074), helpstring("method SetTaskConfig")]
    HRESULT SetTaskConfig(
                    [in] BSTR pTaskId, 
                    [in] BSTR pKeyName, 
                    BSTR pKeyValue, 
                    [out, retval] int* pnResult);
    [id(0x00000075), helpstring("method GetTaskConfig")]
    HRESULT GetTaskConfig(
                    [in] BSTR pTaskId, 
                    [in] BSTR pKeyName, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000076), helpstring("method StartAll")]
    HRESULT StartAll([out, retval] int* pnResult);
    [id(0x00000077), helpstring("method StopAll")]
    HRESULT StopAll([out, retval] int* pnResult);
    [id(0x00000078), helpstring("method RestoreTask")]
    HRESULT RestoreTask(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000079), helpstring("method SearchTaskList")]
    HRESULT SearchTaskList(
                    [in] BSTR pKeywords, 
                    [in] int nBeginIndex, 
                    [in] int nCount, 
                    [in] int nSortType, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000007a), helpstring("method DisableP2PService")]
    HRESULT DisableP2PService(
                    [in] int bDisable, 
                    [out, retval] int* pnResult);
    [id(0x0000007b), helpstring("method CloseApp")]
    HRESULT CloseApp([out, retval] int* pnResult);
    [id(0x0000007c), helpstring("method setLang")]
    HRESULT setLang(
                    [in] BSTR pStrPath, 
                    [out, retval] int* pnResult);
    [id(0x0000007d), helpstring("method SetConfigFile")]
    HRESULT SetConfigFile(
                    [in] BSTR bstrFilePath, 
                    [out, retval] int* pnResult);
    [id(0x0000007e), helpstring("method GetTaskList2")]
    HRESULT GetTaskList2(
                    [in] BSTR pCategoryId, 
                    [in] int nBeginIndex, 
                    [in] int nCount, 
                    [in] int nSortType, 
                    [in] int nIsDesc, 
                    [out, retval] BSTR* ppResult);
    [id(0x0000007f), helpstring("method GetTotalTaskCount")]
    HRESULT GetTotalTaskCount([out, retval] int* pnResult);
    [id(0x00000080), helpstring("method SetParent")]
    HRESULT SetParent(
                    [in] int hWndParent, 
                    [out, retval] int* pnResult);
    [id(0x00000081), helpstring("method ShowSetting")]
    HRESULT ShowSetting([out, retval] int* pnResult);
    [id(0x00000082), helpstring("method ShowTaskProp")]
    HRESULT ShowTaskProp(
                    [in] BSTR pTaskId, 
                    [out, retval] int* pnResult);
    [id(0x00000083), helpstring("method GetTaskCount2")]
    HRESULT GetTaskCount2(
                    [in] BSTR bstrCateIds, 
                    [out, retval] BSTR* ppResult);
    [id(0x00000084), helpstring("method InitDownloader")]
    HRESULT InitDownloader([out, retval] int* pnResult);
    [id(0x00000085), helpstring("method IsDownloaderInited")]
    HRESULT IsDownloaderInited([out, retval] int* pnResult);
    [id(0x00000086), helpstring("method ShowToolTip")]
    HRESULT ShowToolTip(
                    [in] int nPtX, 
                    [in] int nPtY, 
                    [in] int bBelow, 
                    [out, retval] int* pnResult);
    [id(0x00000087), helpstring("method HideToolTips")]
    HRESULT HideToolTips([out, retval] int* pnResult);
    [id(0x00000088), helpstring("method SetParent2")]
    HRESULT SetParent2(
                    [in] int hWndParent, 
                    [in] int nMessageID, 
                    [out, retval] int* pnResult);
    [id(0x00000089), helpstring("method MTask")]
    HRESULT MTask(
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] int nIsAsync, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [in] BSTR pCookie, 
                    [in] BSTR pPath, 
                    [in] BSTR pReserved1, 
                    [in] BSTR pReserved2, 
                    [in] BSTR pReserved3, 
                    [out, retval] int* pnResult);
    [id(0x0000008a), helpstring("method CallAddTask3")]
    HRESULT CallAddTask3(
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] int nIsAsync, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [in] BSTR pCookie, 
                    [in] BSTR pDataLength, 
                    [in] BSTR pReserved, 
                    [in] BSTR pReserved2, 
                    [in] BSTR pReserved3, 
                    [out, retval] int* pnResult);
    [id(0x0000008b), helpstring("method MTask2")]
    HRESULT MTask2(
                    [in] BSTR pUrl, 
                    [in] BSTR pComments, 
                    [in] BSTR pReferURL, 
                    [in] int nIsAsync, 
                    [in] BSTR pCID, 
                    [in] BSTR pStatURL, 
                    [in] BSTR pCookie, 
                    [in] BSTR pPath, 
                    [in] BSTR pReserved1, 
                    [in] BSTR pReserved2, 
                    [in] BSTR pReserved3, 
                    [out, retval] BSTR* pnResult);
    [id(0x0000008c), helpstring("method RegisterTaskCallBack")]
    HRESULT RegisterTaskCallBack(
                    BSTR bTaskID, 
                    int CallBackHWND);
    [id(0x0000008d), helpstring("method GetTaskSingleInfo")]
    HRESULT GetTaskSingleInfo(
                    [in] BSTR bstrTaskID, 
                    [in] int nInfoType, 
                    [out] BSTR* pBstrResult1, 
                    [out] BSTR* pBstrResult2, 
                    [out, retval] int* pnResult);
    [id(0x0000008e), helpstring("method BatchDeleteTasks")]
    HRESULT BatchDeleteTasks(
                    [in] int anTaskType, 
                    [in] int nDeleteFile, 
                    [out, retval] int* pnResult);
};

发表于 2008-9-7 15:16:12 | 显示全部楼层
= =boring……
发表于 2008-9-8 12:57:14 | 显示全部楼层
神一样的人物已经出现
发表于 2008-9-8 15:45:56 | 显示全部楼层
没怎么看明白
发表于 2008-9-8 16:53:46 | 显示全部楼层
不用马桶 假死 速度慢 ie核心的不爽
发表于 2008-9-8 20:16:47 | 显示全部楼层
opera王道
发表于 2008-9-8 20:35:37 | 显示全部楼层
没用过。。以前用过“世界之窗”,不过自从IE7兼容性改善之后,一直是IE7了。

懒得装其他浏览器了。。。
发表于 2008-9-8 23:57:18 | 显示全部楼层
竟然没看到ff出来,罕见
发表于 2008-9-9 11:02:54 | 显示全部楼层
遨游,世界之窗才是王道!
发表于 2009-4-23 12:47:47 | 显示全部楼层
看的头晕。
发表于 2010-4-6 02:10:47 | 显示全部楼层
看不懂!!!!~~~~
发表于 2010-4-20 16:37:09 | 显示全部楼层
回复 1# thesnow

AU3可以实现吗?
发表于 2011-6-26 16:43:06 | 显示全部楼层
谢谢楼主分享!!!
发表于 2011-10-24 14:37:55 | 显示全部楼层
路过
MARK一下
发表于 2013-4-14 12:03:48 | 显示全部楼层
希望对做软件批量下载的有帮助
收藏标记
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-26 01:35 , Processed in 0.080119 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表