25#define WIN32_NO_STATUS
31#include <wine/winternl.h>
36#include <commoncontrols.h>
37#include "../shellrecyclebin/recyclebin.h"
40#include <wine/unicode.h>
65#define MRUF_STRING_LIST 0
66#define MRUF_BINARY_LIST 1
67#define MRUF_DELAYED_SAVE 2
98 if (*(
src++)==
',') nField--;
128 if (*
src++ ==
',') nField--;
165 GetOpenFileNameProc pGetOpenFileNameW;
169 TRACE(
"%p, %s, %d, %s, %s, %s, %s)\n",
170 hwndOwner,
debugstr_w(lpstrFile), nMaxFile, lpstrInitialDir, lpstrDefExt,
171 lpstrFilter, lpstrTitle);
176 if(!pGetOpenFileNameW)
193 ret = pGetOpenFileNameW(&
ofn);
203 if (*pCounter ==
count)
212SHELL_GCOUNTER_DEFINE_GUID(SHGCGUID_ShellState, 0x7cb834f0, 0x527b, 0x11d2, 0x9d, 0x1f, 0x00, 0x00, 0xf8, 0x05, 0xca, 0x57);
214#define SHELL_GCOUNTER_SHELLSTATE SHELL_GCOUNTER_PARAMETERS(g_hShellState, GLOBALCOUNTER_SHELLSETTINGSCHANGED)
215static LONG g_ShellStateCounter = 0;
216static UINT g_CachedSSF = 0;
218enum { ssf_autocheckselect = 0x00800000, ssf_iconsonly = 0x01000000,
219 ssf_showtypeoverlay = 0x02000000, ssf_showstatusbar = 0x04000000 };
244 if (!hKeyAdv && bSet)
247#define SSF_STRUCTONLY (SSF_NOCONFIRMRECYCLE | SSF_DOUBLECLICKINWEBVIEW | SSF_DESKTOPHTML | \
248 SSF_WIN95CLASSIC | SSF_SORTCOLUMNS | SSF_STARTPANELON)
249#define SHGSS_GetSetStruct(getsetmacro) \
251 getsetmacro(fNoConfirmRecycle, SSF_NOCONFIRMRECYCLE); \
252 getsetmacro(fDoubleClickInWebView, SSF_DOUBLECLICKINWEBVIEW); \
253 getsetmacro(fDesktopHTML, SSF_DESKTOPHTML); \
254 getsetmacro(fWin95Classic, SSF_WIN95CLASSIC); \
255 getsetmacro(lParamSort, SSF_SORTCOLUMNS); \
256 getsetmacro(iSortDirection, SSF_SORTCOLUMNS); \
257 getsetmacro(fStartPanelOn, SSF_STARTPANELON); \
259#define SHGSS_GetSetAdv(getsetmacro) \
261 getsetmacro(L"HideFileExt", fShowExtensions, SSF_SHOWEXTENSIONS); \
262 getsetmacro(L"ShowCompColor", fShowCompColor, SSF_SHOWCOMPCOLOR); \
263 getsetmacro(L"DontPrettyPath", fDontPrettyPath, SSF_DONTPRETTYPATH); \
264 getsetmacro(L"ShowAttribCol", fShowAttribCol, SSF_SHOWATTRIBCOL); \
265 getsetmacro(L"MapNetDrvBtn", fMapNetDrvBtn, SSF_MAPNETDRVBUTTON); \
266 getsetmacro(L"ShowInfoTip", fShowInfoTip, SSF_SHOWINFOTIP); \
267 getsetmacro(L"HideIcons", fHideIcons, SSF_HIDEICONS); \
268 getsetmacro(L"WebView", fWebView, SSF_WEBVIEW); \
269 getsetmacro(L"Filter", fFilter, SSF_FILTER); \
270 getsetmacro(L"ShowSuperHidden", fShowSuperHidden, SSF_SHOWSUPERHIDDEN); \
271 getsetmacro(L"NoNetCrawling", fNoNetCrawling, SSF_NONETCRAWLING); \
272 getsetmacro(L"SeparateProcess", fSepProcess, SSF_SEPPROCESS); \
273 getsetmacro(L"AutoCheckSelect", fAutoCheckSelect, ssf_autocheckselect); \
274 getsetmacro(L"IconsOnly", fIconsOnly, ssf_iconsonly); \
275 getsetmacro(L"ShowTypeOverlay", fShowTypeOverlay, ssf_showtypeoverlay); \
276 getsetmacro(L"ShowStatusBar", fShowStatusBar, ssf_showstatusbar); \
283#define SHGSS_WriteAdv(name, value, SSF) \
285 DWORD val = (value), cb = sizeof(DWORD); \
286 if (SHSetValueW(hKeyAdv, NULL, (name), REG_DWORD, &val, cb) == ERROR_SUCCESS) \
291#define SHGSS_SetAdv(name, field, SSF) \
293 if ((dwMask & (SSF)) && gpss->field != lpss->field) \
295 const DWORD bitval = (gpss->field = lpss->field); \
296 SHGSS_WriteAdv((name), ((SSF) & inverted) ? !bitval : !!bitval, (SSF)); \
299#define SHGSS_SetStruct(field, SSF) \
301 if ((dwMask & (SSF)) && gpss->field != lpss->field) \
303 gpss->field = lpss->field; \
314 SHGSS_GetSetAdv(SHGSS_SetAdv);
315 SHGSS_GetSetStruct(SHGSS_SetStruct);
332 if (SHELL_GlobalCounterChanged(&g_ShellStateCounter, SHELL_GCOUNTER_SHELLSTATE))
335#define SHGSS_ReadAdv(name, SSF) ( \
336 (g_CachedSSF & (SSF)) != (SSF) && (cb = sizeof(DWORD)) != 0 && \
337 SHQueryValueEx(hKeyAdv, (name), NULL, NULL, &data, &cb) == ERROR_SUCCESS && \
338 cb == sizeof(DWORD) && (read |= (SSF)) != 0 )
339#define SHGSS_GetFieldHelper(field, SSF, src, dst, cachevar) \
341 if (dwMask & (SSF)) \
343 (dst)->field = (src)->field; \
347#define SHGSS_CacheField(field, SSF) SHGSS_GetFieldHelper(field, (SSF), &rss.ss, gpss, read)
348#define SHGSS_GetField(field, SSF) SHGSS_GetFieldHelper(field, (SSF), gpss, lpss, dummy)
349#define SHGSS_GetAdv(name, field, SSF) \
351 if (SHGSS_ReadAdv((name), (SSF))) \
352 gpss->field = ((SSF) & inverted) ? data == FALSE : data != FALSE; \
353 SHGSS_GetFieldHelper(field, (SSF), gpss, lpss, read); \
363 SHGSS_GetSetAdv(SHGSS_GetAdv);
364 if (dwMask & ~(
read | g_CachedSSF))
369 SHGSS_GetSetStruct(SHGSS_CacheField);
375 g_CachedSSF = SSF_STRUCTONLY;
378 SHGSS_GetSetStruct(SHGSS_GetField);
386 FIXME(
"%p 0x%08x TRUE\n", lpss, dwMask);
411 if (dwMask & ssf_autocheckselect)
413 if (dwMask & ssf_iconsonly)
420 TRACE(
"(%p 0x%08x)\n",lpsfs,dwMask);
488 FIXME(
"%p %08x %08lx stub\n",hwndCabinet, uMessage,
lParam);
513 else if (dwType == 0)
518 ERR(
"Unsupported argument");
566 TRACE(
"(%p,%p,%p,%p,%08x)\n",
572 pszTitle = lpCaption;
642 pszTitle = lpCaption;
662 WARN(
"Failed to load id %d\n",
LOWORD(lpText));
671 pszText, 0, 0, (
LPSTR)&pszTemp, 0, &
args);
693 TRACE(
"(%p,%p,%p,%p,%08x)\n",
699 pszTitle = lpCaption;
707 pszText, 0, 0, (
LPSTR)&pszTemp, 0, &
args);
735 LPDROPTARGET pDropTarget)
742 if (!ole_initialized)
747 ole_initialized =
TRUE;
790 LPDROPSOURCE lpDropSource,
794 FIXME(
"(%p %p %p 0x%08x %p):stub.\n",
795 hWnd, lpDataObject, lpDropSource, dwOKEffect, pdwEffect);
796 return DoDragDrop(lpDataObject, lpDropSource, dwOKEffect, pdwEffect);
807 TRACE(
"(%p 0x%08x %p 0x%04x %p):stub.\n",
821 FIXME(
"(%p):stub.\n", pidl);
849 "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
853 "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
855 TRACE(
"No Explorer Policies location exists. Policy wanted=%s\n",
909 cb = (cchTargetTitle + 1 + cchTargetPath + 1 + cchLinkTitle + 2) *
sizeof(
WCHAR);
915 cb = (cchTargetTitle + 1) *
sizeof(
WCHAR);
916 if (ib +
cb > *pcbBuffer)
921 cb = (cchTargetPath + 1) *
sizeof(
WCHAR);
922 if (ib +
cb > *pcbBuffer)
927 cb = (cchLinkTitle + 1) *
sizeof(
WCHAR);
928 if (ib +
cb > *pcbBuffer)
971 wlen=
lstrlenA(new_lnk_name) + 1 + 12;
972 *((
short int*)
ptr) = wlen;
1016 LPWSTR pchDotExt, pchTargetTitle, pchLinkTitle;
1028 TRACE(
"policy value for NoRecentDocsHistory = %08x\n",
ret);
1033 szTargetPath[0] = 0;
1061 ERR(
"serious issues 1\n");
1064 TRACE(
"Users Recent dir %S\n", szLinkDir);
1072 ERR(
"Failed to RegCreateKeyExW: 0x%08X\n",
error);
1078 TRACE(
"pv is NULL, so delete all shortcut files in %S\n", szLinkDir);
1111 ERR(
"CoInitialize: %08X\n",
hr);
1124 ERR(
"IShellLink_ConstructFromPath: 0x%08X\n",
hr);
1129 IShellLinkW_Release(psl);
1137 ERR(
"Link loop?\n");
1162 cbBuffer =
sizeof(
Buffer);
1163 ret = DoStoreMRUData(
Buffer, &cbBuffer, pchTargetTitle, szTargetPath, pchLinkTitle);
1166 ERR(
"DoStoreMRUData failed: %d\n",
ret);
1171 mru.
cbSize =
sizeof(mru);
1174 mru.
hKey = hExplorerKey;
1180 ERR(
"CreateMRUListW failed\n");
1194 TRACE(
"Just touch file '%S'.\n", szLinkFile);
1204 ERR(
"AddMRUData failed: %d\n",
ret);
1211 &IID_IShellLinkW, (
LPVOID *)&psl);
1214 ERR(
"CoInitialize for IID_IShellLinkW: %08X\n",
hr);
1221 ERR(
"IShellLinkW_QueryInterface: %08X\n",
hr);
1226 hr = IShellLinkW_SetIDList(psl, pv);
1228 hr = IShellLinkW_SetPath(psl, pv);
1232 hr = IPersistFile_Save(pPf, szLinkFile,
TRUE);
1235 ERR(
"IPersistFile_Save: 0x%08X\n",
hr);
1238 hr = IPersistFile_SaveCompleted(pPf, szLinkFile);
1241 ERR(
"IPersistFile_SaveCompleted: 0x%08X\n",
hr);
1248 IPersistFile_Release(pPf);
1250 IShellLinkW_Release(psl);
1293 ERR(
"Error %d getting policy \"NoRecentDocsHistory\"\n",
ret);
1299 ERR(
"Error policy data for \"NoRecentDocsHistory\" not formatted correctly, type=%d, len=%d\n",
1304 TRACE(
"policy value for NoRecentDocsHistory = %08x\n",
data[0]);
1317 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer",
1318 0, 0, 0,
KEY_READ, 0, &HCUbasekey, 0)) {
1319 ERR(
"Failed to create 'Software\\Microsoft\\Windows\\CurrentVersion\\Explorer'\n");
1329 IMalloc_Free(
ppM, pidl);
1334 ERR(
"serious issues 1\n");
1336 IMalloc_Release(
ppM);
1341 ERR(
"serious issues 2\n");
1343 TRACE(
"Users Recent dir %s\n", link_dir);
1358 FIXME(
"should delete all files in %s\\\n", link_dir);
1388 WARN(
"can't get path from PIDL\n");
1436 mymru.
hKey = HCUbasekey;
1442 ERR(
"MRU processing failed, handle zero\n");
1456 slen = *((
short int*)
ptr);
1469 ERR(
"Delete for %s failed, err=%d, attr=%08x\n",
1473 TRACE(
"old .lnk file %s did not exist\n",
1478 ERR(
"Delete for %s failed, attr=%08x\n",
1479 old_lnk_name,
attr);
1483 TRACE(
"deleted old .lnk file %s\n", old_lnk_name);
1491 wsprintfA(new_lnk_name,
"%s.lnk", doc_name);
1492 lstrcpyA(new_lnk_filepath, link_dir);
1498 wsprintfA(new_lnk_name,
"%s (%u).lnk", doc_name,
i);
1499 lstrcpyA(new_lnk_filepath, link_dir);
1503 TRACE(
"new shortcut will be %s\n", new_lnk_filepath);
1510 TRACE(
"Updated MRU list, new doc is position %d\n",
pos);
1532 CLSCTX_INPROC_SERVER,
1541 ERR(
"failed QueryInterface for IPersistFile %08x\n",
hres);
1547 hres = IShellLinkA_SetIDList(psl, pv);
1549 hres = IShellLinkA_SetPath(psl, pv);
1553 ERR(
"failed Set{IDList|Path} %08x\n",
hres);
1559 hres = IShellLinkA_SetDescription(psl,
desc);
1562 ERR(
"failed SetDescription %08x\n",
hres);
1569 hres = IPersistFile_Save(pPf, widelink,
TRUE);
1572 ERR(
"failed IPersistFile::Save %08x\n",
hres);
1573 IPersistFile_Release(pPf);
1574 IShellLinkA_Release(psl);
1577 hres = IPersistFile_SaveCompleted(pPf, widelink);
1578 IPersistFile_Release(pPf);
1579 IShellLinkA_Release(psl);
1580 TRACE(
"shortcut %s has been created, result=%08x\n",
1581 new_lnk_filepath,
hres);
1584 ERR(
"CoCreateInstance failed, hres=%08x\n",
hres);
1618 TRACE(
"sf=%p pidl=%p cb=%p mode=0x%08x parm=%p\n",
1623 hRes = IShellView_Constructor(psvcbi->
pshf, &psf);
1628 hRes = IShellView_QueryInterface(psf, &IID_IShellView, (
LPVOID *)
ppv);
1629 IShellView_Release(psf);
1672 wcscat(parameters, commandLine);
1689{
TRACE(
"%p\n", lpUnknown);
1699{
TRACE(
"%p\n", lpUnknown);
1782 FIXME(
"%p %p stub\n",himlTrack, lppt);
1793 FIXME(
"0x%08x stub\n",bShow);
1830 TRACE(
"Initializing shell cabinet settings\n");
1832 cs->cLength =
sizeof(*cs);
1835 cs->fSaveLocalView =
TRUE;
1837 cs->fSimpleDefault =
TRUE;
1842 cs->fAdminsCreateCommonGroups =
TRUE;
1843 cs->fMenuEnumFilter = SHCONTF_FOLDERS | SHCONTF_NONFOLDERS;
1892{
FIXME(
"hwnd=%p 0x%04x stub\n",
u,
v );
1935 TRACE(
"0x%08x stub\n",
u);
1955 FIXME(
"%p %s 0x%08x stub\n",hwndOwner, lpCaption, uType);
1996 FIXME(
"(%p, %s, 0x%08x): stub\n", hwndOwner,
debugstr_w(pszFile), fConnect);
2018 if (
len &&
len < cchString)
2062 if (
len &&
len <= cchString)
2165 pszTarget = szLongPath;
2219 TRACE(
"(%p,%p,%08lx)\n", hpsxa, lpfnAddPage,
lParam);
2253 WCHAR szHandler[64];
2255 WCHAR szClsidHandler[39];
2262 HKEY hkBase, hkPropSheetHandlers;
2290 dwHandlerLen =
sizeof(szHandler) /
sizeof(szHandler[0]);
2305 dwClsidSize =
sizeof(szClsidHandler);
2309 szClsidHandler[(
sizeof(szClsidHandler) /
sizeof(szClsidHandler[0])) - 1] = 0;
2331 pspsx->lpVtbl->
Release(pspsx);
2335 pspsx->lpVtbl->
Release(pspsx);
2365 TRACE(
"(%p,%u,%p,%08lx)\n", hpsxa, uPageID, lpfnReplaceWith,
lParam);
2395 TRACE(
"(%p)\n", hpsxa);
2423 TRACE(
"(%p, %d, %p, %p)\n", pidlFolder, cpidlFiles, lppidlFiles, ppdataObject);
2427 for (
i=0;
i<cpidlFiles;
i++)
pdump (lppidlFiles[
i]);
2441 const FORMATETC *lpFormats,
2446 TRACE(
"cf=%d fe=%p pef=%p\n", cFormats, lpFormats, ppenumFormatetc);
2452 IEnumFORMATETC_AddRef(pef);
2454 IEnumFORMATETC_Release(pef);
2464 FIXME(
"params ignored: %p %p\n", pidlFolder, pidlSaveFile);
2510 FIXME(
"%p - stub\n", pidlExtra);
2561 WCHAR *dst_basename;
2571 FIXME(
"SHGNLI_PIDL flag unsupported\n");
2592 dst_basename = pszName +
strlenW(pszName);
2622 FIXME(
"%p, %s, %d - stub\n", pszPath,
debugstr_w(pszResModule), idsRes);
2677 FIXME(
"Unsupported image list %i requested\n", iImageList);
2695 hNew = (iImageList ==
SHIL_LARGE ? hLarge : hSmall);
2723 if (!pcsfv || pcsfv->
cbSize !=
sizeof(*pcsfv))
2726 TRACE(
"sf=%p outer=%p callback=%p\n",
2729 hRes = IShellView_Constructor(pcsfv->
pshf, &psf);
2733 hRes = IShellView_QueryInterface(psf, &IID_IShellView, (
LPVOID *)ppsv);
2734 IShellView_Release(psf);
2753 DWORD nSubAuthority0, nSubAuthority1;
2754 DWORD nSubAuthorityCount;
2760 nSubAuthority0 = ulRID;
2762 nSubAuthorityCount= 1;
2767 nSubAuthority1 = ulRID;
2768 nSubAuthorityCount= 2;
2843 for (pch1 = pch2 = pszSanitized; *pch1; ++pch1)
2845 if (pszInvalidChars)
2853 else if (pszValidChars)
2874 LPWSTR pszText, pszSanitized;
2962 if (
wParam == UNICODE_NOCHAR)
3014 ERR(
"HeapAlloc failed.\n");
3023 ERR(
"SetWindowLongPtrW failed\n");
3044 IItemNameLimits *pLimits;
3046 LPWSTR pwszValidChars, pwszInvalidChars;
3059 ERR(
"hr: %x\n",
hr);
3063 pwszValidChars = pwszInvalidChars =
NULL;
3064 hr = pLimits->lpVtbl->GetValidCharacters(pLimits, &pwszValidChars, &pwszInvalidChars);
3067 ERR(
"hr: %x\n",
hr);
3068 pLimits->lpVtbl->Release(pLimits);
3076 pLimits->lpVtbl->Release(pLimits);
HRESULT IDataObject_Constructor(HWND hwndOwner, PCIDLIST_ABSOLUTE pMyPidl, PCUIDLIST_RELATIVE_ARRAY apidl, UINT cidl, BOOL bExtendedObject, IDataObject **dataObject)
HRESULT IEnumFORMATETC_Constructor(UINT cfmt, const FORMATETC afmt[], IEnumFORMATETC **ppFormat)
#define shell32_hInstance
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
#define RegCloseKey(hKey)
INT(CALLBACK * MRUCMPPROCW)(LPCWSTR, LPCWSTR)
HANDLE WINAPI CreateMRUListW(const MRUINFOW *infoW)
#define OFN_FILEMUSTEXIST
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
#define ERROR_NOT_ENOUGH_MEMORY
void pdump(LPCITEMIDLIST pidl)
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
static const WCHAR szDescription[]
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegOpenKeyExA(_In_ HKEY hKey, _In_ LPCSTR lpSubKey, _In_ DWORD ulOptions, _In_ REGSAM samDesired, _Out_ PHKEY phkResult)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegQueryValueExA(_In_ HKEY hkeyorg, _In_ LPCSTR name, _In_ LPDWORD reserved, _Out_opt_ LPDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ LPDWORD count)
LONG WINAPI RegCreateKeyExA(_In_ HKEY hKey, _In_ LPCSTR lpSubKey, _In_ DWORD Reserved, _In_ LPSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_ LPDWORD lpdwDisposition)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
LONG WINAPI RegDeleteKeyA(_In_ HKEY hKey, _In_ LPCSTR lpSubKey)
BOOL WINAPI CheckTokenMembership(IN HANDLE ExistingTokenHandle, IN PSID SidToCheck, OUT PBOOL IsMember)
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid)
PVOID WINAPI FreeSid(PSID pSid)
HRESULT WINAPI HIMAGELIST_QueryInterface(HIMAGELIST himl, REFIID riid, void **ppv)
HIMAGELIST WINAPI ImageList_Duplicate(HIMAGELIST himlSrc)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
#define ERROR_NO_MORE_ITEMS
#define HeapFree(x, y, z)
#define WINE_DECLARE_DEBUG_CHANNEL(x)
#define WideCharToMultiByte
#define MultiByteToWideChar
static const WCHAR *const ext[]
DWORD WINAPI ExpandEnvironmentStringsA(IN LPCSTR lpSrc, IN LPSTR lpDst, IN DWORD nSize)
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
UINT WINAPI SetErrorMode(IN UINT uMode)
BOOL WINAPI DeleteFileA(IN LPCSTR lpFileName)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
UINT WINAPI GetDriveTypeW(IN LPCWSTR lpRootPathName)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
DWORD WINAPI GetFileAttributesA(LPCSTR lpFileName)
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
DWORD WINAPI GetTempPathW(IN DWORD count, OUT LPWSTR path)
DWORD WINAPI GetLongPathNameW(IN LPCWSTR lpszShortPath, OUT LPWSTR lpszLongPath, IN DWORD cchBuffer)
DWORD WINAPI GetFullPathNameW(IN LPCWSTR lpFileName, IN DWORD nBufferLength, OUT LPWSTR lpBuffer, OUT LPWSTR *lpFilePart)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
static void basename(LPCWSTR path, LPWSTR name)
HRESULT WINAPI OleFlushClipboard(void)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
void WINAPI DECLSPEC_HOTPATCH CoFreeUnusedLibraries(void)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize(LPVOID reserved)
HRESULT WINAPI RegisterDragDrop(HWND hwnd, LPDROPTARGET pDropTarget)
HRESULT WINAPI DoDragDrop(IDataObject *pDataObject, IDropSource *pDropSource, DWORD dwOKEffect, DWORD *pdwEffect)
HRESULT WINAPI RevokeDragDrop(HWND hwnd)
HRESULT WINAPI IShellLink_ConstructFromPath(WCHAR *path, REFIID riid, LPVOID *ppv)
EXTERN_C HRESULT WINAPI SHStartNetConnectionDialogW(_In_ HWND hwnd, _In_ LPCWSTR pszRemoteName, _In_ DWORD dwType)
EXTERN_C BOOL WINAPI PathIsEqualOrSubFolder(_In_ LPCWSTR pszPath1OrCSIDL, _In_ LPCWSTR pszPath2)
EXTERN_C HRESULT WINAPI SHStartNetConnectionDialogA(_In_ HWND hwnd, _In_ LPCSTR pszRemoteName, _In_ DWORD dwType)
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal)
DWORD WINAPI SHCLSIDFromStringW(LPCWSTR clsid, CLSID *id)
HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST *ppidl)
BOOL WINAPI SHGetSpecialFolderPathW(HWND hwndOwner, LPWSTR szPath, int nFolder, BOOL bCreate)
DWORD WINAPI SHSendMessageBroadcastW(UINT uMsg, WPARAM wParam, LPARAM lParam)
HKEY WINAPI SHGetShellKey(DWORD flags, LPCWSTR sub_key, BOOL create)
void WINAPI PathStripPathA(LPSTR lpszPath)
LPWSTR WINAPI PathFindFileNameW(LPCWSTR lpszPath)
LPWSTR WINAPI PathFindExtensionW(LPCWSTR lpszPath)
BOOL WINAPI PathFileExistsW(LPCWSTR lpszPath)
BOOL WINAPI PathIsDirectoryW(LPCWSTR lpszPath)
DWORD WINAPI SHDeleteKeyW(HKEY hKey, LPCWSTR lpszSubKey)
DWORD WINAPI SHGetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, LPDWORD pwType, LPVOID pvData, LPDWORD pcbData)
DWORD WINAPI SHQueryValueExA(HKEY hKey, LPCSTR lpszValue, LPDWORD lpReserved, LPDWORD pwType, LPVOID pvData, LPDWORD pcbData)
DWORD WINAPI SHSetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, DWORD dwType, LPCVOID pvData, DWORD cbData)
HRESULT WINAPI SHStrDupW(LPCWSTR src, LPWSTR *dest)
DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen)
LPWSTR WINAPI StrCatBuffW(LPWSTR lpszStr, LPCWSTR lpszCat, INT cchMax)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
WDF_INTERRUPT_POLICY policy
EXTERN_C BOOL SHELL32_ReadRegShellState(PREGSHELLSTATE prss)
EXTERN_C void SHELL32_GetDefaultShellState(LPSHELLSTATE pss)
EXTERN_C LSTATUS SHELL32_WriteRegShellState(PREGSHELLSTATE prss)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble r
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
BOOL SIC_Initialize(void)
BOOL WINAPI Shell_GetImageLists(HIMAGELIST *lpBigList, HIMAGELIST *lpSmallList)
VOID WINAPI CoTaskMemFree(LPVOID ptr)
NTSYSAPI NTSTATUS WINAPI RtlGUIDFromString(PUNICODE_STRING, GUID *)
HRESULT ReplacePage([in] EXPPS uPageID, [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith, [in] LPARAM lParam)
HRESULT AddPages([in] LPFNSVADDPROPSHEETPAGE pfnAddPage, [in] LPARAM lParam)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
nsresult QueryInterface(nsIIDRef riid, void **result)
int const JOCTET unsigned int datalen
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
LPSTR WINAPI lstrcatA(LPSTR lpString1, LPCSTR lpString2)
int WINAPI lstrlenA(LPCSTR lpString)
TCHAR szTitle[MAX_LOADSTRING]
#define memcpy(s1, s2, n)
#define ERROR_FILE_NOT_FOUND
static char szTempPath[MAX_PATH]
static const WCHAR desc[]
static HANDLE ULONG_PTR dwData
static HMODULE MODULEINFO DWORD cb
static const WCHAR invalid[]
struct _PSP * HPROPSHEETPAGE
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
_In_ ACCESS_MASK _In_ ULONG _Out_ PHANDLE TokenHandle
#define SEM_FAILCRITICALERRORS
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
#define KEY_ENUMERATE_SUB_KEYS
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)
#define FILE_ATTRIBUTE_TEMPORARY
interface IEnumFORMATETC * LPENUMFORMATETC
interface IDataObject * LPDATAOBJECT
const GUID IID_IEnumFORMATETC
const GUID IID_IPersistFile
#define PathAddBackslashW
void WINAPI ILFree(LPITEMIDLIST pidl)
BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR pszPath)
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
LPITEMIDLIST WINAPI ILCreateFromPathW(LPCWSTR path)
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define _WIN32_WINNT_VISTA
static __inline BOOL SHELL_OsIsUnicode(void)
#define SEE_MASK_INVOKEIDLIST
_In_ LPCSTR _Out_ BOOL * pfMustCopy
BOOL WINAPI SignalFileOpen(PCIDLIST_ABSOLUTE pidl)
struct _PSXA_CALL * PPSXA_CALL
HRESULT WINAPI SHLoadOLE(LPARAM lParam)
static INT CALLBACK SHADD_compare_mru(LPCVOID data1, LPCVOID data2, DWORD cbData)
DWORD WINAPI DoEnvironmentSubstAW(LPVOID x, UINT y)
static BOOL DoSanitizeText(LPWSTR pszSanitized, LPCWSTR pszInvalidChars, LPCWSTR pszValidChars)
HRESULT WINAPI SHRegisterDragDrop(HWND hWnd, LPDROPTARGET pDropTarget)
WORD WINAPI ArrangeWindows(HWND hwndParent, DWORD dwReserved, const RECT *lpRect, WORD cKids, const HWND *lpKids)
DWORD WINAPI DoEnvironmentSubstW(LPWSTR pszString, UINT cchString)
HRESULT WINAPI SHAbortInvokeCommand(void)
BOOL WINAPI DAD_AutoScroll(HWND hwnd, AUTO_SCROLL_DATA *samples, const POINT *pt)
void WINAPI SHUpdateImageW(LPCWSTR pszHashItem, int iIndex, UINT uFlags, int iImageIndex)
void WINAPI SHAddToRecentDocs(UINT uFlags, LPCVOID pv)
HRESULT WINAPI SHStartNetConnectionDialog(HWND hwnd, LPCSTR pszRemoteName, DWORD dwType)
int WINAPI InvalidateDriveType(int u)
VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
BOOL WINAPI RegisterShellHook(HWND hWnd, DWORD dwType)
BOOL WINAPI SHObjectProperties(HWND hwnd, DWORD dwType, LPCWSTR szObject, LPCWSTR szPage)
void WINAPI SHFreeUnusedLibraries(void)
static BOOL CALLBACK PsxaCall(HPROPSHEETPAGE hpage, LPARAM lParam)
BOOL WINAPI DAD_DragEnter(HWND hwnd)
#define MRUF_DELAYED_SAVE
INT WINAPI SHHandleUpdateImage(PCIDLIST_ABSOLUTE pidlExtra)
void WINAPI SHDestroyPropSheetExtArray(HPSXA hpsxa)
HRESULT WINAPI SHCreateStdEnumFmtEtc(UINT cFormats, const FORMATETC *lpFormats, LPENUMFORMATETC *ppenumFormatetc)
EXTERN_C BOOL WINAPI SHTestTokenMembership(HANDLE TokenHandle, ULONG ulRID)
BOOL WINAPI DAD_SetDragImage(HIMAGELIST himlTrack, LPPOINT lppt)
INT WINAPI FindMRUData(HANDLE hList, LPCVOID lpData, DWORD cbData, LPINT lpRegNum)
HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv)
static void DoSanitizeClipboard(HWND hwnd, UxSubclassInfo *pInfo)
HANDLE WINAPI CreateMRUListA(LPCREATEMRULISTA lpcml)
DWORD WINAPI ParseFieldAW(LPCVOID src, DWORD nField, LPVOID dst, DWORD len)
void WINAPI SHFlushSFCache(void)
BOOL WINAPI LinkWindow_RegisterClass(void)
BOOL WINAPI GUIDFromStringA(LPCSTR str, LPGUID guid)
BOOL WINAPI PathIsTemporaryW(LPWSTR Str)
struct tagCREATEMRULIST * LPCREATEMRULISTA
BOOL WINAPI GUIDFromStringW(LPCWSTR str, LPGUID guid)
BOOL WINAPI LinkWindow_UnregisterClass(DWORD dwUnused)
VOID WINAPI SHUpdateImageA(LPCSTR pszHashItem, INT iIndex, UINT uFlags, INT iImageIndex)
HRESULT WINAPI SHWinHelp(HWND hwnd, LPCWSTR pszHelp, UINT uCommand, ULONG_PTR dwData)
HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY hKey, LPCWSTR pszSubKey, UINT max_iface, LPDATAOBJECT pDataObj)
DWORD WINAPI ParseFieldW(LPCWSTR src, DWORD nField, LPWSTR dst, DWORD len)
static LRESULT CALLBACK LimitEditWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
BOOL WINAPI FileIconInit(BOOL bFullInit)
int ShellMessageBoxA(HINSTANCE hInstance, HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,...)
BOOL WINAPI DAD_ShowDragImage(BOOL bShow)
BOOL WINAPI DAD_DragEnterEx(HWND hwnd, POINT p)
DWORD WINAPI RLBuildListOfPaths(void)
VOID WINAPI FreeMRUList(HANDLE hMRUList)
BOOL WINAPI SHGetNewLinkInfoW(LPCWSTR pszLinkTo, LPCWSTR pszDir, LPWSTR pszName, BOOL *pfMustCopy, UINT uFlags)
static INT SHADD_create_add_mru_data(HANDLE mruhandle, LPCSTR doc_name, LPCSTR new_lnk_name, LPSTR buffer, INT *len)
DWORD WINAPI DoEnvironmentSubstA(LPSTR pszString, UINT cchString)
VOID WINAPI SHGetSetSettings(LPSHELLSTATE lpss, DWORD dwMask, BOOL bSet)
static INT SHADD_get_policy(LPCSTR policy, LPDWORD type, LPVOID buffer, LPDWORD len)
HRESULT WINAPI SetAppStartingCursor(HWND u, DWORD v)
HRESULT WINAPI SHRevokeDragDrop(HWND hWnd)
BOOL WINAPI SHRunControlPanel(_In_ LPCWSTR commandLine, _In_opt_ HWND parent)
HRESULT WINAPI SHLimitInputEdit(HWND hWnd, IShellFolder *psf)
struct _PSXA_CALL PSXA_CALL
BOOL WINAPI SHValidateUNC(HWND hwndOwner, PWSTR pszFile, UINT fConnect)
BOOL WINAPI SHWaitForFileToOpen(LPCITEMIDLIST pidl, DWORD dwFlags, DWORD dwTimeout)
HRESULT WINAPI SHGetInstanceExplorer(IUnknown **lpUnknown)
static UxSubclassInfo * UxSubclassInfo_Create(HWND hwnd, LPWSTR valid, LPWSTR invalid)
INT WINAPI EnumMRUListA(HANDLE hList, INT nItemPos, LPVOID lpBuffer, DWORD nBufferSize)
UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA hpsxa, UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith, LPARAM lParam)
BOOL WINAPI SHGetNewLinkInfoA(LPCSTR pszLinkTo, LPCSTR pszDir, LPSTR pszName, BOOL *pfMustCopy, UINT uFlags)
BOOL WINAPI DAD_DragMove(POINT p)
struct tagCREATEMRULIST CREATEMRULISTA
HRESULT WINAPI SHSetLocalizedName(LPCWSTR pszPath, LPCWSTR pszResModule, int idsRes)
HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pcsfv, IShellView **ppsv)
VOID WINAPI SHSetInstanceExplorer(LPUNKNOWN lpUnknown)
HRESULT WINAPI SHCreateShellFolderViewEx(LPCSFV psvcbi, IShellView **ppv)
BOOL WINAPI SHFindFiles(PCIDLIST_ABSOLUTE pidlFolder, PCIDLIST_ABSOLUTE pidlSaveFile)
LRESULT WINAPI SHShellFolderView_Message(HWND hwndCabinet, UINT uMessage, LPARAM lParam)
static void UxSubclassInfo_Destroy(UxSubclassInfo *pInfo)
BOOL WINAPI GetFileNameFromBrowse(HWND hwndOwner, LPWSTR lpstrFile, UINT nMaxFile, LPCWSTR lpstrInitialDir, LPCWSTR lpstrDefExt, LPCWSTR lpstrFilter, LPCWSTR lpstrTitle)
HRESULT WINAPI CIDLData_CreateFromIDArray(PCIDLIST_ABSOLUTE pidlFolder, UINT cpidlFiles, PCUIDLIST_RELATIVE_ARRAY lppidlFiles, LPDATAOBJECT *ppdataObject)
UINT WINAPI SHAddFromPropSheetExtArray(HPSXA hpsxa, LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam)
int WINAPI SHOutOfMemoryMessageBox(HWND hwndOwner, LPCSTR lpCaption, UINT uType)
static LPUNKNOWN SHELL32_IExplorerInterface
INT WINAPI AddMRUData(HANDLE hList, LPCVOID lpData, DWORD cbData)
BOOL WINAPI PathIsTemporaryA(LPSTR Str)
HPSXA WINAPI SHCreatePropSheetExtArray(HKEY hKey, LPCWSTR pszSubKey, UINT max_iface)
BOOL WINAPI WriteCabinetState(CABINETSTATE *cs)
HRESULT WINAPI SHDoDragDrop(HWND hWnd, LPDATAOBJECT lpDataObject, LPDROPSOURCE lpDropSource, DWORD dwOKEffect, LPDWORD pdwEffect)
DWORD WINAPI ParseFieldA(LPCSTR src, DWORD nField, LPSTR dst, DWORD len)
HRESULT WINAPI SHFlushClipboard(void)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
BOOL WINAPI DECLSPEC_HOTPATCH ShellExecuteExW(LPSHELLEXECUTEINFOW sei)
#define CSIDL_INTERNET_CACHE
#define SSF_DONTPRETTYPATH
#define CSIDL_CDBURN_AREA
struct SHELLFLAGSTATE * LPSHELLFLAGSTATE
#define SSF_SHOWATTRIBCOL
BOOL WINAPI IsUserAnAdmin(void)
#define SSF_MAPNETDRVBUTTON
#define SSF_SHOWEXTENSIONS
#define SSF_SHOWSUPERHIDDEN
#define SSF_SHOWALLOBJECTS
@ REST_NORECENTDOCSHISTORY
BOOL WINAPI DAD_DragLeave(void)
#define SHELL_GlobalCounterIncrement(handle)
#define SHELL_GlobalCounterIsInitialized(handle)
#define SHELL_GCOUNTER_DEFINE_GUID(name, a, b, c, d, e, f, g, h, i, j, k)
#define SHELL_GCOUNTER_PARAMETERS(handle, id)
#define SHELL_GCOUNTER_DECLAREPARAMETERS(handle, id)
#define SHELL_GlobalCounterGet(handle)
#define SHELL_GCOUNTER_DEFINE_HANDLE(name)
#define SHELL_GlobalCounterCreate(refguid, handle)
DWORD WINAPI SHRestricted(RESTRICTIONS rest)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const PCUIDLIST_RELATIVE * PCUIDLIST_RELATIVE_ARRAY
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
LPFNVIEWCALLBACK pfnCallback
LPFNADDPROPSHEETPAGE lpfnAddReplaceWith
IShellPropSheetExt * pspsx[1]
IShellFolderViewCB * psfvcb
#define FIELD_OFFSET(t, f)
HRESULT WINAPI SHLimitInputCombo(HWND hWnd, IShellFolder *psf)
HWND WINAPI SetTaskmanWindow(HWND)
#define INVALID_FILE_ATTRIBUTES
DWORD WINAPI GetLastError(void)
#define FORMAT_MESSAGE_FROM_STRING
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
_In_ DWORD _In_ DWORD _Out_writes_to_opt_ pcchString LPSTR pszString
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
#define __ms_va_end(list)
#define __ms_va_start(list, arg)
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER
BOOL WINAPI DeregisterShellHookWindow(_In_ HWND)
#define GetWindowLongPtrW
HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI RegisterShellHookWindow(_In_ HWND)
int WINAPI MessageBoxA(_In_opt_ HWND hWnd, _In_opt_ LPCSTR lpText, _In_opt_ LPCSTR lpCaption, _In_ UINT uType)
HANDLE WINAPI SetClipboardData(_In_ UINT, _In_opt_ HANDLE)
#define IS_INTRESOURCE(i)
HWND WINAPI GetTopWindow(_In_opt_ HWND)
BOOL WINAPI CloseClipboard(void)
BOOL WINAPI WinHelpW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_ UINT, _In_ ULONG_PTR)
BOOL WINAPI OpenClipboard(_In_opt_ HWND)
BOOL WINAPI MessageBeep(_In_ UINT uType)
int WINAPI LoadStringA(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPSTR lpBuffer, _In_ int cchBufferMax)
HANDLE WINAPI GetClipboardData(_In_ UINT)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)
BOOL WINAPI IsWindowUnicode(_In_ HWND)
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
#define MAKEINTRESOURCEW(i)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
SHORT WINAPI GetKeyState(_In_ int)
#define SECURITY_BUILTIN_DOMAIN_RID
#define SECURITY_SERVICE_RID
#define SECURITY_LOCAL_SYSTEM_RID
#define SECURITY_NT_AUTHORITY
#define DOMAIN_ALIAS_RID_ADMINS