VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Empties the recycle Bin.

Bird  (7 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Unknown Difficulty   Thu 26th June 2003   Mon 8th February 2021

Empties the recycle Bin.

API Declarations


Const SHERB_NOPROGRESSUI = &H2
Const SHERB_NOSOUND = &H4
Private Type ULARGE_INTEGER
LowPart As Long
HighPart As Long
End Type
Private Type SHQUERYRBINFO
cbSize As Long
i64Size As ULARGE_INTEGER
i64NumItems As ULARGE_INTEGER
End Type
Private Declare Function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal hwnd As Long, ByVal pszRootPath As String, ByVal dwFlags As Long) As Long
Private Declare Function SHUpdateRecycleBinIcon Lib "shell32.dll" () As Long
Private Declare Function SHQueryRecycleBin Lib "shell32.dll" Alias "SHQueryRecycleBinA" (ByVal pszRootPath As String, pSHQueryRBInfo As SHQUERYRBINFO) As Long


Rate Empties the recycle Bin. (1(1 Vote))
Empties the recycle Bin..bas

Empties the recycle Bin. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters