mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
4e4036570b
* refactored memory classes * added Kernel Transaction Manager (KTM) types git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1643 21ef857c-d57f-4fe0-8362-d861dc6d29cd
38 lines
965 B
C#
38 lines
965 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using ProcessHacker.Native.Api;
|
|
|
|
namespace ProcessHacker.Native.SsLogging
|
|
{
|
|
public class SsObjectAttributes : SsData
|
|
{
|
|
internal SsObjectAttributes(MemoryRegion data)
|
|
{
|
|
KphSsObjectAttributes oaInfo = data.ReadStruct<KphSsObjectAttributes>();
|
|
|
|
this.ObjectName = new SsUnicodeString(new MemoryRegion(data, oaInfo.ObjectNameOffset));
|
|
this.Original = oaInfo.ObjectAttributes;
|
|
this.RootDirectory = new SsHandle(new MemoryRegion(data, oaInfo.RootDirectoryOffset));
|
|
}
|
|
|
|
public SsUnicodeString ObjectName
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public ObjectAttributes Original
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public SsHandle RootDirectory
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
}
|
|
}
|