那里有关于IShellChangeNotify::OnChange的实例代码,跪谢!! 讲解IShellChangeNotify的内容网页,小弟深表感谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 STDMETHODIMP CMyShellChangeNotify::OnChange(LONG lEvent, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2){ HRESULT hr = E_FAIL; int iImage; switch(lEvent) { // An image in the system image list has changed. case SHCNE_UPDATEIMAGE: { hr = S_OK; if (pidl2) iImage = SHHandleUpdateImage(pidl2); else iImage = *(int UNALIGNED *)((BYTE *)pidl1 + 2); if (iImage != -1) { // Process iImage as desired. } break; } // Other cases } return hr;}http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shhandleupdateimage.asp 谁有RAS开发包, 我少个ras32.lib,或者那里有?谢谢 请问如何获取IE里的代理设置的信息? 在ActiveX控件中使用多线程后Fire事件的问题 关于多线程的问题 定义的排斥区数量和什么有关? 求助:使用系统钩子截获所有键盘、鼠标消息 新手问题:请指教下面的这段动画程序错在那里? 请问哪里有微软的计算器源代码下载! 关于COMBO BOX的显示排序 如何获得datagrid的当前行? activex控件如何取得本IE窗口的SESSION和COOKIE啊。。。 怎样做一个弹出式菜单?
LPCITEMIDLIST pidl1,
LPCITEMIDLIST pidl2)
{
HRESULT hr = E_FAIL;
int iImage; switch(lEvent)
{
// An image in the system image list has changed.
case SHCNE_UPDATEIMAGE:
{
hr = S_OK; if (pidl2)
iImage = SHHandleUpdateImage(pidl2);
else
iImage = *(int UNALIGNED *)((BYTE *)pidl1 + 2);
if (iImage != -1)
{
// Process iImage as desired.
}
break;
}
// Other cases
}
return hr;
}
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shhandleupdateimage.asp