#ifndef _NTIOAPI_H
typedef struct _FILE_FS_LABEL_INFORMATION
{
ULONG VolumeLabelLength;
_Field_size_bytes_(VolumeLabelLength) WCHAR VolumeLabel[1];
} FILE_FS_LABEL_INFORMATION, *PFILE_FS_LABEL_INFORMATION;
View code on GitHub
// ntddk.h
typedef struct _FILE_FS_LABEL_INFORMATION {
ULONG VolumeLabelLength;
WCHAR VolumeLabel[1];
} FILE_FS_LABEL_INFORMATION, *PFILE_FS_LABEL_INFORMATION;
View the official Windows Driver Kit DDI reference
No description available.
The FILE_FS_LABEL_INFORMATION structure is used to set the label for a file system volume.
VolumeLabelLength
Length, in bytes, of the name for the volume.
VolumeLabel
Name for the volume.
This information can be set in either of the following ways:
FILE_WRITE_DATA access to the volume is required to set this information.
The size of the buffer passed in the FileInformation parameter to FltSetVolumeInformation or ZwSetVolumeInformationFile must be at least sizeof (FILE_FS_LABEL_INFORMATION).
This structure must be aligned on a LONG (4-byte) boundary.
This structure is documented in Windows Driver Kit.
Structure is an input buffer for NtSetVolumeInformationFile
call with information class FileFsLabelInformation
.
Length of VolumeLabel
array, in bytes.
Label for specified volume.