shell32: Get rid of a local typedef for a struct.
This commit is contained in:
parent
8d1fc3b486
commit
d81f55fae6
|
@ -36,20 +36,19 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
|
|
||||||
typedef struct tagENUMLIST
|
struct enumlist
|
||||||
{
|
{
|
||||||
struct tagENUMLIST *pNext;
|
struct enumlist *pNext;
|
||||||
LPITEMIDLIST pidl;
|
LPITEMIDLIST pidl;
|
||||||
|
};
|
||||||
} ENUMLIST, *LPENUMLIST;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
IEnumIDList IEnumIDList_iface;
|
IEnumIDList IEnumIDList_iface;
|
||||||
LONG ref;
|
LONG ref;
|
||||||
LPENUMLIST mpFirst;
|
struct enumlist *mpFirst;
|
||||||
LPENUMLIST mpLast;
|
struct enumlist *mpLast;
|
||||||
LPENUMLIST mpCurrent;
|
struct enumlist *mpCurrent;
|
||||||
|
|
||||||
} IEnumIDListImpl;
|
} IEnumIDListImpl;
|
||||||
|
|
||||||
|
@ -62,14 +61,14 @@ BOOL AddToEnumList(
|
||||||
{
|
{
|
||||||
IEnumIDListImpl *This = (IEnumIDListImpl *)iface;
|
IEnumIDListImpl *This = (IEnumIDListImpl *)iface;
|
||||||
|
|
||||||
LPENUMLIST pNew;
|
struct enumlist *pNew;
|
||||||
|
|
||||||
TRACE("(%p)->(pidl=%p)\n",This,pidl);
|
TRACE("(%p)->(pidl=%p)\n",This,pidl);
|
||||||
|
|
||||||
if (!iface || !pidl)
|
if (!iface || !pidl)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
pNew = SHAlloc(sizeof(ENUMLIST));
|
pNew = SHAlloc(sizeof(*pNew));
|
||||||
if(pNew)
|
if(pNew)
|
||||||
{
|
{
|
||||||
/*set the next pointer */
|
/*set the next pointer */
|
||||||
|
@ -164,7 +163,7 @@ BOOL CreateFolderEnumList(
|
||||||
|
|
||||||
static BOOL DeleteList(IEnumIDListImpl *This)
|
static BOOL DeleteList(IEnumIDListImpl *This)
|
||||||
{
|
{
|
||||||
LPENUMLIST pDelete;
|
struct enumlist *pDelete;
|
||||||
|
|
||||||
TRACE("(%p)->()\n",This);
|
TRACE("(%p)->()\n",This);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue