Group: Shell Functions - Library: shell32
Adds a document to the Shell"s list of recently used documents or clears all documents from the list.
Accessing the list of Windows Recent Documents
VOID SHAddToRecentDocs(
UINT uFlags,
LPCVOID pv
);
DECLARE SHAddToRecentDocs IN shell32;
INTEGER uFlags,;
STRING @ lpName
uFlags [in] Flag that indicates the meaning of the pv parameter.
pv [in] A pointer to either a NULL terminated string with the path and file name of the document, or a PIDL that identifies the document"s file object.
See also: SHGetFolderPath, SHGetFolderLocation, SHSimpleIDListFromPath, SHGetPathFromIDList.