mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-21 18:55:22 -04:00
Add support for long paths in Windows 10+
This commit is contained in:
parent
031bd4f734
commit
b6cdc9f484
14 changed files with 108 additions and 51 deletions
|
@ -32,13 +32,11 @@ UEFIFind::~UEFIFind()
|
|||
|
||||
USTATUS UEFIFind::init(const UString & path)
|
||||
{
|
||||
USTATUS result;
|
||||
UByteArray buffer;
|
||||
result = readFileIntoBuffer(path, buffer);
|
||||
if (result)
|
||||
return result;
|
||||
if (false == readFileIntoBuffer(path, buffer))
|
||||
return U_FILE_OPEN;
|
||||
|
||||
result = ffsParser->parse(buffer);
|
||||
USTATUS result = ffsParser->parse(buffer);
|
||||
if (result)
|
||||
return result;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue