AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

SHAddToRecentDocs

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.

VB4-32,5,6
Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, ByVal pv As String)

Operating Systems Supported
Requires Windows NT 4.0 or later; Requires Windows 95 or later

Library
Shell32

Parameter Information
· uFlags
Flag that indicates the meaning of the pv parameter. This parameter can be one of the following values:
SHARD_PATH
pv is the address of a path string.
SHARD_PIDL
pv is the address of an item identifier list.

· pv
Pointer to a buffer that contains the path and filename of the document, or the address of an ITEMIDLIST structure that contains an item identifier list uniquely identifying the document. If this parameter is NULL, the function clears all documents from the list.

Return Values
No return value.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/