SHQueryRecycleBinSHQueryRecycleBin*
*



Contents  *



Index  *Topic Contents
*Previous Topic: SHLoadInProc
*Next Topic: SOBailOut

SHQueryRecycleBin


SHSTDAPI SHQueryRecycleBin(
    LPCTSTR pszRootPath, 
    LPSHQUERYRBINFO pSHQueryRBInfo
);		

Retrieves the size of the Recycle Bin, and number of items in it, on the specified drive.

pszRootPath
Address of a NULL-terminated string to contain the path of the root drive on which the Recycle Bin is located. This parameter can contain the address of a string formatted with the drive, folder, and subfolder names (c:\windows\system . . .). It can also contain an empty string or NULL. If this value is an empty string or NULL, information is retrieved for all Recycle Bins on all drives.
pSHQueryRBInfo
Address of a SHQUERYRBINFO structure that receives the Recycle Bin information. The cbSize member of the structure must be set to the size of the structure before calling this API.

See also SHEmptyRecycleBin


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.