IShellUIHelper4::msSiteModeClearJumpList Method

New for Windows Internet Explorer 9

Deletes the Jump List.

Syntax


HRESULT msSiteModeClearJumpList(VOID);

Return Value

Returns one of the following values.

S_OK The operation completed successfully.
E_NOTIMPL This method is not supported on Windows CE.

Remarks

The msSiteModeClearJumpList removes the custom Jump List and all items that have been associated with it. It does not remove Jump List items that have been pinned by the user. This method also clears any information about which items have been removed by the user, and prevents the onmssitemodejumplistitemremoved event from being raised. After a Jump List has been removed, you must call msSiteModeCreateJumpList before you can add any items back to the list.

If you only want to recreate the list, or replace the existing list with a new one, you do not need to clear the Jump List first. The preferred method of recreating a Jump List is to just call msSiteModeCreateJumpList.

See Also

IShellUIHelper4::msSiteModeCreateJumpList

Community Additions

ADD
Show:
© 2014 Microsoft