非常感谢大家的关注!!!不过还是期盼着高手的到来!!! (200分)

  • 主题发起人 主题发起人 HD_Copy
  • 开始时间 开始时间
很多东西也许直到了以后更容易碰到,唉!今天打开收藏夹无意中点了这个不知道什么时候收藏的连接。
发现了下面这段话……
http://netez.com/2xExplorer/shellFAQ/bas_xplore2.html
To enumerate a folder via COM, you need an IShellFolder pointer to the folder object you're after.
We've seen a sketch of how to obtain this interface by parsing a path name in the previous section.
The next step is to ask the object to enumerate itself using its EnumObjects method,
which creates a new object which exposes an IEnumIDList interface.
This enumerator object has the contents we are after, as a collection of local PIDLs,
one for each item in the folder.
 
后退
顶部