mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Support setting volume label in Explorer through mount option. Support using favorite label as label in Explorer.
This commit is contained in:
@@ -669,6 +669,9 @@ NTSTATUS TCOpenVolume (PDEVICE_OBJECT DeviceObject,
|
||||
{
|
||||
RtlStringCbCopyW (Extension->wszVolume, sizeof(Extension->wszVolume),pwszMountVolume);
|
||||
}
|
||||
|
||||
memset (Extension->wszLabel, 0, sizeof (Extension->wszLabel));
|
||||
RtlStringCbCopyW (Extension->wszLabel, sizeof(Extension->wszLabel), mount->wszLabel);
|
||||
}
|
||||
|
||||
// If we are to protect a hidden volume we cannot exit yet, for we must also
|
||||
|
||||
Reference in New Issue
Block a user