diff --git a/reactos/subsys/system/explorer/shell/ntobjfs.cpp b/reactos/subsys/system/explorer/shell/ntobjfs.cpp index 0b55e939068..34ea5e8f6c2 100644 --- a/reactos/subsys/system/explorer/shell/ntobjfs.cpp +++ b/reactos/subsys/system/explorer/shell/ntobjfs.cpp @@ -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; +} diff --git a/reactos/subsys/system/explorer/shell/ntobjfs.h b/reactos/subsys/system/explorer/shell/ntobjfs.h index 176b25a9d69..43d2334d87e 100644 --- a/reactos/subsys/system/explorer/shell/ntobjfs.h +++ b/reactos/subsys/system/explorer/shell/ntobjfs.h @@ -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); };