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

#ifndef _DISK_H_
#define _DISK_H_
BOOL GetDiskInfoA(PSTR pszPath, PDWORD pdwClusterSize, PDWORDLONG pdlAvailable, PDWORDLONG pdlTotal);
#define GetDiskInfo GetDiskInfoA
typedef VOID (WINAPI *PFN)();
BOOL EstablishFunction(PTSTR pszModule, PTSTR pszFunction, PFN* pfn);
HRESULT GetFileSizeRoundedToCluster(HANDLE hFile, PDWORD pdwSizeLow, PDWORD pdwSizeHigh);
HRESULT GetAvailableSpaceOnDisk(PDWORD pdwFree, PDWORD pdwTotal);
#endif // _DISK_H_