How can I get volume name for EFI system partition?
<p>I have a Windows machine with GPT drives. <br>
I have a DOS device name of EFI system partition as output from bcdedit. <br>
I want to open handle for this partition and get DOS name by QueryDosDevice() to compare with DOS name which I already have. <br>
I tried to use FindFirstVolume/FindNextVolume to find volume name to get DOS name from QueryDosDevice, but I didn't find volume for EFI system partition. WMI also doesn't have volume for this partition.<br></p>

<p>How can I get volume name of EFI system partition from C++ code to use it in QueryDosDevice?</p>