Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
454 B

  1. #ifndef _DISK_H_
  2. #define _DISK_H_
  3. BOOL GetDiskInfoA(PSTR pszPath, PDWORD pdwClusterSize, PDWORDLONG pdlAvailable, PDWORDLONG pdlTotal);
  4. #define GetDiskInfo GetDiskInfoA
  5. typedef VOID (WINAPI *PFN)();
  6. BOOL EstablishFunction(PTSTR pszModule, PTSTR pszFunction, PFN* pfn);
  7. HRESULT GetFileSizeRoundedToCluster(HANDLE hFile, PDWORD pdwSizeLow, PDWORD pdwSizeHigh);
  8. HRESULT GetAvailableSpaceOnDisk(PDWORD pdwFree, PDWORD pdwTotal);
  9. #endif // _DISK_H_