44 return ( !pidl || (pidl && pidl->mkid.cb == 0x00) );
50 if(pidl && pidl->mkid.cb != 0x00)
200 return &(
pdata->u.guid.guid);
221 if (szOut)
lstrcpynA(szOut,
"Desktop", uOutSize);
226 if (szOut)
lstrcpynA(szOut, szSrc, uOutSize);
233 if (szOut)
lstrcpynA(szOut, tmp, uOutSize);
238 sprintf( szOut,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
256 MESSAGE (
"-------- pidl=NULL (Desktop)\n");
260 MESSAGE (
"-------- pidl=%p\n", pidl);
261 if (pidltemp->mkid.cb)
276 dwAttrib =
pData->u.file.uFileAttribs;
278 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
279 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
293 dwAttrib =
pData->u.file.uFileAttribs;
295 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
296 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
302 }
while (pidltemp && pidltemp->mkid.cb);
306 MESSAGE (
"empty pidl (Desktop)\n");
314 const unsigned char *
p = (
const unsigned char *)pidl;
315 const int max_bytes = 0x80;
316 #define max_line 0x10 341 while( pidltemp && pidltemp->mkid.cb )
371 ERR(
"unknown IDLIST %p [%p] size=%u type=%x\n",
372 pidl, pidltemp, pidltemp->mkid.cb,
type );
386 static const struct {
392 {IID_IShellView,
"IID_IShellView"},
393 {IID_IOleCommandTarget,
"IID_IOleCommandTarget"},
394 {IID_IDropTarget,
"IID_IDropTarget"},
395 {IID_IDropSource,
"IID_IDropSource"},
397 {IID_IContextMenu,
"IID_IContextMenu"},
398 {IID_IShellExtInit,
"IID_IShellExtInit"},
399 {IID_IShellFolder,
"IID_IShellFolder"},
400 {IID_IShellFolder2,
"IID_IShellFolder2"},
402 {IID_IPersistFolder,
"IID_IPersistFolder"},
403 {IID_IPersistFolder2,
"IID_IPersistFolder2"},
404 {IID_IPersistFolder3,
"IID_IPersistFolder3"},
405 {IID_IExtractIconA,
"IID_IExtractIconA"},
406 {IID_IExtractIconW,
"IID_IExtractIconW"},
408 {IID_IAutoComplete,
"IID_IAutoComplete"},
409 {IID_IAutoComplete2,
"IID_IAutoComplete2"},
410 {IID_IShellLinkA,
"IID_IShellLinkA"},
411 {IID_IShellLinkW,
"IID_IShellLinkW"},
420 if (!
id)
return "(null)";
430 return wine_dbg_sprintf(
"\n\t{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x} (%s)",
431 id->Data1,
id->Data2,
id->Data3,
432 id->Data4[0],
id->Data4[1],
id->Data4[2],
id->Data4[3],
433 id->Data4[4],
id->Data4[5],
id->Data4[6],
id->Data4[7],
name ?
name :
"unknown" );
static BOOL _dbg_ILIsDesktop(LPCITEMIDLIST pidl)
static LPPIDLDATA _dbg_ILGetDataPointer(LPCITEMIDLIST pidl)
const GUID IID_IViewObject
LPPIDLDATA _ILGetDataPointer(LPCITEMIDLIST pidl)
#define WideCharToMultiByte
ACPI_SIZE strlen(const char *String)
WINE_DEFAULT_DEBUG_CHANNEL(pidl)
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
const char * shdebugstr_guid(const struct _GUID *id)
const GUID IID_IDataObject
static const struct @531 InterfaceDesc[]
static LPWSTR _dbg_ILGetTextPointerW(LPCITEMIDLIST pidl)
const char * wine_dbg_sprintf(const char *format,...)
#define sprintf(buf, format,...)
BOOL _ILIsUnicode(LPCITEMIDLIST pidl)
static PROTOCOLDATA * pdata
static void _dbg_ILSimpleGetText(LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize)
static IID * _dbg_ILGetGUIDPointer(LPCITEMIDLIST pidl)
BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len)
static LPITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
static LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl)
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
void pdump(LPCITEMIDLIST pidl)
BOOL pcheck(LPCITEMIDLIST pidl)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
static LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl)
static const WCHAR szName[]
static LPWSTR _dbg_ILGetSTextPointerW(LPCITEMIDLIST pidl)
GLuint GLuint GLsizei GLenum type
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
const GUID IID_IClassFactory
ITEMIDLIST UNALIGNED * LPITEMIDLIST
#define IsEqualIID(riid1, riid2)
static void dump_pidl_hex(LPCITEMIDLIST pidl)