shell32: Implement ILIsEmpty.

This commit is contained in:
Jay Yang 2011-06-23 14:56:09 -04:00 committed by Alexandre Julliard
parent a0afd4cbd9
commit 583641bc9d
1 changed files with 5 additions and 0 deletions

View File

@ -1696,6 +1696,11 @@ HRESULT WINAPI ILLoadFromStream(LPSTREAM,LPITEMIDLIST*);
BOOL WINAPI ILRemoveLastID(LPITEMIDLIST);
HRESULT WINAPI ILSaveToStream(LPSTREAM,LPCITEMIDLIST);
static inline BOOL ILIsEmpty(LPCITEMIDLIST pidl)
{
return !(pidl && pidl->mkid.cb);
}
#include <poppack.h>