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;
354 while( pidltemp && pidltemp->mkid.cb )
385 ERR(
"unknown IDLIST %p [%p] size=%u type=%x\n",
386 pidl, pidltemp, pidltemp->mkid.cb,
type );
406 {IID_IShellView,
"IID_IShellView"},
407 {IID_IOleCommandTarget,
"IID_IOleCommandTarget"},
408 {IID_IDropTarget,
"IID_IDropTarget"},
409 {IID_IDropSource,
"IID_IDropSource"},
411 {IID_IContextMenu,
"IID_IContextMenu"},
412 {IID_IShellExtInit,
"IID_IShellExtInit"},
413 {IID_IShellFolder,
"IID_IShellFolder"},
414 {IID_IShellFolder2,
"IID_IShellFolder2"},
416 {IID_IPersistFolder,
"IID_IPersistFolder"},
417 {IID_IPersistFolder2,
"IID_IPersistFolder2"},
418 {IID_IPersistFolder3,
"IID_IPersistFolder3"},
419 {IID_IExtractIconA,
"IID_IExtractIconA"},
420 {IID_IExtractIconW,
"IID_IExtractIconW"},
422 {IID_IAutoComplete,
"IID_IAutoComplete"},
423 {IID_IAutoComplete2,
"IID_IAutoComplete2"},
424 {IID_IShellLinkA,
"IID_IShellLinkA"},
425 {IID_IShellLinkW,
"IID_IShellLinkW"},
434 if (!
id)
return "(null)";
444 return wine_dbg_sprintf(
"\n\t{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x} (%s)",
445 id->Data1,
id->Data2,
id->Data3,
446 id->Data4[0],
id->Data4[1],
id->Data4[2],
id->Data4[3],
447 id->Data4[4],
id->Data4[5],
id->Data4[6],
id->Data4[7],
name ?
name :
"unknown" );
ACPI_SIZE strlen(const char *String)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IClassFactory
static void _dbg_ILSimpleGetText(LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize)
void pdump_always(LPCITEMIDLIST pidl)
static LPPIDLDATA _dbg_ILGetDataPointer(LPCITEMIDLIST pidl)
void pdump(LPCITEMIDLIST pidl)
static IID * _dbg_ILGetGUIDPointer(LPCITEMIDLIST pidl)
static LPWSTR _dbg_ILGetTextPointerW(LPCITEMIDLIST pidl)
static LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl)
static const struct @540 InterfaceDesc[]
static LPWSTR _dbg_ILGetSTextPointerW(LPCITEMIDLIST pidl)
static BOOL _dbg_ILIsDesktop(LPCITEMIDLIST pidl)
static void pdump_impl(LPCITEMIDLIST pidl)
static LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl)
const char * shdebugstr_guid(const struct _GUID *id)
static LPITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
static void dump_pidl_hex(LPCITEMIDLIST pidl)
BOOL pcheck(LPCITEMIDLIST pidl)
const char * wine_dbg_sprintf(const char *format,...)
#define WideCharToMultiByte
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 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
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define sprintf(buf, format,...)
static PROTOCOLDATA * pdata
const GUID IID_IViewObject
const GUID IID_IDataObject
BOOL _ILIsUnicode(LPCITEMIDLIST pidl)
LPPIDLDATA _ILGetDataPointer(LPCITEMIDLIST pidl)
static const WCHAR szName[]
#define IsEqualIID(riid1, riid2)
BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData