IApplicationDocumentLists interface

Exposes methods that allow an application to retrieve the contents of the Recent or Frequent categories in a Jump List.

Members

The IApplicationDocumentLists interface inherits from the IUnknown interface. IApplicationDocumentLists also has these types of members:

Methods

The IApplicationDocumentLists interface has these methods.

MethodDescription
GetList

Retrieves an object that represents the collection of destinations listed in the Recent or Frequent category in a Jump List.

SetAppID

Specifies a unique AppUserModelID for the application whose destination lists are being retrieved. This method is optional.

 

Remarks

When to Implement

An implementation of this interface is provided in Windows as CLSID_ApplicationDocumentLists. This interface is not implemented by third parties.

When to Use

An application calls the methods of this interface when it wants to retrieve a Jump List's Recent or Frequent list. These lists are generated through calls to SHAddToRecentDocs, either explicitly or by the system when a file is opened through Windows Explorer or the common file dialog is used to open, save, or create a file.

IApplicationDocumentLists is used only with the automatically generated Recent or Frequent categories. It cannot retrieve a list of items that the user has pinned to the Jump List. That list cannot be retrieved programmatically because it cannot be manipulated programmatically; it is strictly under the user's control. IApplicationDocumentLists also cannot access custom categories or the task list.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

Library

Shell32.lib

DLL

Shell32.dll (version 6.1 or later)

See also

Taskbar Extensions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft