On 27.06.2015 20:50, YongHaoHu wrote:
+typedef struct {
- ULONGLONG capacity;
- ULONGLONG free;
- ULONGLONG available;
+} space_info;
Is this documented somewhere?
info.capacity = ((ULONGLONG)(total.HighPart)<< 32) + total.LowPart;
info.free = ((ULONGLONG)(free.HighPart)<< 32) + free.LowPart;
info.available = ((ULONGLONG)(available.HighPart)<< 32) + available.LowPart;
I don't think you'll need this if you used QuadPart.