27 return pidl && pidl->mkid.cb >= 3 ? pidl->mkid.abID[0] : 0;
33 return (
type & PT_FOLDERTYPEMASK) == PT_FS ?
type : 0;
55 return ( !pidl || (pidl && pidl->mkid.cb == 0x00) );
61 if(pidl && pidl->mkid.cb != 0x00)
211 return &(
pdata->u.guid.guid);
232 if (szOut)
lstrcpynA(szOut,
"Desktop", uOutSize);
237 if (szOut)
lstrcpynA(szOut, szSrc, uOutSize);
244 if (szOut)
lstrcpynA(szOut, tmp, uOutSize);
249 sprintf( szOut,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
266 MESSAGE (
"-------- pidl=NULL (Desktop)\n");
270 MESSAGE (
"-------- pidl=%p\n", pidl);
271 if (pidltemp->mkid.cb)
286 dwAttrib =
pData->u.file.uFileAttribs;
288 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
289 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
303 dwAttrib =
pData->u.file.uFileAttribs;
305 MESSAGE (
"[%p] size=%04u type=%x attr=0x%08x name=%s (%s,%s)\n",
306 pidltemp, pidltemp->mkid.cb,
type, dwAttrib,
312 }
while (pidltemp && pidltemp->mkid.cb);
316 MESSAGE (
"empty pidl (Desktop)\n");
338 const unsigned char *
p = (
const unsigned char *)pidl;
339 const int max_bytes = 0x80;
365 while( pidltemp && pidltemp->mkid.cb )
395 ERR(
"unknown IDLIST %p [%p] size=%u type=%x\n",
396 pidl, pidltemp, pidltemp->mkid.cb,
type );
416 {IID_IShellView,
"IID_IShellView"},
417 {IID_IOleCommandTarget,
"IID_IOleCommandTarget"},
418 {IID_IDropTarget,
"IID_IDropTarget"},
419 {IID_IDropSource,
"IID_IDropSource"},
421 {IID_IContextMenu,
"IID_IContextMenu"},
422 {IID_IShellExtInit,
"IID_IShellExtInit"},
423 {IID_IShellFolder,
"IID_IShellFolder"},
424 {IID_IShellFolder2,
"IID_IShellFolder2"},
426 {IID_IPersistFolder,
"IID_IPersistFolder"},
427 {IID_IPersistFolder2,
"IID_IPersistFolder2"},
428 {IID_IPersistFolder3,
"IID_IPersistFolder3"},
429 {IID_IExtractIconA,
"IID_IExtractIconA"},
430 {IID_IExtractIconW,
"IID_IExtractIconW"},
432 {IID_IAutoComplete,
"IID_IAutoComplete"},
433 {IID_IAutoComplete2,
"IID_IAutoComplete2"},
434 {IID_IShellLinkA,
"IID_IShellLinkA"},
435 {IID_IShellLinkW,
"IID_IShellLinkW"},
444 if (!
id)
return "(null)";
454 return wine_dbg_sprintf(
"\n\t{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x} (%s)",
455 id->Data1,
id->Data2,
id->Data3,
456 id->Data4[0],
id->Data4[1],
id->Data4[2],
id->Data4[3],
457 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 LPWSTR _dbg_ILGetSTextPointerW(LPCITEMIDLIST pidl)
static BOOL _dbg_ILIsDesktop(LPCITEMIDLIST pidl)
static void pdump_impl(LPCITEMIDLIST pidl)
static LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl)
static const struct @556 InterfaceDesc[]
const char * shdebugstr_guid(const struct _GUID *id)
static BYTE _dbg_ILGetType(LPCITEMIDLIST pidl)
static LPITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
static void dump_pidl_hex(LPCITEMIDLIST pidl)
static BYTE _dbg_ILGetFSType(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