Skip to content

Latest commit

 

History

History
125 lines (74 loc) · 2.09 KB

fms-getdriveinfo.md

File metadata and controls

125 lines (74 loc) · 2.09 KB
description title ms.topic ms.date topic_type api_name api_type api_location ms.assetid
Contains information about the drive selected in the active File Manager window (the directory window or the Search Results window).
FMS_GETDRIVEINFO structure (Wfext.h)
reference
05/31/2018
APIRef
kbSyntax
FMS_GETDRIVEINFO
HeaderDef
Wfext.h
14f8a90b-d0ed-4818-a719-8fc4ea617bef

FMS_GETDRIVEINFO structure

Contains information about the drive selected in the active File Manager window (the directory window or the Search Results window).

Syntax

typedef struct _FMS_GETDRIVEINFO {
  DWORD dwTotalSpace;
  DWORD dwFreeSpace;
  TCHAR szPath[260];
  TCHAR szVolume[14];
  TCHAR szShare[128];
} FMS_GETDRIVEINFO;

Members

dwTotalSpace

Type: DWORD

The total amount of storage space, in bytes, on the disk associated with the drive.

dwFreeSpace

Type: DWORD

The amount of free storage space, in bytes, on the disk associated with the drive.

szPath

Type: TCHAR[260]

the null-terminated path of the current directory.

szVolume

Type: TCHAR[14]

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

szShare

Type: TCHAR[128]

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

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Wfext.h

See also

FMExtensionProc

FM_GETDRIVEINFO