Using Win32 functions in Visual FoxPro Image Gallery
Shell Functions
..msdn
AssocQueryString
DllGetVersion
DragAcceptFiles
DragFinish
DragQueryFile
DragQueryPoint
FileIconInit
FindExecutable
GetFileNameFromBrowse
GetMenuContextHelpId
GetWindowContextHelpId
InetIsOffline
IsUserAnAdmin
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
WinHelp
Code examples:
How to retrieve number of objects in the Recycle Bin
SHQueryRecycleBin
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the size of the Recycle Bin, and the number of items in it, on the specified drive.
Code examples:
How to retrieve number of objects in the Recycle Bin
Declaration:
 
HRESULT SHQueryRecycleBin(
    LPCTSTR pszRootPath,
    LPSHQUERYRBINFO pSHQueryRBInfo
);
 
FoxPro declaration:
 
DECLARE INTEGER SHQueryRecycleBin IN shell32;
    STRING   pszRootPath,;
    STRING @ pSHQueryRBInfo
 
Parameters:
pszRootPath
Address of a null-terminated string of maximum length MAX_PATH to contain the path of the root drive on which the Recycle Bin is located.

pSHQueryRBInfo
Address of a SHQUERYRBINFO structure that receives the Recycle Bin information.
Return value:
Returns S_OK (0) if successful, or an OLE-defined error value otherwise.
Word Index links for the SHQueryRecycleBin :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-04-16 22:34:16
Modified: 2002-04-16 22:36:08
Visited in last 7 days: 25
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.22.25.119)
5 sec.Example: 'Adding user-defined items to the Control Menu of VFP form (requires VFP9)'
39.53 min.Example: 'Displaying standard progress dialog box when copying files'
39.58 min.Function: 'OpenClipboard'
1.64 hrs.Example: 'Retrieving file information for the VFP executable running'
2.17 hrs.Function: 'GetProfileString'
 Example: 'GDI+: sending image of FoxPro form to printer'
 Function: 'GetWindowTextLength'
3.29 hrs.Example: 'Placing a button on the VFP form as a new child window'
 Function: 'InitiateShutdown'
Function group: 'System Shutdown'
3.6 hrs.Example: 'Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file'
Google
Advertise here!