Austin English : kernel32: Add more tracing to GetDiskFreeSpaceW.

Alexandre Julliard julliard at winehq.org
Mon Jun 25 13:24:11 CDT 2012


Module: wine
Branch: master
Commit: 729afb18fe200a296498ec7fe15cc221e3494f78
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=729afb18fe200a296498ec7fe15cc221e3494f78

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Jun 25 01:03:37 2012 -0500

kernel32: Add more tracing to GetDiskFreeSpaceW.

---

 dlls/kernel32/volume.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 23bcca1..8377e41 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-cvs mailing list