FMS_GETDRIVEINFO

The FMS_GETDRIVEINFO structure contains information about the drive selected in the active File Manager window (the directory window or the Search Results window).

typedef struct _FMS_GETDRIVEINFO { /* fmsgdi */

DWORD dwTotalSpace;

DWORD dwFreeSpace;

TCHAR szPath[260];

TCHAR szVolume[14];

TCHAR szShare[128];

} FMS_GETDRIVEINFO;

Members

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 the null-terminated path of the current directory.

szVolume

Specifies the null-terminated volume label of the disk associated with the drive.

szShare

Specifies the null-terminated name of the sharepoint (if the drive is being accessed through a network).

See Also

FMExtensionProc, FM_GETDRIVEINFO