ReactOS  0.4.15-dev-1187-g119f102
WinEntry Struct Reference

Windows file system file-entry. More...

#include <winfs.h>

Inheritance diagram for WinEntry:
Collaboration diagram for WinEntry:

Public Member Functions

 WinEntry (Entry *parent)
 
- Public Member Functions inherited from Entry
virtual ~Entry ()
 
void free_subentries ()
 
void read_directory_base (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
Entryread_tree (const void *path, SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
void sort_directory (SORT_ORDER sortOrder)
 
void smart_scan (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
int extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
int safe_extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
virtual void read_directory (int scan_flags=0)
 
virtual const voidget_next_path_component (const void *) const
 
virtual Entryfind_entry (const void *)
 
virtual HRESULT GetUIObjectOf (HWND hWnd, REFIID riid, LPVOID *ppvOut)
 
virtual ShellFolder get_shell_folder () const
 
virtual BOOL launch_entry (HWND hwnd, UINT nCmdShow=SW_SHOWNORMAL)
 
virtual HRESULT do_context_menu (HWND hwnd, const POINT &pos, CtxMenuInterfaces &cm_ifs)
 

Protected Member Functions

 WinEntry ()
 
virtual bool get_path (PTSTR path, size_t path_count) const
 
virtual ShellPath create_absolute_pidl () const
 
- Protected Member Functions inherited from Entry
 Entry (ENTRY_TYPE etype)
 
 Entry (Entry *parent, ENTRY_TYPE etype)
 
 Entry (const Entry &)
 
bool get_path_base (PTSTR path, size_t path_count, ENTRY_TYPE etype) const
 

Additional Inherited Members

- Public Attributes inherited from Entry
Entry_next
 
Entry_down
 
Entry_up
 
bool _expanded
 
bool _scanned
 
int _level
 
WIN32_FIND_DATA _data
 
SFGAOF _shell_attribs
 
LPTSTR _display_name
 
LPTSTR _type_name
 
LPTSTR _content
 
ENTRY_TYPE _etype
 
int _icon_id
 
BY_HANDLE_FILE_INFORMATION _bhfi
 
bool _bhfi_valid
 

Detailed Description

Windows file system file-entry.

Definition at line 32 of file winfs.h.

Constructor & Destructor Documentation

◆ WinEntry() [1/2]

WinEntry::WinEntry ( Entry parent)
inline

Definition at line 34 of file winfs.h.

34 : Entry(parent, ET_WINDOWS) {}
Entry(ENTRY_TYPE etype)
Definition: entries.cpp:35
r parent
Definition: btrfs.c:2944

◆ WinEntry() [2/2]

WinEntry::WinEntry ( )
inlineprotected

Definition at line 37 of file winfs.h.

37 : Entry(ET_WINDOWS) {}
Entry(ENTRY_TYPE etype)
Definition: entries.cpp:35

Referenced by WinDirectory::read_directory().

Member Function Documentation

◆ create_absolute_pidl()

ShellPath WinEntry::create_absolute_pidl ( ) const
protectedvirtual

Reimplemented from Entry.

Definition at line 244 of file winfs.cpp.

245 {
246  CONTEXT("WinEntry::create_absolute_pidl()");
247 
249 
250  if (get_path(path, COUNTOF(path)))
251  return ShellPath(path);
252 
253  return ShellPath();
254 }
virtual bool get_path(PTSTR path, size_t path_count) const
Definition: winfs.cpp:239
struct _CONTEXT CONTEXT
char TCHAR
Definition: xmlstorage.h:189
#define MAX_PATH
Definition: compat.h:34
#define COUNTOF(x)
Definition: utility.h:93
wrapper class for item ID lists
Definition: shellclasses.h:651

◆ get_path()

bool WinEntry::get_path ( PTSTR  path,
size_t  path_count 
) const
protectedvirtual

Implements Entry.

Definition at line 239 of file winfs.cpp.

240 {
241  return get_path_base(path, path_count, ET_WINDOWS);
242 }
bool get_path_base(PTSTR path, size_t path_count, ENTRY_TYPE etype) const
Definition: entries.cpp:639

Referenced by create_absolute_pidl().


The documentation for this struct was generated from the following files: