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}",
255 MESSAGE (
"-------- pidl=NULL (Desktop)\n");
259 MESSAGE (
"-------- pidl=%p\n", pidl);
260 if (pidltemp->mkid.cb)
275 dwAttrib =
pData->u.file.uFileAttribs;
277 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
278 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
292 dwAttrib =
pData->u.file.uFileAttribs;
294 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
295 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
301 }
while (pidltemp && pidltemp->mkid.cb);
305 MESSAGE (
"empty pidl (Desktop)\n");
327 const unsigned char *
p = (
const unsigned char *)pidl;
328 const int max_bytes = 0x80;
329 #define max_line 0x10 354 while( pidltemp && pidltemp->mkid.cb )
384 ERR(
"unknown IDLIST %p [%p] size=%u type=%x\n",
385 pidl, pidltemp, pidltemp->mkid.cb,
type );
399 static const struct {
405 {IID_IShellView,
"IID_IShellView"},
406 {IID_IOleCommandTarget,
"IID_IOleCommandTarget"},
407 {IID_IDropTarget,
"IID_IDropTarget"},
408 {IID_IDropSource,
"IID_IDropSource"},
410 {IID_IContextMenu,
"IID_IContextMenu"},
411 {IID_IShellExtInit,
"IID_IShellExtInit"},
412 {IID_IShellFolder,
"IID_IShellFolder"},
413 {IID_IShellFolder2,
"IID_IShellFolder2"},
415 {IID_IPersistFolder,
"IID_IPersistFolder"},
416 {IID_IPersistFolder2,
"IID_IPersistFolder2"},
417 {IID_IPersistFolder3,
"IID_IPersistFolder3"},
418 {IID_IExtractIconA,
"IID_IExtractIconA"},
419 {IID_IExtractIconW,
"IID_IExtractIconW"},
421 {IID_IAutoComplete,
"IID_IAutoComplete"},
422 {IID_IAutoComplete2,
"IID_IAutoComplete2"},
423 {IID_IShellLinkA,
"IID_IShellLinkA"},
424 {IID_IShellLinkW,
"IID_IShellLinkW"},
433 if (!
id)
return "(null)";
443 return wine_dbg_sprintf(
"\n\t{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x} (%s)",
444 id->Data1,
id->Data2,
id->Data3,
445 id->Data4[0],
id->Data4[1],
id->Data4[2],
id->Data4[3],
446 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)
static const WCHAR szName[]
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 LPWSTR _dbg_ILGetTextPointerW(LPCITEMIDLIST pidl)
const char * wine_dbg_sprintf(const char *format,...)
#define sprintf(buf, format,...)
void pdump_always(LPCITEMIDLIST pidl)
BOOL _ILIsUnicode(LPCITEMIDLIST pidl)
static PROTOCOLDATA * pdata
static void _dbg_ILSimpleGetText(LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize)
static IID * _dbg_ILGetGUIDPointer(LPCITEMIDLIST pidl)
static void pdump_impl(LPCITEMIDLIST pidl)
BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len)
static LPITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
static LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl)
static const struct @536 InterfaceDesc[]
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 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)