mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
empty REGISTRY directory
svn path=/trunk/; revision=7942
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user