SHQueryRecycleBin function Null safety shell32

int SHQueryRecycleBin(
  1. Pointer<Utf16> pszRootPath,
  2. Pointer<SHQUERYRBINFO> pSHQueryRBInfo
)

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

SHSTDAPI SHQueryRecycleBinW(
  LPCWSTR         pszRootPath,
  LPSHQUERYRBINFO pSHQueryRBInfo
);

Implementation

int SHQueryRecycleBin(
        Pointer<Utf16> pszRootPath, Pointer<SHQUERYRBINFO> pSHQueryRBInfo) =>
    _SHQueryRecycleBin(pszRootPath, pSHQueryRBInfo);