27#define WIN32_NO_STATUS
30#define NONAMELESSUNION
31#define NONAMELESSSTRUCT
41#include <wine/unicode.h>
102 LPSHELLFOLDER psfParent, lsf = psf;
123 flag = SHGDN_FORPARSING | SHGDN_FORADDRESSBAR;
129 flag = SHGDN_INFOLDER;
132 FIXME(
"Unknown type parameter = %x\n",
type);
133 flag = SHGDN_FORPARSING | SHGDN_FORADDRESSBAR;
157 IShellFolder_Release(psfParent);
164 IShellFolder_Release(lsf);
202 TRACE(
"(pidl=%p)\n",pidl);
207 while (pidl->mkid.cb)
250 TRACE(
"pidl=%p newpidl=%p\n",pidl, newpidl);
267 TRACE(
"pidl=%p\n", pidl);
282 TRACE(
"-- newpidl=%p\n",pidlNew);
305 IStream_AddRef (pStream);
307 if (
SUCCEEDED(IStream_Read(pStream, &wLen, 2, &dwBytesRead)))
309 TRACE(
"PIDL length is %d\n", wLen);
313 if (
SUCCEEDED(IStream_Read(pStream, *ppPidl , wLen, &dwBytesRead)))
315 TRACE(
"Stream read OK\n");
320 WARN(
"reading pidl failed\n");
333 if (*ppPidl && !
pcheck(*ppPidl))
335 WARN(
"Check failed\n");
340 IStream_Release (pStream);
358 IStream_AddRef (pStream);
367 IStream_Release (pStream);
393 TRACE_(
shell)(
"%s %p 0x%08x\n",
path, ppidl, attributes ? *attributes : 0);
412 IShellFolder_Release(sf);
482 TRACE(
"pidl=%p newpidl=%p\n",pidl, newpidl);
498 if (!pidl || !pidl->mkid.cb)
500 pidl = _ILUnsafeNext(pidl);
506 for (;; p1 = _ILUnsafeNext(p1), p2 = _ILUnsafeNext(p2))
508 DWORD cb1 = p1 ? p1->mkid.cb : 0x80000000;
509 DWORD cb2 = p2 ? p2->mkid.cb : 0x80000000;
538 else if (iid1 || iid2)
540 if (!iid1 || !iid2 ||
memcmp(iid1, iid2,
sizeof(
GUID)))
543 else if (pDataW1 || pDataW2)
565 if ((pidltemp1->mkid.cb != pidltemp2->mkid.cb) ||
585 TRACE(
"pidl1=%p pidl2=%p\n",pidl1, pidl2);
591 if (pidl1 == pidl2 || _ILMemCmpEqualIDList(pidltemp1, pidltemp2))
598 IShellFolder_Release(psfDesktop);
618 if (!pidl1 || !pidl2)
621 while (pidltemp1->mkid.cb && pidltemp2->mkid.cb)
630 if (!pidltemp1->mkid.cb && !pidltemp2->mkid.cb)
642 if (!pidlParent || !pidlChild)
645 while (pidlParent->mkid.cb)
647 cb += pidlChild->mkid.cb;
648 if (!pidlChild->mkid.cb)
650 if (pidlParent->mkid.cb)
655 pidlChild = _ILUnsafeNext(pidlChild);
656 pidlParent = _ILUnsafeNext(pidlParent);
659 if (bImmediate && (!pidlChild->mkid.cb || _ILUnsafeNext(pidlChild)->mkid.cb))
700 TRACE(
"%p %p %x\n", pidlParent, pidlChild, bImmediate);
708 while (
pParent->mkid.cb && pChild->mkid.cb)
722 if ((!pChild->mkid.cb ||
ILGetNext(pChild)->mkid.cb) && bImmediate)
751 TRACE(
"pidl1=%p pidl2=%p\n", pidl1, pidl2);
761 TRACE(
"pidl1=%p pidl2=%p\n",pidl1, pidl2);
777 while (pidltemp1->mkid.cb && pidltemp2->mkid.cb)
787 if (pidltemp1->mkid.cb)
819 TRACE(
"pidl=%p pidl=%p\n",pidl1,pidl2);
821 if (!pidl1 && !pidl2)
return NULL;
844 memcpy(pidlNew,pidl1,len1);
863 hr = IShellFolder_GetUIObjectOf(lpsf, 0, 1, &pidlSimple,
872 fmt.dwAspect = DVASPECT_CONTENT;
874 fmt.tymed = TYMED_HGLOBAL;
876 hr = IDataObject_GetData(pDataObj, &
fmt, &medium);
878 IDataObject_Release(pDataObj);
888 *pidlReal =
ILCombine(pidl_folder, pidl_child);
911 FIXME(
"(pidl=%p)\n",pidl);
948 TRACE(
"pidl=%p size=%u\n",pidl,
len);
980 TRACE(
"-- %p\n", pidl);
1007 WARN(
"(pidl=%p,pidl=%p,%08u)semi-stub\n",pidl,
item,bEnd);
1044 TRACE(
"(pidl=%p)\n",pidl);
1064 TRACE(
"%p\n", pidl);
1150 LPSHELLFOLDER pSF =
NULL;
1155 ppidl, ppidl ? *ppidl :
NULL,
1156 prgfInOut, prgfInOut ? *prgfInOut : 0);
1162 if (lpFindFile || bBindCtx)
1172 IBindCtx_Release(pBC);
1176 IShellFolder_Release(pSF);
1296 pfd->cFileName[0] =
'\0';
1299 lstrcpynA(
pfd->cAlternateFileName, shortname,
sizeof(
pfd->cAlternateFileName));
1301 pfd->cAlternateFileName[0] =
'\0';
1310 ERR_(
shell)(
"Unknown SHGDFIL %i, please report\n", nFormat);
1353 pfd->cFileName[0] =
'\0';
1358 pfd->cAlternateFileName[0] =
'\0';
1360 pfd->cAlternateFileName[13] = 0;
1369 ERR_(
shell)(
"Unknown SHGDFIL %i, please report\n", nFormat);
1414 LPSHELLFOLDER psfFolder;
1428 ERR(
"SHBindToParent failed: %x\n",
hr);
1433 hr = IShellFolder_GetAttributesOf(psfFolder, 1, &pidlLast, &
dwAttributes);
1436 WARN(
"Wrong dwAttributes or GetAttributesOf failed: %x\n",
hr);
1437 IShellFolder_Release(psfFolder);
1442 IShellFolder_Release(psfFolder);
1482 hr = IShellFolder_QueryInterface(psfDesktop,
riid,
ppv);
1488 hr = IShellFolder_BindToObject(psfDesktop, pidlParent,
NULL,
riid,
ppv);
1492 IShellFolder_Release(psfDesktop);
1512 TRACE(
"(%s, %p, %p, 0x%X, %p)\n", pszName, pbc, ppidl, sfgaoIn, psfgaoOut);
1519 pszNameDup =
StrDupW(pszName);
1539 ULONG sfgao = sfgaoIn, cchEaten;
1547 (psfgaoOut ? &sfgao :
NULL));
1549 *psfgaoOut = (sfgao & sfgaoIn);
1555 psfDesktop->lpVtbl->
Release(psfDesktop);
1558 pBindCtx->lpVtbl->
Release(pBindCtx);
1582 case SIGDN_NORMALDISPLAY:
1583 case SIGDN_PARENTRELATIVEPARSING:
1584 case SIGDN_PARENTRELATIVEEDITING:
1585 case SIGDN_DESKTOPABSOLUTEPARSING:
1586 case SIGDN_DESKTOPABSOLUTEEDITING:
1587 case SIGDN_PARENTRELATIVEFORADDRESSBAR:
1588 case SIGDN_PARENTRELATIVE:
1599 case SIGDN_FILESYSPATH:
1619 IShellFolder_Release(psfparent);
1643 ret = IUnknown_QueryInterface(punk, &IID_IPersistIDList, (
void**)&ppersidl);
1646 TRACE(
"IPersistIDList (%p)\n", ppersidl);
1647 ret = IPersistIDList_GetIDList(ppersidl, ppidl);
1648 IPersistIDList_Release(ppersidl);
1654 ret = IUnknown_QueryInterface(punk, &IID_IPersistFolder2, (
void**)&ppf2);
1657 TRACE(
"IPersistFolder2 (%p)\n", ppf2);
1658 ret = IPersistFolder2_GetCurFolder(ppf2, ppidl);
1659 IPersistFolder2_Release(ppf2);
1669 TRACE(
"IDataObject (%p)\n", pdo);
1671 &IID_IShellItem, (
void**)&psi);
1675 IShellItem_Release(psi);
1677 IDataObject_Release(pdo);
1684 ret = IUnknown_QueryInterface(punk, &IID_IFolderView, (
void**)&pfv);
1688 TRACE(
"IFolderView (%p)\n", pfv);
1689 ret = IFolderView_GetFolder(pfv, &IID_IShellFolder, (
void**)&psf);
1695 IFolderView_Release(pfv);
1730 pidlOut->mkid.cb =
size + 3;
1738 pidlNext->mkid.cb = 0x00;
1739 TRACE(
"-- (pidl=%p, size=%u)\n", pidlOut,
size);
1850 TRACE(
"-- create GUID-pidl %s\n",
1856 WARN(
"%d: invalid type for GUID\n",
type);
1869 ERR(
"%s is not a GUID\n", szGUID);
1911 wlen =
lstrlenW(wfd->cFileName) + 1;
1922 fs->dwFileSize = wfd->nFileSizeLow;
1923 fs->uFileAttribs = wfd->dwFileAttributes;
1972 pszDest[0] =
toupper(lpszNew[0]);
1990 pData->u.network.dummy = 0;
1991 strcpy(
pData->u.network.szNames,
"Entire Network");
2006 TRACE(
"(%p,%p,%u)\n",pidl,pOut,uSize);
2035 TRACE(
"(%p)\n",pidl);
2042 TRACE(
"(%p)\n",pidl);
2044 return !pidl || !pidl->mkid.cb;
2051 TRACE(
"(%p)\n", pidl);
2062 TRACE(
"(%p)\n", pidl);
2065 return IsEqualIID(iid, &CLSID_NetworkPlaces);
2073 TRACE(
"(%p)\n", pidl);
2084 TRACE(
"(%p)\n",pidl);
2095 TRACE(
"(%p)\n", pidl);
2106 TRACE(
"(%p)\n",pidl);
2109 (pidl && pidl->mkid.cb == 0x00)
2117 TRACE(
"(%p)\n",pidl);
2119 return (pidl && lpPData && (
PT_DRIVE == lpPData->
type ||
2129 TRACE(
"(%p)\n",pidl);
2138 TRACE(
"(%p)\n",pidl);
2147 TRACE(
"(%p)\n",pidl);
2149 return (pidl && lpPData && (lpPData->
type == 0));
2164 if (pidlnext->mkid.cb)
2189 TRACE(
"(%p %p %x)\n",pidl,szOut,uOutSize);
2249 ERR(
"-- no text\n");
2284 switch (
pdata->type)
2319 return pdata->u.cpanel.szName;
2340 switch (
pdata->type)
2351 return pdata->u.drive.szDriveName;
2358 return pdata->u.file.szNames;
2365 return pdata->u.network.szNames;
2383 switch (
pdata->type)
2406 TRACE(
"%p\n", pidl);
2412 switch (
pdata->type)
2417 return &(
pdata->u.guid.guid);
2420 TRACE(
"Unknown pidl type 0x%04x\n",
pdata->type);
2445 cbOffset = *(
const WORD *)((
const BYTE *)pidl + pidl->mkid.cb -
sizeof(
WORD));
2451 if ((cbOffset & 0x1) ||
2455 cbOffset > pidl->mkid.cb -
sizeof(cbOffset) -
sizeof(
FileStructW) ||
2456 pidl->mkid.cb != cbOffset + pFileStructW->
cbLen)
2458 WARN(
"Invalid pidl format (cbOffset = %d)!\n", cbOffset);
2462 return pFileStructW;
2487 switch (
pdata->type)
2514 pOut[
ret - 1] =
L' ';
2551 switch (
pdata->type)
2570 TRACE(
"pidl=%p\n",pidl);
2624 wAttrib =
pData->u.file.uFileAttribs;
2657 for (
i = 0;
i < cidl;
i++)
2678 for (
i = 0;
i < cidl;
i++)
2701 for (
i = 0;
i < cida->
cidl;
i++)
HRESULT WINAPI SHGetDesktopFolder(IShellFolder **psf)
HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV)
int strcmp(const char *String1, const char *String2)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
void pdump(LPCITEMIDLIST pidl)
BOOL pcheck(LPCITEMIDLIST pidl)
#define SHCIDS_CANONICALONLY
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
#define WINE_DECLARE_DEBUG_CHANNEL(x)
#define WideCharToMultiByte
#define MultiByteToWideChar
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
BOOL WINAPI FileTimeToSystemTime(IN CONST FILETIME *lpFileTime, OUT LPSYSTEMTIME lpSystemTime)
BOOL WINAPI FileTimeToLocalFileTime(IN CONST FILETIME *lpFileTime, OUT LPFILETIME lpLocalFileTime)
BOOL WINAPI DosDateTimeToFileTime(IN WORD wFatDate, IN WORD wFatTime, OUT LPFILETIME lpFileTime)
BOOL WINAPI FileTimeToDosDateTime(IN CONST FILETIME *lpFileTime, OUT LPWORD lpFatDate, OUT LPWORD lpFatTime)
const GUID CLSID_AdminFolderShortcut
void WINAPI SHFree(LPVOID pv)
DWORD WINAPI SHCLSIDFromStringA(LPCSTR clsid, CLSID *id)
DWORD WINAPI SHCLSIDFromStringW(LPCWSTR clsid, CLSID *id)
LPVOID WINAPI SHAlloc(SIZE_T len)
HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST *ppidl)
LPWSTR WINAPI PathFindExtensionW(LPCWSTR lpszPath)
LPWSTR WINAPI StrFormatKBSizeW(LONGLONG llBytes, LPWSTR lpszDest, UINT cchMax)
HRESULT WINAPI StrRetToBufW(LPSTRRET src, const ITEMIDLIST *pidl, LPWSTR dest, UINT len)
HRESULT WINAPI StrRetToStrW(LPSTRRET lpStrRet, const ITEMIDLIST *pidl, LPWSTR *ppszName)
LPWSTR WINAPI StrDupW(LPCWSTR lpszStr)
#define IShellFolder_ParseDisplayName
#define IShellFolder_CompareIDs
#define IShellFolder_GetDisplayNameOf
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
static unsigned char buff[32768]
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
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 flag
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)
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
HRESULT ParseDisplayName([in] HWND hwndOwner, [in] LPBC pbcReserved, [in, string] LPOLESTR lpszDisplayName, [out] ULONG *pchEaten, [out] PIDLIST_RELATIVE *ppidl, [in, out, unique] ULONG *pdwAttributes)
#define RtlEqualMemory(dst, src, len)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
#define memcpy(s1, s2, n)
#define ERROR_FILE_NOT_FOUND
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static HMODULE MODULEINFO DWORD cb
static PROTOCOLDATA * pdata
#define FILE_ATTRIBUTE_READONLY
#define FILE_ATTRIBUTE_COMPRESSED
#define FILE_ATTRIBUTE_HIDDEN
#define FILE_ATTRIBUTE_SYSTEM
#define FILE_ATTRIBUTE_ARCHIVE
#define FILE_ATTRIBUTE_DIRECTORY
#define LOCALE_USER_DEFAULT
interface IBindCtx * LPBC
const GUID IID_IDataObject
BOOL WINAPI GUIDFromStringW(_In_ PCWSTR psz, _Out_ LPGUID pguid)
LPITEMIDLIST WINAPI SHSimpleIDListFromPathA(LPCSTR lpszPath)
BOOL _ILIsUnicode(LPCITEMIDLIST pidl)
LPITEMIDLIST WINAPI SHCloneSpecialIDList(HWND hwndOwner, int nFolder, BOOL fCreate)
LPITEMIDLIST _ILCreateMyComputer(void)
PITEMID_CHILD * _ILCopyaPidl(PCUITEMID_CHILD_ARRAY apidlsrc, UINT cidl)
static HRESULT _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile, BOOL bBindCtx, LPITEMIDLIST *ppidl, LPDWORD prgfInOut)
static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl)
LPITEMIDLIST _ILCreateIExplore(void)
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
LPITEMIDLIST WINAPI ILGlobalClone(LPCITEMIDLIST pidl)
static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl)
void WINAPI ILFree(LPITEMIDLIST pidl)
LPITEMIDLIST * _ILCopyCidaToaPidl(LPITEMIDLIST *pidl, const CIDA *cida)
BOOL _ILHACKCompareSimpleIds(LPCITEMIDLIST pidltemp1, LPCITEMIDLIST pidltemp2)
HRESULT WINAPI SHILCreateFromPathW(LPCWSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
DWORD _ILGetFileAttributes(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize)
LPITEMIDLIST WINAPI ILFindLastID(LPCITEMIDLIST pidl)
HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl)
LPITEMIDLIST _ILCreateEntireNetwork(void)
BOOL WINAPI ILIsParent(LPCITEMIDLIST pidlParent, LPCITEMIDLIST pidlChild, BOOL bImmediate)
LPITEMIDLIST WINAPI SHSimpleIDListFromPathAW(LPCVOID lpszPath)
HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName)
HRESULT WINAPI SHParseDisplayName(LPCWSTR pszName, IBindCtx *pbc, LPITEMIDLIST *ppidl, SFGAOF sfgaoIn, SFGAOF *psfgaoOut)
BOOL _ILIsMyDocuments(LPCITEMIDLIST pidl)
LPITEMIDLIST _ILCreateDrive(LPCWSTR lpszNew)
LPITEMIDLIST WINAPI ILCombine(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
LPSTR _ILGetTextPointer(LPCITEMIDLIST pidl)
LPITEMIDLIST _ILCreateDesktop(void)
LPPIDLDATA _ILGetDataPointer(LPCITEMIDLIST pidl)
LPITEMIDLIST WINAPI SHLogILFromFSIL(LPITEMIDLIST pidl)
HRESULT WINAPI SHGetRealIDL(LPSHELLFOLDER lpsf, LPCITEMIDLIST pidlSimple, LPITEMIDLIST *pidlReal)
LPITEMIDLIST WINAPI ILCloneFirst(LPCITEMIDLIST pidl)
LPCITEMIDLIST _ILIsParentEx(LPCITEMIDLIST pidlParent, LPCITEMIDLIST pidlChild, BOOL bImmediate)
BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR pszPath)
LPITEMIDLIST WINAPI ILCreateFromPathAW(LPCVOID path)
BOOL WINAPI ILRemoveLastID(LPITEMIDLIST pidl)
HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast)
FileStructW * _ILGetFileStructW(LPCITEMIDLIST pidl)
BOOL _ILIsSpecialFolder(LPCITEMIDLIST pidl)
HRESULT _ILCreateFromPathW(LPCWSTR szPath, LPITEMIDLIST *ppidl)
HRESULT WINAPI ILSaveToStream(IStream *pStream, LPCITEMIDLIST pPidl)
LPITEMIDLIST _ILCreateNetwork(void)
BOOL WINAPI ILGetDisplayName(LPCITEMIDLIST pidl, LPVOID path)
BOOL _ILIsFolder(LPCITEMIDLIST pidl)
DWORD _ILGetDrive(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uSize)
LPITEMIDLIST WINAPI ILAppendID(LPITEMIDLIST pidl, LPCSHITEMID item, BOOL bEnd)
BOOL _ILIsPidlSimple(LPCITEMIDLIST pidl)
BOOL _ILIsBitBucket(LPCITEMIDLIST pidl)
BOOL _ILIsMyComputer(LPCITEMIDLIST pidl)
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
void _ILFreeaPidl(LPITEMIDLIST *apidl, UINT cidl)
HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID dest, int len)
void WINAPI ILGlobalFree(LPITEMIDLIST pidl)
BOOL WINAPI ILGetDisplayNameEx(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPVOID path, DWORD type)
HRESULT WINAPI ILLoadFromStream(IStream *pStream, LPITEMIDLIST *ppPidl)
LPITEMIDLIST WINAPI SHSimpleIDListFromPathW(LPCWSTR lpszPath)
LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST pidl)
LPITEMIDLIST _ILCreateGuidFromStrA(LPCSTR szGUID)
BOOL _ILIsNetHood(LPCITEMIDLIST pidl)
EXTERN_C HRESULT BindCtx_RegisterObjectParam(_In_ IBindCtx *pBindCtx, _In_ LPOLESTR pszKey, _In_opt_ IUnknown *punk, _Out_ LPBC *ppbc)
LPITEMIDLIST _ILCreateGuidFromStrW(LPCWSTR szGUID)
BOOL ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR path, DWORD type)
static LPITEMIDLIST _ILAlloc(PIDLTYPE type, unsigned int size)
IID * _ILGetGUIDPointer(LPCITEMIDLIST pidl)
LPITEMIDLIST SHELL32_CreateSimpleIDListFromPath(LPCWSTR pszPath, DWORD dwAttributes)
HRESULT WINAPI SHGetPathCchFromIDListW(_In_ LPCITEMIDLIST pidl, _Out_writes_(cchPathMax) LPWSTR pszPath, _In_ SIZE_T cchPathMax)
HRESULT WINAPI SHILCreateFromPathAW(LPCVOID path, LPITEMIDLIST *ppidl, DWORD *attributes)
PUIDLIST_RELATIVE WINAPI ILFindChild(PIDLIST_ABSOLUTE pidl1, PCIDLIST_ABSOLUTE pidl2)
BOOL _ILGetFileDateTime(LPCITEMIDLIST pidl, FILETIME *pFt)
LPITEMIDLIST _ILCreateGuid(PIDLTYPE type, REFIID guid)
LPITEMIDLIST _ILCreatePrinters(void)
BOOL _ILGetFileDate(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize)
HRESULT WINAPI SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
DWORD _ILGetFileSize(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize)
LPITEMIDLIST _ILCreateControlPanel(void)
EXTERN_C HWND BindCtx_GetUIWindow(_In_ IBindCtx *pBindCtx)
BOOL _ILIsControlPanel(LPCITEMIDLIST pidl)
BOOL _ILIsDesktop(LPCITEMIDLIST pidl)
BOOL _ILIsValue(LPCITEMIDLIST pidl)
static BOOL ILGetDisplayNameExA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPSTR path, DWORD type)
LPITEMIDLIST WINAPI ILCreateFromPathW(LPCWSTR path)
BOOL _ILIsDrive(LPCITEMIDLIST pidl)
HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID dest, int len)
BOOL _ILGetExtension(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize)
LPITEMIDLIST _ILCreateMyDocuments(void)
LPITEMIDLIST _ILCreateBitBucket(void)
DWORD _ILSimpleGetTextW(LPCITEMIDLIST pidl, LPWSTR szOut, UINT uOutSize)
LPITEMIDLIST WINAPI ILCreateFromPathA(LPCSTR path)
LPITEMIDLIST _ILCreateFromFindDataW(const WIN32_FIND_DATAW *wfd)
BOOL WINAPI ILIsEqual(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
LPITEMIDLIST _ILCreateAdminTools(void)
BOOL _ILIsCPanelStruct(LPCITEMIDLIST pidl)
struct tagFileStruct FileStruct
UINT _ILGetDepth(LPCITEMIDLIST pidl)
static BOOL _ILIsEmpty(LPCITEMIDLIST pidl)
#define IsEqualIID(riid1, riid2)
BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len)
static __inline BOOL SHELL_OsIsUnicode(void)
#define CSIDL_FLAG_CREATE
BOOL WINAPI StrRetToStrNW(LPWSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
#define SHGDFIL_NETRESOURCE
#define SHGDFIL_DESCRIPTIONID
static const WCHAR CFSTR_SHELLIDLISTW[]
HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const PCUITEMID_CHILD * PCUITEMID_CHILD_ARRAY
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
const SHITEMID * LPCSHITEMID
ITEMIDLIST_RELATIVE UNALIGNED * PUIDLIST_RELATIVE
static PIXELFORMATDESCRIPTOR pfd
struct tagDriveStruct drive
struct tagFileStruct file
union tagPIDLDATA::@558 u
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define FIELD_OFFSET(t, f)
#define HRESULT_FROM_WIN32(x)
UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free