Using Win32 functions in Visual FoxPro Image Gallery
Shell Functions
..msdn
AssocQueryString
DllGetVersion
DragAcceptFiles
DragFinish
DragQueryFile
DragQueryPoint
FileIconInit
FindExecutable
GetFileNameFromBrowse
GetMenuContextHelpId
GetWindowContextHelpId
InetIsOffline
IsUserAnAdmin
LoadUserProfile
PathMakeUniqueName
PathYetAnotherMakeUniqueName
RealDriveType
RestartDialog
SHAddToRecentDocs
SHBrowseForFolder
SHCreateDirectory
ShellAbout
ShellExecute
ShellExecuteEx
Shell_GetImageLists
Shell_NotifyIcon
SHEmptyRecycleBin
SHFileOperation
SHFormatDrive
SHGetFileInfo
SHGetFolderPath
SHGetPathFromIDList
SHGetSpecialFolderLocation
SHGetStockIconInfo
SHParseDisplayName
SHQueryRecycleBin
SHSimpleIDListFromPath
UnloadUserProfile
WinHelp
Code examples:
How to empty the Recycle Bin
SHEmptyRecycleBin
..msdn    Add comment     W32 Constants      Translate this page
Empties the Recycle Bin on the specified drive.
Code examples:
How to empty the Recycle Bin
Declaration:
HRESULT SHEmptyRecycleBin(
    HWND hwnd,
    LPCTSTR pszRootPath,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER SHEmptyRecycleBin IN shell32;
    INTEGER hwnd,;
    STRING  pszRootPath,;
    LONG    dwFlags
Parameters:
hwnd
Handle to the parent window of any dialog boxes that might be displayed during the operation.

pszRootPath
Address of a null-terminated string of maximum length MAX_PATH that contains the path of the root drive on which the Recycle Bin is located.

dwFlags
One or more of the predefined values.
Return value:
Returns S_OK (0) if successful, or an OLE-defined error value otherwise.
Word Index links for the SHEmptyRecycleBin :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-04-16 22:29:44
Modified: 2002-04-16 22:32:19
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.35), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.184.64)
46 sec.Function: 'RegCloseKey'
1.97 min.Function: 'SetFileAttributes'
2.03 min.Function: 'SetProp'
2.1 min.Function: 'SQLConnect'
2.52 min.Function: 'SHAddToRecentDocs'
2.78 min.Function: 'SetPrinter'
4.07 min.Function: 'WSAWaitForMultipleEvents'
Google
Advertise here!