От: | Andrew S | http://alchemy-lab.com | |
Дата: | 15.10.04 11:20 | ||
Оценка: | 6 (2) +1 | ||
#Имя: | FAQ.winapi.showspecfolder |
SHELLEXECUTEINFO se;
SHGetSpecialFolderLocation(NULL,CSIDL_DRIVES, &lst);
ZeroMemory(&se, sizeof(se));
se.cbSize = sizeof(se);
se.fMask = SEE_MASK_IDLIST;
se.hwnd = NULL;
se.lpVerb = "open";
se.nShow = SW_SHOW;
se.lpIDList = lst;
ShellExecuteEx(&se);
CoTaskMemFree(lst);