Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef UTILITY_H
#define UTILITY_H
#define ResultFromDWORD(dw) ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, dw))
//
// pidl utility functions
//
LPCITEMIDLIST SearchPidlByType( LPCITEMIDLIST pidl, DWORD dwPidlType );
DWORD GetLastPidlType( LPCITEMIDLIST pidl );
PST_KEY GetLastPidlKeyType( LPCITEMIDLIST pidl );
GUID * GetLastPidlGuid( LPCITEMIDLIST pidl );
LPCWSTR GetLastPidlText( LPCITEMIDLIST pidl );
LPCWSTR GetPidlText( LPCITEMIDLIST pidl );
GUID * GetPidlGuid( LPCITEMIDLIST pidl );
DWORD GetPidlType( LPCITEMIDLIST pidl );
PST_KEY GetPidlKeyType( LPCITEMIDLIST pidl );
LPCITEMIDLIST GetPidlNextItem( LPCITEMIDLIST );
UINT GetPidlSize( LPCITEMIDLIST );
LPITEMIDLIST CopyPidl( LPMALLOC, LPCITEMIDLIST );
LPITEMIDLIST CopyCatPidl( LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2 );
VOID FreePidl( LPITEMIDLIST pidl );
#endif // UTILITY_H
|