共用方式為


ICustomDestinationList::AbortList 方法 (shobjidl_core.h)

停止 ICustomDestinationList::BeginList 起始的跳躍清單建置會話,而不認可任何變更。

Syntax

HRESULT AbortList();

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

備註

此方法可讓應用程式針對許多交易使用單一 ICustomDestinationList 對象,因為會話可以終止,而不需要認可任何新的數據或終結先前儲存的清單。

規格需求

需求
最低支援的用戶端 Windows 7 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 R2 [僅限傳統型應用程式]
目標平台 Windows
標頭 shobjidl_core.h (包括 Shobjidl.h)
程式庫 Shell32.lib
Dll Shell32.dll (6.1 版或更新版本)

另請參閱

ICustomDestinationList

任務列延伸模組