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))
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())
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
ShellFolder & GetDesktopFolder()
static void dump_shell_namespace(ShellFolder &folder)
#define CSIDL_PROGRAM_FILES
#define BIF_RETURNONLYFSDIRS
#define BIF_NEWDIALOGSTYLE
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Exception with context information.
Browse dialog operating on shell namespace.
IShellFolder smart pointer.
wrapper class for item ID lists
file system path of special folder
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String