kernel32: add more tracing to GetDiskFreeSpaceW (try 2)

Austin English austinenglish at gmail.com
Mon Jun 25 01:03:37 CDT 2012


Fixes http://bugs.winehq.org/show_bug.cgi?id=30592

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 23bcca1..b319d41 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -1687,6 +1687,8 @@ BOOL WINAPI GetDiskFreeSpaceW( LPCWSTR root, LPDWORD cluster_sectors,
     if (sector_bytes) *sector_bytes = info.BytesPerSector;
     if (free_clusters) *free_clusters = info.AvailableAllocationUnits.u.LowPart;
     if (total_clusters) *total_clusters = info.TotalAllocationUnits.u.LowPart;
+    TRACE("%#08x, %#08x, %#08x, %#08x\n", info.SectorsPerAllocationUnit, info.BytesPerSector, 
+          info.AvailableAllocationUnits.u.LowPart, info.TotalAllocationUnits.u.LowPart);
     return TRUE;
 }
 


More information about the wine-patches mailing list