SHAddToRecentDocsSHAddToRecentDocs*
*Contents  *Index  *Topic Contents
*Previous Topic: SetWindowContextHelpId
*Next Topic: SHAppBarMessage

SHAddToRecentDocs


WINSHELLAPI void WINAPI SHAddToRecentDocs(
    UINT uFlags, 
    LPCVOID pv
); 

Adds a document to the shell's list of recently used documents or clears all documents from the list. The user gains access to the list through the Start menu of the Windows taskbar.

uFlags
Flag that indicates the meaning of the pv parameter. This flag can be one of the following values:
SHARD_PATH The pv parameter contains the address of a path string.
SHARD_PIDL The pv parameter contains the address of an item identifier list (PIDL) that identifies a file object. PIDLs that identify nonfile objects are not allowed.
pv
Address of a character buffer that contains the path and file name of the document, or the address of an ITEMIDLIST structure that contains an item identifier list that uniquely identifies the document. If this parameter is NULL, the function clears all documents from the list.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.