mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[NTFS]
Complete a bit more the information dumped from attributes svn path=/trunk/; revision=65590
This commit is contained in:
parent
a4c82de831
commit
229c947271
1 changed files with 18 additions and 2 deletions
|
@ -104,7 +104,23 @@ NtfsDumpFileNameAttribute(PNTFS_ATTR_RECORD Attribute)
|
|||
// DbgPrint(" Length %lu Offset %hu ", Attribute->Resident.ValueLength, Attribute->Resident.ValueOffset);
|
||||
|
||||
FileNameAttr = (PFILENAME_ATTRIBUTE)((ULONG_PTR)Attribute + Attribute->Resident.ValueOffset);
|
||||
DbgPrint(" '%.*S' ", FileNameAttr->NameLength, FileNameAttr->Name);
|
||||
DbgPrint(" (%x) '%.*S' ", FileNameAttr->NameType, FileNameAttr->NameLength, FileNameAttr->Name);
|
||||
DbgPrint(" '%x' ", FileNameAttr->FileAttributes);
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
VOID
|
||||
NtfsDumpStandardInformationAttribute(PNTFS_ATTR_RECORD Attribute)
|
||||
{
|
||||
PSTANDARD_INFORMATION StandardInfoAttr;
|
||||
|
||||
DbgPrint(" $STANDARD_INFORMATION ");
|
||||
|
||||
// DbgPrint(" Length %lu Offset %hu ", Attribute->Resident.ValueLength, Attribute->Resident.ValueOffset);
|
||||
|
||||
StandardInfoAttr = (PSTANDARD_INFORMATION)((ULONG_PTR)Attribute + Attribute->Resident.ValueOffset);
|
||||
DbgPrint(" '%x' ", StandardInfoAttr->FileAttribute);
|
||||
}
|
||||
|
||||
|
||||
|
@ -182,7 +198,7 @@ NtfsDumpAttribute(PNTFS_ATTR_RECORD Attribute)
|
|||
break;
|
||||
|
||||
case AttributeStandardInformation:
|
||||
DbgPrint(" $STANDARD_INFORMATION ");
|
||||
NtfsDumpStandardInformationAttribute(Attribute);
|
||||
break;
|
||||
|
||||
case AttributeAttributeList:
|
||||
|
|
Loading…
Reference in a new issue