ReactOS 0.4.15-dev-7958-gcd0bb1a
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 bool get_path (PTSTR path, size_t path_count) const =0
 
virtual ShellPath create_absolute_pidl () const
 
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.

r parent
Definition: btrfs.c:3010
@ ET_WINDOWS
Definition: entries.h:32
base of all file and directory entries
Definition: entries.h:83

◆ WinEntry() [2/2]

WinEntry::WinEntry ( )
inlineprotected

Definition at line 37 of file winfs.h.

37: Entry(ET_WINDOWS) {}

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}
#define MAX_PATH
Definition: compat.h:34
#define COUNTOF(x)
Definition: utility.h:93
struct _CONTEXT CONTEXT
wrapper class for item ID lists
Definition: shellclasses.h:652
virtual bool get_path(PTSTR path, size_t path_count) const
Definition: winfs.cpp:239
char TCHAR
Definition: xmlstorage.h:189

◆ 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: