mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:21:50 +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);
|
// DbgPrint(" Length %lu Offset %hu ", Attribute->Resident.ValueLength, Attribute->Resident.ValueOffset);
|
||||||
|
|
||||||
FileNameAttr = (PFILENAME_ATTRIBUTE)((ULONG_PTR)Attribute + 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;
|
break;
|
||||||
|
|
||||||
case AttributeStandardInformation:
|
case AttributeStandardInformation:
|
||||||
DbgPrint(" $STANDARD_INFORMATION ");
|
NtfsDumpStandardInformationAttribute(Attribute);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AttributeAttributeList:
|
case AttributeAttributeList:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue