#include <wfext.h>
typedef struct tagFMS_GETDRIVEINFO { /* fmsgdi */
DWORD dwTotalSpace;
DWORD dwFreeSpace;
char szPath[260];
char szVolume[14];
char szShare[128];
} FMS_GETDRIVEINFO, FAR *LPFMS_GETDRIVEINFO;
The FMS_GETDRIVEINFO structure contains information about the drive that is selected in the currently active File Manager window.
dwTotalSpace
Specifies the total amount of storage space, in bytes, on the disk associated with the drive.
dwFreeSpace
Specifies the amount of free storage space, in bytes, on the disk associated with the drive.
szPath
Specifies a null-terminated string that contains the path of the current directory.
szVolume
Specifies a null-terminated string that contains the volume label of the disk associated with the drive.
szShare
Specifies a null-terminated string that contains the name of the sharepoint (if the drive is being accessed through a network).