empty REGISTRY directory

svn path=/trunk/; revision=7942
This commit is contained in:
Martin Fuchs
2004-01-31 17:26:38 +00:00
parent 973445eeff
commit b2f6c15aa4
2 changed files with 10 additions and 3 deletions
@@ -267,10 +267,11 @@ void NtObjDirectory::read_directory(int scan_flags)
}
else if (type == KEY_OBJECT) {
#if 0 ///@todo mount registry hives
TLVEntry *entry, **pnext = pchild();
TLVController* tlvctrlr = system()->tlvctrlr();
w32fd.dwFileAttributes |= FILE_ATTRIBUTE_DIRECTORY;
entry = new NtObjDirectory(this, buffer);
#if 0 ///@todo mount registry hives
*pnext = entry = new RegRootEntry(tlvctrlr, HKEY_CURRENT_USER);
*entry->pparent() = this;
@@ -511,3 +512,8 @@ bool NtObjEntry::get_path(PTSTR path) const
return true;
}
BOOL NtObjEntry::launch_entry(HWND hwnd, UINT nCmdShow)
{
return FALSE;
}
@@ -98,6 +98,7 @@ protected:
NtObjEntry(OBJECT_TYPE type) : Entry(ET_NTOBJS), _type(type) {}
virtual bool get_path(PTSTR path) const;
virtual BOOL launch_entry(HWND hwnd, UINT nCmdShow);
};