SHEmptyRecycleBin function Null safety shell32

int SHEmptyRecycleBin(
  1. int hwnd,
  2. Pointer<Utf16> pszRootPath,
  3. int dwFlags
)

Empties the Recycle Bin on the specified drive.

SHSTDAPI SHEmptyRecycleBinW(
  HWND    hwnd,
  LPCWSTR pszRootPath,
  DWORD   dwFlags
);

Implementation

int SHEmptyRecycleBin(int hwnd, Pointer<Utf16> pszRootPath, int dwFlags) =>
    _SHEmptyRecycleBin(hwnd, pszRootPath, dwFlags);