Leaked source code of windows server 2003
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.
 
 
 
 
 
 

32 lines
940 B

#ifndef CIconTask_h
#define CIconTask_h
#include <runtask.h>
typedef void (*PFNICONTASKBALLBACK)(LPVOID pvData, UINT uId, UINT iIconIndex);
class CIconTask : public CRunnableTask
{
public:
// IRunnableTask methods (override)
virtual STDMETHODIMP RunInitRT(void);
CIconTask(LPITEMIDLIST pidl, PFNICONTASKBALLBACK pfn, LPVOID pvData, UINT uId);
private:
virtual ~CIconTask();
LPITEMIDLIST _pidl;
PFNICONTASKBALLBACK _pfn;
LPVOID _pvData;
UINT _uId;
};
// NOTE: If you pass NULL for psf and pidlFolder, you must pass a full pidl which
// the API takes ownership of. (This is an optimization) lamadio - 7.28.98
HRESULT AddIconTask(IShellTaskScheduler* pts, IShellFolder* psf, LPCITEMIDLIST pidlFolder,
LPCITEMIDLIST pidl, PFNICONTASKBALLBACK pfn, LPVOID pvData, UINT uId,
int* piTempIcon);
#endif