Topic: To receive handle EFI system partition
Greetings, There was a task to receive EFI system partition. I.e. it is necessary to receive Device Path for given partition, to transfer it in CreateFile and to receive . A hitch at a stage of obtaining Device Path. Tried four methods, any did not help. #1 - Win32 - FindFirstVolume/FindNextVolume - ESP not . #2 - SetupDiGetClassDevs, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceInterfaceDetail It is similar with #1. ESP ignores #3 - CM_Get_Device_ID_List_Size, CM_Get_Device_ID_List, CM_Locate_DevNode, CM_Locate_DevNode ESP in results is, o it was not possible to derive DevicePath which CreateFile would accept (Invalid Parameter) #4 - SetupDiGetClassDevs, SetupDiEnumDeviceInfo, SetupDiCreateDeviceInterface, SetupDiGetDeviceInterfaceDetail it is similar #3 Somebody knows the correct method to receive from user mode?