#include "utility.h"
#include "shellclasses.h"
Go to the source code of this file.
◆ dump_shell_namespace()
Definition at line 37 of file shelltests.cpp.
39 ShellItemEnumerator enumerator(
folder, SHCONTF_FOLDERS|SHCONTF_NONFOLDERS|SHCONTF_INCLUDEHIDDEN|SHCONTF_SHAREABLE|SHCONTF_STORAGE);
47 HRESULT hr = enumerator->Next(1, &pidl, &cnt);
66 if (
attribs & (SFGAO_FOLDER|SFGAO_HASSUBFOLDER))
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
static const char hex[16]
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Referenced by main().
◆ main()
Definition at line 78 of file shelltests.cpp.
102 cout <<
"Desktop:\n";
115 TEXT(
"Please select the path:"));
117 if (desktop_browser.IsOK())
126 TEXT(
"Please select the path:"),
129 if (rooted_browser.IsOK())
file system path of special folder
#define CSIDL_PROGRAM_FILES
Exception with context information.
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
#define BIF_NEWDIALOGSTYLE
_STLP_DECLSPEC _Stl_aligned_buffer< ostream > cerr
static void dump_shell_namespace(ShellFolder &folder)
ShellFolder & GetDesktopFolder()
Browse dialog operating on shell namespace.
#define BIF_RETURNONLYFSDIRS
wrapper class for item ID lists