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);
507 else if (iid1 || iid2)
509 if (!iid1 || !iid2 ||
memcmp(iid1, iid2,
sizeof(
GUID)))
512 else if (pDataW1 || pDataW2)
534 if ((pidltemp1->mkid.cb != pidltemp2->mkid.cb) ||
553 TRACE(
"pidl1=%p pidl2=%p\n",pidl1, pidl2);
571 if (!pidl1 || !pidl2)
574 while (pidltemp1->mkid.cb && pidltemp2->mkid.cb)
583 if (!pidltemp1->mkid.cb && !pidltemp2->mkid.cb)
616 TRACE(
"%p %p %x\n", pidlParent, pidlChild, bImmediate);
621 while (
pParent->mkid.cb && pChild->mkid.cb)
635 if ((!pChild->mkid.cb ||
ILGetNext(pChild)->mkid.cb) && bImmediate)
666 TRACE(
"pidl1=%p pidl2=%p\n",pidl1, pidl2);
682 while (pidltemp1->mkid.cb && pidltemp2->mkid.cb)
692 if (pidltemp1->mkid.cb)
723 TRACE(
"pidl=%p pidl=%p\n",pidl1,pidl2);
725 if (!pidl1 && !pidl2)
return NULL;
748 memcpy(pidlNew,pidl1,len1);
767 hr = IShellFolder_GetUIObjectOf(lpsf, 0, 1, &pidlSimple,
776 fmt.dwAspect = DVASPECT_CONTENT;
778 fmt.tymed = TYMED_HGLOBAL;
780 hr = IDataObject_GetData(pDataObj, &
fmt, &medium);
782 IDataObject_Release(pDataObj);
792 *pidlReal =
ILCombine(pidl_folder, pidl_child);
815 FIXME(
"(pidl=%p)\n",pidl);
852 TRACE(
"pidl=%p size=%u\n",pidl,
len);
884 TRACE(
"-- %p\n", pidl);
911 WARN(
"(pidl=%p,pidl=%p,%08u)semi-stub\n",pidl,
item,bEnd);
948 TRACE(
"(pidl=%p)\n",pidl);
1054 LPSHELLFOLDER pSF =
NULL;
1059 ppidl, ppidl ? *ppidl :
NULL,
1060 prgfInOut, prgfInOut ? *prgfInOut : 0);
1066 if (lpFindFile || bBindCtx)
1076 IBindCtx_Release(pBC);
1080 IShellFolder_Release(pSF);
1192 pfd->cFileName[0] =
'\0';
1195 lstrcpynA(
pfd->cAlternateFileName, shortname,
sizeof(
pfd->cAlternateFileName));
1197 pfd->cAlternateFileName[0] =
'\0';
1206 ERR_(
shell)(
"Unknown SHGDFIL %i, please report\n", nFormat);
1249 pfd->cFileName[0] =
'\0';
1254 pfd->cAlternateFileName[0] =
'\0';
1256 pfd->cAlternateFileName[13] = 0;
1265 ERR_(
shell)(
"Unknown SHGDFIL %i, please report\n", nFormat);
1310 LPSHELLFOLDER psfFolder;
1324 ERR(
"SHBindToParent failed: %x\n",
hr);
1329 hr = IShellFolder_GetAttributesOf(psfFolder, 1, &pidlLast, &
dwAttributes);
1332 WARN(
"Wrong dwAttributes or GetAttributesOf failed: %x\n",
hr);
1333 IShellFolder_Release(psfFolder);
1338 IShellFolder_Release(psfFolder);
1378 hr = IShellFolder_QueryInterface(psfDesktop,
riid,
ppv);
1384 hr = IShellFolder_BindToObject(psfDesktop, pidlParent,
NULL,
riid,
ppv);
1388 IShellFolder_Release(psfDesktop);
1408 TRACE(
"(%s, %p, %p, 0x%X, %p)\n", pszName, pbc, ppidl, sfgaoIn, psfgaoOut);
1415 pszNameDup =
StrDupW(pszName);
1435 ULONG sfgao = sfgaoIn, cchEaten;
1443 (psfgaoOut ? &sfgao :
NULL));
1445 *psfgaoOut = (sfgao & sfgaoIn);
1451 psfDesktop->lpVtbl->
Release(psfDesktop);
1454 pBindCtx->lpVtbl->
Release(pBindCtx);
1478 case SIGDN_NORMALDISPLAY:
1479 case SIGDN_PARENTRELATIVEPARSING:
1480 case SIGDN_PARENTRELATIVEEDITING:
1481 case SIGDN_DESKTOPABSOLUTEPARSING:
1482 case SIGDN_DESKTOPABSOLUTEEDITING:
1483 case SIGDN_PARENTRELATIVEFORADDRESSBAR:
1484 case SIGDN_PARENTRELATIVE:
1495 case SIGDN_FILESYSPATH:
1515 IShellFolder_Release(psfparent);
1539 ret = IUnknown_QueryInterface(punk, &IID_IPersistIDList, (
void**)&ppersidl);
1542 TRACE(
"IPersistIDList (%p)\n", ppersidl);
1543 ret = IPersistIDList_GetIDList(ppersidl, ppidl);
1544 IPersistIDList_Release(ppersidl);
1550 ret = IUnknown_QueryInterface(punk, &IID_IPersistFolder2, (
void**)&ppf2);
1553 TRACE(
"IPersistFolder2 (%p)\n", ppf2);
1554 ret = IPersistFolder2_GetCurFolder(ppf2, ppidl);
1555 IPersistFolder2_Release(ppf2);
1565 TRACE(
"IDataObject (%p)\n", pdo);
1567 &IID_IShellItem, (
void**)&psi);
1571 IShellItem_Release(psi);
1573 IDataObject_Release(pdo);
1580 ret = IUnknown_QueryInterface(punk, &IID_IFolderView, (
void**)&pfv);
1584 TRACE(
"IFolderView (%p)\n", pfv);
1585 ret = IFolderView_GetFolder(pfv, &IID_IShellFolder, (
void**)&psf);
1591 IFolderView_Release(pfv);
1626 pidlOut->mkid.cb =
size + 3;
1634 pidlNext->mkid.cb = 0x00;
1635 TRACE(
"-- (pidl=%p, size=%u)\n", pidlOut,
size);
1746 TRACE(
"-- create GUID-pidl %s\n",
1752 WARN(
"%d: invalid type for GUID\n",
type);
1765 ERR(
"%s is not a GUID\n", szGUID);
1807 wlen =
lstrlenW(wfd->cFileName) + 1;
1818 fs->dwFileSize = wfd->nFileSizeLow;
1819 fs->uFileAttribs = wfd->dwFileAttributes;
1868 pszDest[0] =
toupper(lpszNew[0]);
1886 pData->u.network.dummy = 0;
1887 strcpy(
pData->u.network.szNames,
"Entire Network");
1902 TRACE(
"(%p,%p,%u)\n",pidl,pOut,uSize);
1931 TRACE(
"(%p)\n",pidl);
1938 TRACE(
"(%p)\n",pidl);
1940 return !pidl || !pidl->mkid.cb;
1947 TRACE(
"(%p)\n", pidl);
1958 TRACE(
"(%p)\n", pidl);
1961 return IsEqualIID(iid, &CLSID_NetworkPlaces);
1969 TRACE(
"(%p)\n", pidl);
1980 TRACE(
"(%p)\n",pidl);
1991 TRACE(
"(%p)\n", pidl);
2002 TRACE(
"(%p)\n",pidl);
2005 (pidl && pidl->mkid.cb == 0x00)
2013 TRACE(
"(%p)\n",pidl);
2015 return (pidl && lpPData && (
PT_DRIVE == lpPData->
type ||
2025 TRACE(
"(%p)\n",pidl);
2034 TRACE(
"(%p)\n",pidl);
2043 TRACE(
"(%p)\n",pidl);
2045 return (pidl && lpPData && (lpPData->
type == 0));
2060 if (pidlnext->mkid.cb)
2085 TRACE(
"(%p %p %x)\n",pidl,szOut,uOutSize);
2145 ERR(
"-- no text\n");
2180 switch (
pdata->type)
2215 return pdata->u.cpanel.szName;
2236 switch (
pdata->type)
2247 return pdata->u.drive.szDriveName;
2254 return pdata->u.file.szNames;
2261 return pdata->u.network.szNames;
2279 switch (
pdata->type)
2302 TRACE(
"%p\n", pidl);
2308 switch (
pdata->type)
2313 return &(
pdata->u.guid.guid);
2316 TRACE(
"Unknown pidl type 0x%04x\n",
pdata->type);
2341 cbOffset = *(
const WORD *)((
const BYTE *)pidl + pidl->mkid.cb -
sizeof(
WORD));
2347 if ((cbOffset & 0x1) ||
2351 cbOffset > pidl->mkid.cb -
sizeof(cbOffset) -
sizeof(
FileStructW) ||
2352 pidl->mkid.cb != cbOffset + pFileStructW->
cbLen)
2354 WARN(
"Invalid pidl format (cbOffset = %d)!\n", cbOffset);
2358 return pFileStructW;
2383 switch (
pdata->type)
2410 pOut[
ret - 1] =
L' ';
2447 switch (
pdata->type)
2466 TRACE(
"pidl=%p\n",pidl);
2508 WCHAR sType[64], sTemp[64];
2573 wAttrib =
pData->u.file.uFileAttribs;
2606 for (
i = 0;
i < cidl;
i++)
2627 for (
i = 0;
i < cidl;
i++)
2650 for (
i = 0;
i < cida->
cidl;
i++)
HRESULT WINAPI SHGetDesktopFolder(IShellFolder **psf)
HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV)
#define shell32_hInstance
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 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_GetDisplayNameOf
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
static unsigned char buff[32768]
GLuint GLuint GLsizei GLenum type
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 PROTOCOLDATA * pdata
#define _Out_writes_(size)
#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)
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)
void _ILGetFileType(LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize)
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)
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
static BOOL _ILIsEmpty(LPCITEMIDLIST pidl)
#define IsEqualIID(riid1, riid2)
BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len)
BOOL HCR_MapTypeToValueW(LPCWSTR szExtension, LPWSTR szFileType, LONG len, BOOL bPrependDot)
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
STRSAFEAPI StringCchPrintfW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszFormat,...)
struct tagDriveStruct drive
struct tagFileStruct file
union tagPIDLDATA::@557 u
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define FIELD_OFFSET(t, f)
#define HRESULT_FROM_WIN32(x)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR)
LPWSTR WINAPI CharUpperW(_Inout_ LPWSTR)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free