windows-nt/Source/XPSP1/NT/base/win32/fusion/inc/disk.h
2020-09-26 16:20:57 +08:00

20 lines
454 B
C

#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_